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

:root {
    --primary-blue: #4A90E2;
    --light-blue: #6BB3FF;
    --primary-green: #50C878;
    --light-green: #7DD87F;
    --black-primary: #212121; /* Colors.black87 equivalent */
    --text-dark: #212121;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-gray: #f5f5f5;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(74, 144, 226, 0.2));
    transition: all 0.3s ease;
}

.logo-image:hover {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(74, 144, 226, 0.4));
}

.footer-logo {
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

.nav-links a:hover {
    color: var(--black-primary);
}

.nav-links .btn-primary {
    background: var(--black-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
}

.nav-links .btn-primary:hover {
    background: #000000;
    transform: translateY(-1px);
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-logo-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    animation: heroLogoFadeIn 1s ease-out;
    position: relative;
}

.hero-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 3s ease-in-out infinite;
    z-index: 0;
}

.hero-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    animation: heroLogoAnimation 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(74, 144, 226, 0.4));
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-logo:hover {
    animation-play-state: paused;
    filter: drop-shadow(0 12px 30px rgba(74, 144, 226, 0.5));
    transform: scale(1.05);
}

@keyframes heroLogoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroLogoAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: -1;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    min-width: 180px;
}

.btn-primary {
    background: var(--black-primary);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: white;
    color: var(--black-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-gray);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background: transparent;
    color: var(--black-primary);
    border: 1.5px solid var(--black-primary);
}

.btn-outline:hover {
    background: var(--black-primary);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--text-gray);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: white;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--black-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    background: var(--bg-light);
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto;
}

.benefits-list {
    list-style: none;
    margin-top: 48px;
}

.benefits-list li {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: white;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(4px);
    border-color: var(--text-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.benefits-list li strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.benefits-list li p {
    color: var(--text-gray);
    line-height: 1.6;
}

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

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 64px 0 32px;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section .logo {
    margin-bottom: 16px;
}

.footer-section .logo-text {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section .logo {
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-logo {
        height: 80px;
    }

    .hero-logo-container::before {
        width: 140px;
        height: 140px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
    }

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

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

    .step-number {
        margin: 0 auto;
    }

    .benefits-list li {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
    }

    .hero-stats {
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        height: 60px;
    }

    .hero-logo-container::before {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    .feature-card,
    .benefits-list li {
        padding: 24px;
    }
}

