/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #eff6ff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f1f5f9;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #eff6ff 0%, white 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature-icon.blue { background: #dbeafe; }
.feature-icon.green { background: #d1fae5; }
.feature-icon.purple { background: #e9d5ff; }
.feature-icon.orange { background: #fed7aa; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
}

/* How it Works */
.how-it-works {
    background: var(--bg-light);
}

.steps {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
}

.cta-center {
    text-align: center;
}

/* Guides */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s;
}

.guide-card:hover {
    box-shadow: var(--shadow-lg);
}

.guide-image {
    height: 200px;
}

.blue-gradient { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.green-gradient { background: linear-gradient(135deg, #34d399, #10b981); }
.purple-gradient { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.orange-gradient { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

.guide-content {
    padding: 1.5rem;
}

.guide-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.guide-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: #dbeafe;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer p,
.footer ul {
    color: #94a3b8;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Page Header */
.page-header {
    padding: 130px 0 60px;
    background: linear-gradient(135deg, #eff6ff 0%, white 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Detailed Features */
.feature-detail {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-detail.reverse {
    flex-direction: row-reverse;
}

.feature-detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0;
}

.feature-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-detail-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.feature-detail-content ul {
    list-style: none;
}

.feature-detail-content ul li {
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 1.125rem;
}

/* Guides Section */
.guides-section {
    background: var(--bg-light);
}

.guides-list {
    max-width: 900px;
    margin: 0 auto;
}

.guide-item {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.guide-info {
    padding: 2rem;
}

.guide-category {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.guide-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.guide-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.guide-points {
    list-style: none;
    margin-bottom: 1.5rem;
}

.guide-points li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.link-button {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.link-button:hover {
    border-bottom-color: var(--primary);
}

/* App Spotlight Section */
.app-spotlight {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.app-spotlight-content {
    max-width: 700px;
    margin: 0 auto;
}

.app-spotlight h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.app-spotlight p {
    font-size: 1.25rem;
    color: #dbeafe;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Resources Section */
.resources-section {
    background: var(--bg-light);
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    position: relative;
}

.resource-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-right: 4rem;
}

.resource-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.resource-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.resource-features li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.btn-resource {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-resource:hover {
    background: var(--primary-dark);
}

.resources-note {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #f59e0b;
}

.resources-note p {
    color: #92400e;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-detail {
        flex-direction: column !important;
        text-align: center;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .features-grid,
    .guides-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}