@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --primary-color: #99CC00;
    --primary-dark: #7aa300;
    --primary-light: #b8e600;
    --secondary-color: #88bb00;
    --accent-color: #6b9900;
    --text-dark: #1d1d1f;
    --text-light: #6e6e73;
    --text-secondary: #86868b;
    --bg-light: #fbfbfd;
    --white: #ffffff;
    --footer-bg: #f5f5f7;
    --gradient: linear-gradient(135deg, #7aa300 0%, #99CC00 50%, #b8e600 100%);
    --gradient-soft: linear-gradient(135deg, #88bb00 0%, #99CC00 100%);
    --gradient-vibrant: linear-gradient(135deg, #6b9900 0%, #99CC00 50%, #CCFF00 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-green: 0 10px 30px rgba(153, 204, 0, 0.25);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-dark: #f5f5f7;
    --text-light: #a1a1a6;
    --text-secondary: #86868b;
    --bg-light: #1d1d1f;
    --white: #000000;
    --footer-bg: #161616;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-green: 0 10px 30px rgba(153, 204, 0, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(28, 28, 30, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
}

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

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

.logo-icon {
    font-size: 2rem;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer .logo-icon-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}

.feature-icon svg {
    color: #99CC00;
    width: 48px;
    height: 48px;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(153, 204, 0, 0.3));
}

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

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

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

.btn-nav {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    box-shadow: var(--shadow-green);
}

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

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 12px;
    min-width: 180px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

[data-theme="dark"] .dropdown-menu {
    background: rgba(28, 28, 30, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 0.9375rem;
}

.dropdown-menu a:hover {
    background: rgba(153, 204, 0, 0.1);
    color: var(--primary-color);
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
}

.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    background: var(--footer-bg);
    box-shadow: var(--shadow-md);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle svg {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

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

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    box-shadow: 0 2px 8px rgba(153, 204, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(153, 204, 0, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary-color);
    padding: 0.875rem 1.75rem;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    border: 1.5px solid var(--primary-color);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.02);
}

.apple-icon {
    width: 24px;
    height: 24px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-soft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Phone Mockup / App Screenshot */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 40px;
    animation: float 3s ease-in-out infinite;
    display: block;
    filter: drop-shadow(0 15px 35px rgba(153, 204, 0, 0.25)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@keyframes float {

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

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

.phone-frame {
    width: 300px;
    height: 600px;
    background: var(--text-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.sticker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.sticker {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-md);
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.3125rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.3125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.0625rem;
    letter-spacing: -0.005em;
}

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

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

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(153, 204, 0, 0.25);
}

.step-title {
    font-size: 1.3125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.0625rem;
    letter-spacing: -0.005em;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta {
    background: linear-gradient(180deg, #1d1d1f 0%, #2d2d2f 100%);
    color: #f5f5f7;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(153, 204, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

[data-theme="dark"] .cta::before {
    background: radial-gradient(circle, rgba(153, 204, 0, 0.2) 0%, transparent 70%);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 230, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

[data-theme="dark"] .cta::after {
    background: radial-gradient(circle, rgba(184, 230, 0, 0.15) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: #1d1d1f;
}

[data-theme="dark"] .cta-title {
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.3125rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .cta-subtitle {
    color: #a1a1a6;
}

.btn-large {
    font-size: 1.125rem;
    padding: 1rem 2.25rem;
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(153, 204, 0, 0.3);
}

.btn-large:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(153, 204, 0, 0.4);
}

[data-theme="dark"] .btn-large {
    box-shadow: 0 4px 16px rgba(153, 204, 0, 0.5);
}

[data-theme="dark"] .btn-large:hover {
    box-shadow: 0 8px 24px rgba(153, 204, 0, 0.6);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--text-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer .logo {
    color: var(--text-dark);
    font-weight: 600;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-description {
    color: var(--text-light);
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 0.9375rem;
    letter-spacing: -0.005em;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    font-size: 0.75rem;
}

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        padding: 2rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transition: left 0.3s ease;
    }

    [data-theme="dark"] .nav-links {
        background: rgba(28, 28, 30, 0.95);
    }

    .nav-links.active {
        left: 0;
    }

    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .dropdown-menu {
        position: relative;
        transform: none;
        margin-top: 0.5rem;
        margin-left: 0;
        width: 90%;
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        display: none;
        z-index: 10;
    }

    [data-theme="dark"] .dropdown-menu {
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        display: block;
        padding: 0.75rem 1.25rem;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-image {
        order: -1;
    }

    .app-screenshot {
        max-width: 280px;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .steps {
        flex-direction: column;
        gap: 2rem;
    }

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

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

    .cta-title {
        font-size: 2.25rem;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .app-screenshot {
        max-width: 240px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .sticker {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
}