:root {
    /* Color Palette */
    --primary-green: #3A5F56;
    --primary-green-rgb: 58, 95, 86;
    --accent-green: #4a7a6e;
    --background-dark: #000000;
    --text-light: #f9f8f4;
    --white: #ffffff;
    --primary: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(30, 30, 30, 0.6);
    --glass-bg: rgba(15, 15, 15, 0.7);
    --border-radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --layout-h-padding: 10%;
    --layout-max-width: 1200px;
    --section-padding: 80px var(--layout-h-padding);
}

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

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

section {
    scroll-margin-top: 100px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.store-badge {
    display: inline-block;
    height: 52px;
    width: auto;
    transition: var(--transition);
}

.store-badge img {
    height: 100%;
    width: auto;
    display: block;
}

.store-badge:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    justify-content: flex-end;
    /* Align badges at the bottom */
}

.coming-soon[style*="opacity: 0"] {
    /* Keeps the height for symmetry but hides it from view */
    visibility: hidden !important;
    display: block !important;
}

.coming-soon {
    font-size: 0.55rem;
    /* Even smaller */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-green);
    margin-bottom: 2px;
    font-weight: 700;
    opacity: 0.8;
    line-height: 1;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.section-header p {
    color: #cdced0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* ===== SCROLL BLUR ===== */
.scroll-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2 * var(--layout-h-padding));
    max-width: var(--layout-max-width);
    z-index: 1100;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1110;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.nav-store-btns {
    display: flex;
    gap: 10px;
}

.nav-badge {
    height: 36px;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px var(--layout-h-padding) 40px;
    text-align: left;
    background: radial-gradient(circle at center, rgba(58, 95, 86, 0.15) 0%, var(--background-dark) 70%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 20px;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 650px;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--white);
}

.hero h1 .accent {
    color: var(--accent-green);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #cdced0;
    max-width: 600px;
    margin: 0 0 30px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.user-chips {
    display: flex;
    align-items: center;
}

.user-chips img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--background-dark);
    margin-left: -12px;
    transition: var(--transition);
}

.user-chips img:first-child {
    margin-left: 0;
}

.user-chips img:hover {
    transform: translateY(-3px);
    z-index: 10;
}

.social-proof-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-proof-stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-proof-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: flex-end;
}

/* Hero Mockup */
.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-group {
    display: flex;
    justify-content: center;
    gap: -30px;
    perspective: 1000px;
}

.mockup-container {
    position: relative;
    width: clamp(140px, 11vw, 220px);
    transition: transform 0.3s ease;
}

.mockup-left {
    transform: rotate(-8deg) translateX(20px);
}

.mockup-middle {
    transform: translateY(-30px);
    z-index: 3;
}

.mockup-right {
    transform: rotate(8deg) translateX(-20px) translateY(10px);
    z-index: 2;
}

.mockup-img {
    width: 100%;
    border-radius: 40px;
    border: 8px solid #1a1a1a;
    box-shadow:
        0 0 0 2px #fff,
        0 0 15px rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(255, 255, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #000;
    transition: all 0.4s ease;
}

.mockup-img:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 0 2px #fff,
        0 0 20px rgba(255, 255, 255, 0.3),
        0 15px 40px rgba(255, 255, 255, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ===== IPHONE 17 PRO FRAME ===== */
.phone-frame {
    position: relative;
    display: block;
    border-radius: 46px;
    background: #050505;
    border: 8px solid #1e1e20;
    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 20px 50px rgba(0, 0, 0, 0.65),
        0 8px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Dynamic Island */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    max-width: 80px;
    height: 22px;
    background: #000;
    border-radius: 100px;
    z-index: 10;
}

/* Home Indicator */
.phone-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    max-width: 90px;
    height: 4px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    z-index: 10;
}

.phone-frame img {
    width: 100%;
    display: block;
    border-radius: 0;
    border: none !important;
    box-shadow: none !important;
    background: #000;
    transition: all 0.4s ease;
}

.feature-screenshot .phone-frame:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 25px 60px rgba(0, 0, 0, 0.75),
        0 0 30px rgba(255, 255, 255, 0.08);
}

/* ===== FEATURES ===== */
#features {
    padding: var(--section-padding);
    background-color: var(--background-dark);
}

.feature-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-screenshot {
    flex: 0 0 250px;
}

.feature-screenshot img {
    width: 100%;
    display: block;
    background: #000;
}

.feature-content {
    flex: 1;
}

.feature-tag {
    display: inline-block;
    background: rgba(74, 122, 110, 0.15);
    border: 1px solid rgba(74, 122, 110, 0.4);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.feature-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 15px;
}

.feature-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--accent-green);
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-content .body {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #cdced0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.stat-callout {
    background: rgba(58, 95, 86, 0.1);
    border-left: 4px solid var(--accent-green);
    padding: 20px 25px;
    border-radius: 12px;
}

.stat-callout .stat-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 8px;
}

.stat-callout .stat-source {
    font-size: 0.85rem;
    color: #a0a0a0;
    font-style: italic;
}

.feature-btns {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    align-items: flex-end;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background-color: #000;
}

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

.testimonial-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(58, 95, 86, 0.3);
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(4) {
    animation-delay: 0.25s;
}

.testimonial-card:nth-child(5) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(6) {
    animation-delay: 0.35s;
}

.testimonial-card:nth-child(7) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(8) {
    animation-delay: 0.45s;
}

.testimonial-card:nth-child(9) {
    animation-delay: 0.5s;
}

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

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

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-location {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.premium-badge {
    background: linear-gradient(135deg, rgba(58, 95, 86, 0.3), rgba(74, 122, 110, 0.3));
    border: 1px solid var(--accent-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.testimonial-text {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1rem;
}

.testimonials-footer {
    text-align: center;
    margin-top: 50px;
}

.testimonials-footer p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* ===== GALLERY ===== */
#gallery {
    padding: var(--section-padding);
    overflow: hidden;
    background-color: var(--background-dark);
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    padding: 40px 0;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 280px;
    border-radius: 54px;
    overflow: visible;
    box-shadow: none;
    transition: var(--transition);
    scroll-snap-align: center;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    display: block;
    background: #000;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--background-dark);
}

.cta-inner {
    padding: 80px 40px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(58, 95, 86, 0.1), rgba(5, 5, 5, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin: 0 auto;
    max-width: 900px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    /* Clean white gradient */
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: flex-end;
}

/* ===== Blogs ===== */
#blogs {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--white);
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
}

.blog-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Abstract Background Shapes ===== */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(30deg);
    }
}


.read-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

/* ===== Comments Section ===== */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--white);
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.05);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comment-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 700;
    color: var(--white);
}

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

.comment-text {
    line-height: 1.6;
    color: var(--text-light);
}

/* ===== Pagination ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    padding: 0 16px;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000000;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    color: var(--text-secondary);
    padding: 0 8px;
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 0;
    text-align: center;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

/* Large tablets & small desktops (1024px) */
@media (max-width: 1024px) {
    :root {
        --layout-h-padding: 6%;
        --section-padding: 80px var(--layout-h-padding);
    }

    .feature-block {
        gap: 40px;
        margin-bottom: 80px;
    }

    .feature-screenshot {
        flex: 0 0 220px;
    }
}

/* Tablets (900px) */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        gap: 50px;
        padding-top: 30px;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .user-chips {
        display: none;
    }

    .social-proof-content {
        align-items: center;
    }

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

    .hero-mockup {
        width: 100%;
    }

    .mockup-container {
        width: clamp(160px, 30vw, 240px);
    }

    /* Feature blocks stack on tablet */
    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .feature-screenshot {
        flex: 0 0 auto;
        width: 200px;
        margin: 0 auto;
    }

    .feature-content {
        max-width: 600px;
        margin: 0 auto;
    }

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

    .stat-callout {
        text-align: left;
    }
}

/* Small tablets (768px) */
@media (max-width: 768px) {
    :root {
        --layout-h-padding: 5%;
        --section-padding: 60px var(--layout-h-padding);
    }

    /* Mobile nav */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--background-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1050;
        padding: 100px 40px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.5rem;
        opacity: 0.8;
        transition: var(--transition);
    }

    .nav-link:hover {
        opacity: 1;
        color: var(--accent-green);
    }

    .nav-cta {
        font-size: 1rem;
        padding: 16px 40px;
        margin-top: 10px;
    }

    /* Hamburger to X animation */
    .menu-toggle {
        z-index: 1060;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        padding: 0 10px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Gallery */
    .gallery-item {
        flex: 0 0 220px;
    }

    /* CTA */
    .cta {
        padding: 60px 5%;
    }

    .cta-btns {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 15px !important;
        /* Space between the two button sets */
        width: 100%;
        margin-top: 25px;
    }

    .cta-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Feature blocks */
    .feature-block {
        margin-bottom: 60px;
    }

    .feature-screenshot {
        width: 180px;
    }

    .feature-content h3 {
        font-size: 1.4rem;
    }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
    .navbar {
        top: 10px;
        width: 94%;
        padding: 10px 16px;
        border-radius: 16px;
    }

    .logo span {
        font-size: 1.3rem;
    }

    .logo img {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-container {
        padding-top: 20px;
        padding-bottom: 40px;
        gap: 40px;
    }

    .hero-social-proof {
        justify-content: center;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        gap: 10px;
    }

    .hero-btns .badge-container {
        align-items: center;
        justify-content: flex-end;
        flex: 0 1 auto;
    }

    .store-badge {
        height: 42px;
    }

    .coming-soon {
        font-size: 0.5rem;
    }

    .hero-btns .btn {
        width: auto;
        min-width: 220px;
        text-align: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .mockup-container {
        width: 140px !important;
    }

    .phone-frame {
        border-radius: 36px;
        border-width: 6px;
    }

    /* Features */
    .feature-screenshot {
        width: 160px;
    }

    .feature-content .body {
        font-size: 0.95rem;
    }

    .stat-callout {
        padding: 15px 18px;
    }

    .stat-callout .stat-text {
        font-size: 0.9rem;
    }

    .feature-btns {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        gap: 10px;
    }

    .feature-btns .badge-container {
        align-items: center;
        justify-content: flex-end;
        flex: 0 1 auto;
    }

    .feature-btns .btn {
        width: auto;
        min-width: 220px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 22px;
    }

    .testimonial-header {
        flex-wrap: wrap;
    }

    .premium-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Gallery */
    .gallery-container {
        gap: 15px;
        padding: 20px 0;
    }

    .gallery-item {
        flex: 0 0 180px;
        border-radius: 24px;
    }

    /* CTA */
    .cta-inner {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .cta-btns {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        gap: 10px;
    }

    .cta-btns .badge-container {
        align-items: center;
    }

    .cta-btns .btn {
        width: auto;
        min-width: 220px;
    }

    /* Footer */
    footer {
        padding: 40px 5%;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Very small phones (360px) */
@media (max-width: 360px) {
    .store-badge {
        height: 36px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .mockup-container {
        width: 120px !important;
    }

    .phone-frame {
        border-radius: 30px;
        border-width: 5px;
    }

    .feature-screenshot {
        width: 140px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .testimonial-card {
        padding: 18px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-container {
        flex-direction: row;
        gap: 30px;
        padding-top: 20px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-btns {
        justify-content: flex-start;
    }

    .mockup-container {
        width: 120px !important;
    }

    .nav-links {
        padding: 60px 20px;
    }

    .nav-link {
        font-size: 1.1rem;
    }
}

/* Large screens (1440px+) */
@media (min-width: 1440px) {
    :root {
        --layout-h-padding: 10%;
        --layout-max-width: 1300px;
        --section-padding: 80px var(--layout-h-padding);
    }

    .feature-block {
        gap: 100px;
    }

    .feature-screenshot {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .cta-inner {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-btns {
        display: flex !important;
        flex-direction: row !important;
        /* Force single row */
        flex-wrap: nowrap !important;
        align-items: flex-end !important;
        justify-content: center !important;
        width: 100%;
        gap: 10px !important;
        margin-top: 25px;
    }

    /* Ensure the badges themselves don't stretch */
    .store-badge {
        height: 42px;
        width: auto;
    }

    /* Centers the "Coming Soon" text relative to the button below it */
    .badge-container {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        flex: 0 1 auto;
    }

    .coming-soon {
        margin-bottom: 5px;
        /* Adds breathing room above the badge */
    }
}

/* 4. Extra narrow phone fix (under 480px) */
@media (max-width: 480px) {
    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
    }
}