:root {
    --primary: #8aa498;
    --primary-light: #adc2b8;
    --secondary: #5a7d70;
    --background: #fdfdfd;
    --surface: #ffffff;
    --text: #1a1a1a;
    --text-muted: #666666;
    --accent: #ffa502;
    --radius: 20px;
    --radius-lg: 40px;
    --container: 1100px;
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

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

.highlight {
    color: var(--primary);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

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

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

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #7a9488;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f0f0f0;
    color: var(--text);
}

.btn-secondary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.btn-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    box-shadow: 0 4px 15px rgba(138, 164, 152, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-app:hover {
    background: #7a9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 164, 152, 0.4);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: radial-gradient(circle at top right, #f2f6f4, transparent 40%),
        radial-gradient(circle at bottom left, #ecf1ef, transparent 40%);
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

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

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 640px;
    background: #000;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    background: #000;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; /* or 10% */
}

/* Features */
.features {
    padding: 8rem 0;
}

.feature-card {
    padding: 3rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(138, 164, 152, 0.1);
    border-color: var(--primary-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
}

/* New Sections */
.themes-section,
.planner-section,
.notes-section,
.lock-section,
.sync-section {
    padding: 8rem 0;
}

.grey-bg {
    background: #f8f9fa;
}

.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.reverse .hero-content {
    order: 2;
}

.reverse .hero-mockup {
    order: 1;
}

.theme-dots {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dot.sage {
    background: #8aa498;
}

.dot.dark {
    background: #2d3436;
}

.dot.blue {
    background: #0984e3;
}

.dot.cyan {
    background: #00cec9;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.notes-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.mini-feature {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Screenshots Section */
.screenshots-section {
    padding: 8rem 0;
    background: #fafafa;
    overflow: hidden;
}

.screenshots-container {
    margin-top: 4rem;
    position: relative;
}

.screenshot-track {
    display: flex;
    gap: 1.75rem;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.gallery-frame {
    width: 210px;
    height: 430px;
    background: #000;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #ddd;
}

.gallery-frame .screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-210px * 9 - 1.75rem * 9));
    }
}



/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f2f6f4 0%, #fff 100%);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid #f0f0f0;
}

.logo-center {
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .hero-mockup {
        margin-top: 3rem;
    }

    .nav-links {
        display: none;
    }
}
