:root {
    --primary: #008071;
    --primary-dark: #006B5E;
    --primary-light: #26A69A;
    --accent: #4CAF50;
    --accent-dark: #388E3C;
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;
    --dark: #0F172A;
    --dark-secondary: #1E293B;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #008071 0%, #26A69A 50%, #4DB6AC 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 128, 113, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar .logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
}

.navbar .logo span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .logo span {
    color: var(--dark);
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.938rem;
    transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
    color: var(--gray);
}

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

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

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.navbar.scrolled .nav-cta {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta:hover {
    background: var(--primary-dark) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--dark);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 128, 113, 0.15);
    border: 1px solid rgba(0, 128, 113, 0.3);
    color: var(--primary-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

.hero p {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 128, 113, 0.4);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 113, 0.5);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat .number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat .label {
    font-size: 0.813rem;
    color: var(--gray-light);
    margin-top: 4px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 570px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-glow), 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup .screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #111;
}

.phone-mockup .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-mockup .notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 18px 18px;
    z-index: 5;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 15%;
    right: -40px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -50px;
    animation-delay: 3s;
}

.floating-card .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-card .icon-circle.green {
    background: var(--gradient-accent);
}

.floating-card .icon-circle.teal {
    background: var(--gradient-primary);
}

.floating-card .card-label {
    font-size: 0.75rem;
    color: var(--gray-light);
}

.floating-card .card-value {
    font-size: 0.938rem;
    font-weight: 700;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ─── Features ─── */
.features {
    padding: 120px 0;
    background: var(--light);
}

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

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 128, 113, 0.08);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--white);
}

.feature-icon.teal {
    background: var(--gradient-primary);
}

.feature-icon.green {
    background: var(--gradient-accent);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #2196F3, #42A5F5);
}

.feature-icon.orange {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
}

.feature-icon.pink {
    background: linear-gradient(135deg, #EC4899, #F472B6);
}

.feature-icon.red {
    background: linear-gradient(135deg, #F44336, #EF5350);
}

.feature-card h3 {
    font-size: 1.188rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.938rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ─── Screenshots ─── */
.screenshots {
    padding: 120px 0;
    background: var(--white);
}

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

.screenshots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 40px;
    scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 260px;
    scroll-snap-align: start;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.screenshot-item img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* ─── CTA Section ─── */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 128, 113, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-store i {
    font-size: 1.75rem;
}

.btn-store .store-text {
    text-align: left;
}

.btn-store .store-text small {
    display: block;
    font-size: 0.688rem;
    color: var(--gray-light);
    font-weight: 400;
}

.btn-store .store-text span {
    display: block;
    font-size: 1.063rem;
    font-weight: 600;
}

/* ─── Footer ─── */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 350px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-brand .logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
}

.footer-brand .logo span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer h4 {
    color: var(--white);
    font-size: 0.938rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.938rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.813rem;
}

.footer-bottom a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.813rem;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ─── Legal Page Styles ─── */
.legal-hero {
    background: var(--gradient-dark);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 128, 113, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.legal-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.legal-hero p {
    color: var(--gray-light);
    font-size: 1.063rem;
}

.legal-content {
    padding: 80px 0 120px;
}

.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 128, 113, 0.15);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--dark);
}

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

    .hero-content {
        padding: 140px 0 40px;
    }

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

    .hero p {
        margin: 0 auto 40px;
    }

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

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

    .hero-visual {
        padding: 0 0 80px;
    }

    .floating-card.card-1 {
        right: -20px;
    }

    .floating-card.card-2 {
        left: -20px;
    }

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

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

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

    .mobile-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 16px 16px;
    }

    .nav-links.active a {
        color: var(--dark) !important;
    }

    .nav-links.active .nav-cta {
        background: var(--primary) !important;
        color: var(--white) !important;
        text-align: center;
        border-color: var(--primary) !important;
    }

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

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .number {
        font-size: 1.375rem;
    }

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

    .phone-mockup {
        width: 240px;
        height: 490px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

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

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

    .legal-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }

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

    .btn-store {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .screenshot-item {
        flex: 0 0 220px;
    }

    .screenshot-item img {
        height: 440px;
    }
}