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

:root {
    --primary-green: #2ECC71;
    --primary-green-dark: #27AE60;
    --primary-green-light: #58D68D;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gradient: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    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.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 16px 0;
    overflow: visible;
}

.navbar .container {
    overflow: visible;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-mark {
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 1;
    min-width: 0;
}

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

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

.btn-download {
    background: var(--bg-gradient);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-download:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #E8F8F5 0%, #D5F4E6 50%, #F0F9F4 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.gradient-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.badge svg {
    color: var(--primary-green);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary-green);
    transition: all 0.3s;
}

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

.coming-soon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Hero app screenshot — single wrapper, no fake phone bezel (avoids double borders + halos) */
.hero-device {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    line-height: 0;
    background: #e8f5e9;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.app-screenshot {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(78vh, 640px);
    object-fit: contain;
    object-position: top center;
    /* Trim a few pixels off the PNG: device bezel / dark edge often baked into screenshots */
    -webkit-clip-path: inset(2.5% 2.5% 2.5% 2.5% round 16px);
    clip-path: inset(2.5% 2.5% 2.5% 2.5% round 16px);
    border: none;
    outline: none;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

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

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

.section-header p {
    font-size: 20px;
    color: var(--text-gray);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E8F8F5 0%, #D5F4E6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    margin-bottom: 24px;
}

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

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

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.step-number {
    width: 64px;
    height: 64px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 36px;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.team-photo-wrap {
    flex-shrink: 0;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 22%;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.team-photo--nikhil {
    object-position: center 15%;
}

.team-photo--riya {
    object-position: center 8%;
}

.team-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.team-role {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.team-bio {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

@media (max-width: 768px) {
    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .team-photo {
        width: 140px;
        height: 140px;
    }
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg-gradient);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-content > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.download-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.download-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .nav-links {
        gap: 16px;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

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

    .section-header h2 {
        font-size: 36px;
    }

    .nav-links a:not(.btn-download) {
        display: none;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}
