/* ============================================
   NutorIQ - One Page Site
   Theme sampled from app icon & screenshots
   ============================================ */

:root {
    --primary: #3DA856;
    --primary-dark: #2E8B44;
    --primary-light: #5BC47A;
    --deep-green: #2D5016;
    --accent: #F5963D;
    --accent-light: #FFB166;
    --mint: #E8F5E0;
    --mint-light: #F4FAEF;
    --cream: #FFFAF2;
    --text: #1F2D1A;
    --text-soft: #4F5C4A;
    --text-muted: #7A8773;
    --border: #E4ECDC;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(45, 80, 22, 0.06);
    --shadow-md: 0 10px 30px rgba(45, 80, 22, 0.10);
    --shadow-lg: 0 24px 60px rgba(45, 80, 22, 0.15);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--deep-green);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    background: var(--mint);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

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

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-head p {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-top: 12px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(61, 168, 86, 0.28);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(61, 168, 86, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============ STORE BADGES ============ */
.store-badge {
    display: inline-block;
    transition: transform .25s var(--ease);
}
.store-badge svg {
    width: 160px;
    height: auto;
    display: block;
    border-radius: 8px;
}
.store-badge:hover { transform: translateY(-3px); }

/* ============ HEADER / NAV ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: all .25s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}
.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--deep-green);
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--deep-green);
    transition: all .25s var(--ease);
}

/* ============ HERO ============ */
.hero {
    padding: 140px 0 80px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(61, 168, 86, 0.08), transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(245, 150, 61, 0.06), transparent 50%),
        linear-gradient(180deg, var(--mint-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 10%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(61, 168, 86, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-copy h1 {
    margin: 16px 0 24px;
}
.hero-sub {
    font-size: 1.125rem;
    color: var(--text-soft);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}
.hero-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.95rem;
}
.hero-points li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--primary) 0%, var(--primary-light) 50%, transparent 70%);
    opacity: 0.22;
    border-radius: 48% 52% 55% 45% / 50% 48% 52% 50%;
    animation: blobFloat 8s ease-in-out infinite;
    filter: blur(4px);
}
.hero-screenshot {
    position: relative;
    max-width: 340px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(45, 80, 22, 0.22));
    animation: floatY 6s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10px, 20px) scale(1.05); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ============ HIGHLIGHTS BAR ============ */
.highlights {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
}
.highlight-icon {
    width: 54px; height: 54px;
    background: var(--mint);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.highlight-item strong {
    display: block;
    color: var(--deep-green);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
}
.highlight-item span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ============ WHY SECTION ============ */
.why-section {
    padding: 100px 0;
    background: var(--mint-light);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all .3s var(--ease);
    position: relative;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.why-card.featured {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
}
.why-card.featured h3,
.why-card.featured p { color: var(--white); }
.why-card.featured p { opacity: 0.92; }
.why-icon {
    width: 64px; height: 64px;
    background: var(--mint);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.why-card.featured .why-icon {
    background: rgba(255, 255, 255, 0.2);
}
.why-card h3 { margin-bottom: 12px; }
.why-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* ============ SHOWCASE ============ */
.showcase {
    padding: 100px 0;
    background: var(--white);
}
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-image { order: 1; }

.row-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(245, 150, 61, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.showcase-text h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 16px;
}
.showcase-text p {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 20px;
}
.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.showcase-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
    font-size: 0.95rem;
}
.showcase-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(61, 168, 86, 0.15);
}
.showcase-list li::after {
    content: '';
    position: absolute;
    left: 4px; top: 11px;
    width: 5px; height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.showcase-image {
    display: flex;
    justify-content: center;
    position: relative;
}
.showcase-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--mint) 0%, transparent 60%);
    z-index: 0;
}
.showcase-image img {
    max-width: 300px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(45, 80, 22, 0.18));
    transition: transform .4s var(--ease);
}
.showcase-image img:hover { transform: translateY(-10px) scale(1.02); }

/* ============ GALLERY ============ */
.gallery-section {
    padding: 100px 0;
    background: var(--mint-light);
    overflow: hidden;
}
.gallery-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
.gallery-track {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    width: max-content;
}
.gallery-item {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: center;
    text-align: center;
    cursor: pointer;
    transition: transform .3s var(--ease);
}
.gallery-item:hover { transform: translateY(-6px); }
.gallery-item img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    transition: box-shadow .3s var(--ease);
}
.gallery-item:hover img { box-shadow: var(--shadow-lg); }
.gallery-item figcaption {
    margin-top: 14px;
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--deep-green);
    font-size: 0.95rem;
}

/* ============ FEATURES GRID ============ */
.features-grid-section {
    padding: 100px 0;
    background: var(--white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-cell {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: all .25s var(--ease);
}
.feature-cell:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.f-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    margin: 0 auto 14px;
    background: var(--mint);
    border-radius: 14px;
    font-size: 1.5rem;
}
.feature-cell strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--deep-green);
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.feature-cell em {
    display: block;
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============ PRICING ============ */
.pricing-section {
    padding: 100px 0;
    background: var(--mint-light);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 32px;
}
.price-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    position: relative;
    transition: all .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.price-card.popular {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.price-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.price-card.popular h3,
.price-card.popular .price .amount,
.price-card.popular .price .period,
.price-card.popular ul li { color: var(--white); }
.price-card.popular ul li::before { background: var(--white); }
.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(245, 150, 61, 0.4);
}
.price-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.price .amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--deep-green);
    line-height: 1;
}
.price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.price-card ul {
    margin-bottom: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.price-card ul li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.price-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
}
.price-card ul li::after {
    content: '';
    position: absolute;
    left: 3px; top: 9px;
    width: 4px; height: 7px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.price-card .btn {
    width: 100%;
}
.price-card.popular .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.price-card.popular .btn-primary:hover {
    background: var(--cream);
    color: var(--primary-dark);
}
.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ============ DOWNLOAD CTA ============ */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-green) 0%, #1E3A10 100%);
    position: relative;
    overflow: hidden;
}
.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(61, 168, 86, 0.25), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 150, 61, 0.15), transparent 50%);
    pointer-events: none;
}
.download-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.download-text h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.download-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 480px;
}
.download-image {
    display: flex;
    justify-content: center;
}
.download-image img {
    max-width: 280px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
    transform: rotate(-4deg);
    transition: transform .4s var(--ease);
}
.download-image img:hover { transform: rotate(0deg) scale(1.03); }

/* ============ CONTACT ============ */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-copy h2 { margin-bottom: 14px; }
.contact-copy p {
    color: var(--text-soft);
    margin-bottom: 32px;
    font-size: 1rem;
}
.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-meta > div {
    padding: 18px 22px;
    background: var(--mint-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}
.contact-meta strong {
    display: block;
    font-family: var(--font-head);
    color: var(--deep-green);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.contact-meta a, .contact-meta span {
    color: var(--text);
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.contact-form {
    background: var(--mint-light);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.field {
    margin-bottom: 20px;
}
.field label {
    display: block;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--deep-green);
    margin-bottom: 8px;
}
.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: all .2s var(--ease);
    resize: vertical;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(61, 168, 86, 0.12);
}
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-feedback {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}
.form-feedback.success {
    display: block;
    background: rgba(61, 168, 86, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(61, 168, 86, 0.3);
}
.form-feedback.error {
    display: block;
    background: rgba(220, 60, 60, 0.08);
    color: #B33030;
    border: 1px solid rgba(220, 60, 60, 0.2);
}

/* ============ FOOTER ============ */
.site-footer {
    background: #0F1E08;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.7;
}
.footer-col h4,
.footer-download h4 {
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: color .2s var(--ease);
    overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-badges .store-badge svg { width: 150px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 8, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.lightbox.active {
    display: flex;
    animation: fadeIn .2s var(--ease);
}
.lightbox img {
    max-width: 360px;
    max-height: 90vh;
    width: auto;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-download { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 72px; right: -100%;
        width: 280px;
        max-width: 85%;
        height: calc(100vh - 72px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 32px 28px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: right .3s var(--ease);
    }
    .main-nav.open { right: 0; }
    .main-nav .btn { width: 100%; }

    .hero { padding: 120px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { order: 2; }
    .hero-visual { order: 1; }
    .hero-sub, .hero-points { max-width: none; }
    .hero-points { align-items: center; }
    .hero-cta { justify-content: center; }
    .hero-blob { width: 320px; height: 320px; }
    .hero-screenshot { max-width: 260px; }

    .highlights-grid { grid-template-columns: 1fr; gap: 18px; }

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

    .showcase-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }
    .showcase-row.reverse .showcase-text { order: 2; }
    .showcase-row.reverse .showcase-image { order: 1; }
    .showcase-image img { max-width: 250px; }

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

    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-6px); }

    .download-grid { grid-template-columns: 1fr; text-align: center; }
    .download-text .hero-cta { justify-content: center; }
    .download-text p { margin-left: auto; margin-right: auto; }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand, .footer-download { grid-column: 1 / -1; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .why-card, .contact-form { padding: 28px 22px; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase { padding: 70px 0; }
    .why-section, .gallery-section, .features-grid-section, .pricing-section, .contact-section, .download-cta {
        padding: 70px 0;
    }
    .gallery-item { width: 200px; }
    .store-badge svg { width: 140px; }

    /* Stack the footer into a single column so nothing is clipped on phones. */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
