/* ===== Variables ===== */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-text: #1a1a1a;
    --color-text-secondary: #666666;
    --color-border: #e5e5e5;
    --color-accent: #BAFFBA;
    --color-accent-dark: #8fcc8f;
    --font-mono: 'IBM Plex Mono', monospace;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

.nav-cta {
    background: var(--color-text);
    color: var(--color-bg) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language Toggle */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text-secondary);
}

.lang-toggle:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.lang-current {
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
}

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

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text);
    background: var(--color-bg-alt);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg-alt);
    border-radius: 100px;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.badge {
    background: var(--color-accent);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(180deg, transparent 50%, var(--color-accent) 50%);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-phone {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--color-text);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

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

/* App Preview */
.app-preview {
    padding: 1rem;
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.app-title {
    font-weight: 600;
    font-size: 1rem;
}

.app-week {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.app-days {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.day-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    border: 1px solid var(--color-border);
}

.day-card.today {
    border-color: var(--color-text);
    background: rgba(186, 255, 186, 0.1);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.day-name {
    font-weight: 600;
    font-size: 0.75rem;
}

.day-date {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
}

.day-count {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--color-text-secondary);
}

.day-todos {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.todo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
}

.todo.completed {
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.checkbox {
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 3px;
    flex-shrink: 0;
}

.checkbox.checked {
    background: var(--color-text);
    border-color: var(--color-text);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 4rem 2rem;
}

.stats-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

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

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-top: 1rem;
}

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

.feature-card {
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ===== Showcase Section ===== */
.showcase {
    background: var(--color-bg-alt);
    padding: 6rem 2rem;
}

.showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.showcase-text p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.showcase-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--color-bg);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    animation: float 4s ease-in-out infinite;
}

.floating-card .fc-day {
    font-weight: 700;
    font-size: 1.1rem;
}

.floating-card .fc-count {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.card-2 { top: 5%; right: 20%; animation-delay: 0.5s; }
.card-3 { top: 40%; left: 25%; animation-delay: 1s; }
.card-4 { top: 50%; right: 10%; animation-delay: 1.5s; }
.card-5 { bottom: 10%; left: 15%; animation-delay: 2s; }

/* ===== PRO Section ===== */
.pro-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pro-tag {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.pro-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pro-feature {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition);
}

.pro-feature:hover {
    transform: translateX(8px);
}

.pro-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pro-feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pro-feature-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 6rem 2rem;
    background: var(--color-bg-alt);
}

.pricing-cards {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 2px solid var(--color-border);
    position: relative;
}

.pricing-card-pro {
    border-color: var(--color-text);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: var(--color-bg);
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.period {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.pricing-trial {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.pricing-features .check {
    width: 20px;
    height: 20px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.pricing-features .check.pro {
    background: var(--color-accent);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ===== Download Section ===== */
.download {
    position: relative;
    padding: 8rem 2rem;
    background: var(--color-text);
    color: var(--color-bg);
    text-align: center;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download .btn-primary {
    background: var(--color-bg);
    color: var(--color-text);
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(186, 255, 186, 0.1) 0%, transparent 50%);
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

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

.footer-column h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--color-accent-dark);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-phone {
        margin-top: 2rem;
    }

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

    .showcase-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-visual {
        height: 300px;
    }

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

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

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

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

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

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-accent);
    z-index: 1001;
    transition: width 0.1s ease;
}
