/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette - Soft, Professional, Education-Friendly */
    --primary-color: #4285f4;
    --primary-light: #5a95f5;
    --primary-dark: #1967d2;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --gradient-start: #4285f4;
    --gradient-end: #34a853;
    --text-dark: #202124;
    --text-medium: #3c4043;
    --text-light: #5f6368;
    --text-lighter: #80868b;
    --bg-light: #f8f9fa;
    --bg-lighter: #fafbfc;
    --bg-white: #ffffff;
    --border-color: #e8eaed;
    --border-light: #f1f3f4;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 32px rgba(66, 133, 244, 0.15);
    --gradient-soft: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(52, 168, 83, 0.1) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--bg-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.25);
    white-space: nowrap;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.35);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.35rem;
    margin-bottom: 48px;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Problem Section */
.problem {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-lighter) 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color);
}

.problem-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    filter: grayscale(0.2);
    transition: transform 0.3s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1rem;
}

/* Features Section */
.features {
    background: var(--bg-lighter);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-white);
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.75rem;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, rgba(232, 240, 254, 0.5) 50%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    opacity: 0.5;
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-weight: 400;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #1a73e8, #34a853, #1a73e8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
}

.step:hover::before {
    opacity: 1;
}

.step-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 28px rgba(66, 133, 244, 0.4);
}

.step-connector {
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    margin-top: 10px;
    margin-bottom: -10px;
    border-radius: 2px;
    opacity: 0.25;
    position: relative;
    z-index: 1;
}

.step:last-child .step-connector {
    display: none;
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-weight: 600;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Trust & Safety Section */
.trust {
    background: var(--bg-white);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.trust-item {
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-lighter);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-soft);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-item:hover::before {
    opacity: 1;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.trust-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Future Features Section */
.future {
    background: linear-gradient(180deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
}

.future-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.future-item {
    background: var(--bg-white);
    padding: 32px 28px;
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.future-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.future-item:hover::before {
    opacity: 0.3;
}

.future-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.future-icon {
    font-size: 2.75rem;
    margin-bottom: 16px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.future-item:hover .future-icon {
    transform: scale(1.15);
    opacity: 1;
}

.future-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.future-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 64px 20px 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 1.5rem;
}

.footer-logo-text {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-trust-badge {
    display: inline-block;
    background: rgba(52, 168, 83, 0.2);
    color: #34a853;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    border: 1px solid rgba(52, 168, 83, 0.3);
}

.footer-trust-text {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    font-style: italic;
    margin-top: 8px !important;
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 24px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }

    .btn-header {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .btn-primary {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 20px;
    }

    .problem-grid,
    .features-grid,
    .trust-content,
    .future-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 28px;
        margin-bottom: 20px;
    }

    .step-number-wrapper {
        margin-bottom: 20px;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-connector {
        display: none;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 12px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav {
        gap: 16px;
        font-size: 0.9rem;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    section {
        padding: 50px 20px;
    }

    .problem-card,
    .feature-card,
    .trust-item,
    .future-item {
        padding: 28px 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
.btn-primary:focus,
a:focus {
    outline: 3px solid rgba(26, 115, 232, 0.5);
    outline-offset: 2px;
}

