:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --dark: #1F2937;
    --dark-lighter: #374151;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --text-main: #4B5563;
    --text-muted: #9CA3AF;
    --gradient-1: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-2: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--dark);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79,70,229,0.1) 0%, rgba(31,41,55,0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #818CF8 0%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Cards / Sections */
.main-content {
    padding: 5rem 0;
    flex-grow: 1;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: var(--light);
}

.card-beginner .card-icon {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}

.card-expert .card-icon {
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
}

.card h2 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.card p {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-2);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

/* Article Styles */
.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.article-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.content-section {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.content-section:nth-child(even) {
    border-left-color: var(--secondary);
}

.content-section h2 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.pearl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pearl-item {
    background: var(--light);
    padding: 2rem;
    border-radius: 0.8rem;
    transition: var(--transition);
}

.pearl-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.pearl-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.strategy-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .strategy-comparison {
        flex-direction: row;
    }
}

.strategy-column {
    flex: 1;
    background: var(--light);
    padding: 2rem;
    border-radius: 0.8rem;
    border-top: 4px solid var(--primary);
}

.strategy-column:last-child {
    border-top-color: var(--secondary);
}

.strategy-column h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--dark);
}

.strategy-column ul {
    list-style-position: inside;
}

.strategy-column li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.strategy-column li:last-child {
    border-bottom: none;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: var(--text-muted);
    padding: 4rem 0 0 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--primary-light);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background: var(--dark-lighter);
    padding: 1.5rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .article-header h1 {
        font-size: 2.2rem;
    }
}
