:root {
    --primary: #1AA97B;
    --primary-dark: #158a63;
    --primary-light: #e8f5f0;
    --accent-orange: #F59E0B;
    --accent-red: #EF4444;
    --bg-dark: #0B1221;
    --bg-dark-secondary: #111827;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #1AA97B 0%, #158a63 100%);
    --gradient-orange: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(26, 169, 123, 0.3);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

.hide-mobile {
    display: inline;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(11, 18, 33, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px rgba(26, 169, 123, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(26, 169, 123, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(26, 169, 123, 0.12) 0%, rgba(0,0,0,0) 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(26, 169, 123, 0.3);
    top: 10%;
    right: 10%;
    animation: floatOrb 15s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.2);
    bottom: 20%;
    left: 5%;
    animation: floatOrb 18s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-150px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(26, 169, 123, 0.1);
    border: 1px solid rgba(26, 169, 123, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.phone-mockup {
    position: relative;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(26, 169, 123, 0.25) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 40px;
    overflow: hidden;
}

.phone-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.deco-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(26, 169, 123, 0.15);
    border-radius: 50%;
    animation: pulseRing 4s ease-out infinite;
}

.deco-ring:nth-child(1) {
    width: 350px;
    height: 350px;
    margin-left: -175px;
    margin-top: -175px;
}

.deco-ring:nth-child(2) {
    width: 450px;
    height: 450px;
    margin-left: -225px;
    margin-top: -225px;
    animation-delay: 1s;
}

.deco-ring:nth-child(3) {
    width: 550px;
    height: 550px;
    margin-left: -275px;
    margin-top: -275px;
    animation-delay: 2s;
}

@keyframes pulseRing {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.preview-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.preview-streak {
    font-size: 13px;
    color: var(--accent-orange);
    font-weight: 600;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.preview-task.completed {
    opacity: 0.5;
    border-color: rgba(26, 169, 123, 0.3);
}

.preview-task.completed span:last-child {
    text-decoration: line-through;
    color: var(--text-tertiary);
}

.task-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
}

.features {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 169, 123, 0.03) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(26, 169, 123, 0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 169, 123, 0.4);
    box-shadow: 0 20px 60px rgba(26, 169, 123, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(26, 169, 123, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.how-it-works {
    padding: 120px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-visual {
    position: relative;
    margin-bottom: 24px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 40px rgba(26, 169, 123, 0.4);
    position: relative;
    z-index: 1;
}

.step::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    z-index: 0;
}

.step:last-child::before {
    display: none;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    color: var(--primary);
    opacity: 0.4;
    flex-shrink: 0;
    margin-top: 30px;
}

.testimonials {
    padding: 120px 0;
    background: var(--bg-dark-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 169, 123, 0.3);
}

.testimonial-avatar {
    font-size: 48px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-stats {
    font-size: 14px;
    color: var(--primary);
}

.cta {
    padding: 140px 0;
    background: linear-gradient(135deg, rgba(26, 169, 123, 0.08) 0%, rgba(26, 169, 123, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(26, 169, 123, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 28px;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 44px;
}

.footer {
    padding: 80px 0 40px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 280px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.download-section {
    padding: 160px 0 120px;
    min-height: 100vh;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-info h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 169, 123, 0.08) 0%, transparent 100%);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 20px;
    color: var(--primary);
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.content-wrapper p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-wrapper ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-wrapper li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2;
    list-style: disc;
}

.content-wrapper li strong {
    color: var(--text-primary);
}

.content-wrapper a {
    color: var(--primary);
}

.content-wrapper a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        align-items: center;
    }

    .hide-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list.mobile-open {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin-top: 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .download-info h2 {
        font-size: 32px;
    }

    .qr-placeholder {
        width: 250px;
        height: 250px;
    }

    .page-header h1 {
        font-size: 36px;
    }
}
