/*=============================================
  AKADSUCI Landing Page - Mobile-First Rework
  Base: iPhone 375px, scales up to desktop
  Principle: NO SCROLL per slide, viewport-fit
=============================================*/

/*=============================================
  CSS Variables & Base Reset
=============================================*/
:root {
    --primary: #deefe5;
    --secondary: #749383;
    --tertiary: #cea271;
    --base: #ffffff;
    --text-dark: #2c3e35;
    --text-light: #5b7165;
    --white: #ffffff;

    /* Font Families */
    --font-heading: 'Noto Serif Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Safe Zone Heights (mobile navbar & footer) */
    --nav-h: 52px;
    --footer-h: 32px;

    /* Safe Area (iOS notch) */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html,
body {
    position: relative;
    height: 100%;
    height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    overflow: hidden;
}

body {
    background-color: var(--base);
    color: var(--text-dark);
    line-height: 1.5;
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/*=============================================
  Typography - Mobile First
=============================================*/
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.15;
    font-weight: 400;
}

/* Noto Serif Display Italic/Bold Combos */
h1 em,
h2 em,
h3 em,
p em,
.logo em {
    font-style: italic;
    font-weight: 400;
}

h1 strong,
h2 strong,
h3 strong,
p strong,
.logo strong {
    font-weight: 700;
}

h1 strong em,
h2 strong em,
h3 strong em,
p strong em,
.logo strong em {
    font-style: italic;
    font-weight: 700;
}

/* Mobile base sizes */
h1 {
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

h2 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

h4 {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
}

p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    max-width: 100%;
}

p.subtitle {
    font-size: 0.82rem;
    font-weight: 300;
    margin: 0 auto 0.5rem auto;
}

.logo {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Color Utilities */
.text-center {
    text-align: center;
}

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

.text-white {
    color: var(--white) !important;
}

.text-white h1,
.text-white h2,
.text-white p,
.text-white h4,
.text-white strong {
    color: var(--white);
}

.text-tertiary {
    color: var(--tertiary);
}

.brand-highlight {
    color: var(--tertiary);
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.w-full {
    width: 100%;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

/*=============================================
  Particles Background
=============================================*/
#tsparticles {
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/*=============================================
  Swiper Layout - Mobile First
=============================================*/
.swiper {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 10;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Safe zone padding: navbar top, footer bottom */
    padding: calc(var(--nav-h) + var(--safe-top) + 8px) 16px calc(var(--footer-h) + var(--safe-bottom) + 8px) 16px;
    height: 100vh;
    height: 100dvh;
}

/* Slide Backgrounds */
.slide-bg-base {
    background-color: var(--base);
}

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

.slide-bg-secondary {
    background-color: var(--secondary);
}

/* Swiper Pagination - Vertical Dots (right side) */
.swiper-pagination.swiper-pagination-horizontal {
    bottom: auto !important;
    top: 50% !important;
    left: auto !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    opacity: 0.3;
    transition: transform 0.3s ease, background 0.3s ease;
    margin: 0 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary);
    transform: scale(1.4);
}

/* Content Wrapper */
.slide-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Fill available space between nav and footer */
    flex: 1;
    justify-content: center;
    min-height: 0;
}

/*=============================================
  Buttons - Mobile First
=============================================*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-body);
    text-decoration: none;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(116, 147, 131, 0.3);
}

.btn-tertiary {
    background-color: var(--tertiary);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(206, 162, 113, 0.3);
}

/* Global Button Shape Override */
.btn,
.btn-choose,
.btn-preview,
button[type="submit"] {
    border-radius: 50px !important;
}

/* Global Form Font Inheritance */
button,
input,
select,
textarea {
    font-family: inherit;
}

/*=============================================
  Badge Component
=============================================*/
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background-color: var(--white);
    color: var(--tertiary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/*=============================================
  Navigation Overlay (Navbar)
=============================================*/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.15rem;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-action-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--secondary);
}

.hero-bottom-menu {
    position: absolute;
    bottom: calc(var(--footer-h) + 2rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    z-index: 10;
}

.hero-bottom-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    opacity: 0.65;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.hero-bottom-menu a:hover {
    opacity: 1;
}

.hero-bottom-menu a:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -0.9rem;
    color: rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    pointer-events: none;
}

/*=============================================
  Footer Overlay
=============================================*/
.footer-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    padding: 0.5rem 16px;
    pointer-events: none;
}

#footer-links-container {
    display: inline-flex;
    gap: 0.75rem;
    font-size: 0.65rem;
    color: var(--text-light);
    pointer-events: auto;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/*=============================================
  Overlay Theme Controls (Dark BG Slides)
=============================================*/
body.theme-dark-bg .navbar .logo a,
body.theme-dark-bg .hero-bottom-menu a,
body.theme-dark-bg .nav-action-icon {
    color: var(--white) !important;
    opacity: 0.9;
}

body.theme-dark-bg .nav-action-icon {
    border-color: rgba(255, 255, 255, 0.2);
}

body.theme-dark-bg .nav-action-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.theme-dark-bg .hero-bottom-menu a:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.3) !important;
}

body.theme-dark-bg .navbar {
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

body.theme-dark-bg .footer-link,
body.theme-dark-bg #footer-links-container {
    color: var(--white) !important;
    opacity: 0.8;
}

body.theme-dark-bg .navbar .btn-primary {
    background-color: var(--white) !important;
    color: var(--secondary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/*=============================================
  Slide 1: Welcome / Hero
=============================================*/
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 5%, rgba(255, 255, 255, 0.85) 25%, #fdfdfd 45%);
}

.hero-cta-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary), #5b7165);
    box-shadow: 0 8px 20px rgba(116, 147, 131, 0.4);
    border: none;
    color: white;
}

/*=============================================
  Slide 2: Color Palette Box
=============================================*/
.color-palette-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 0 0.5rem;
    max-width: fit-content;
    margin: 0.6rem auto 1rem auto;
    box-shadow: 0 8px 32px rgba(116, 147, 131, 0.1);
}

.color-swatch-row {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.5rem 0.3rem;
    /* padding inside scroll area prevents shadow clipping */
}

.color-swatch-row::-webkit-scrollbar {
    display: none;
}

.color-swatch-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.color-swatch-dot:hover {
    transform: scale(1.15);
}

.color-swatch-dot.active {
    transform: scale(1.15);
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-color: var(--secondary);
}

/*=============================================
  Slide 2: Style Pills
=============================================*/
.style-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    max-width: 360px;
    margin: 0 auto;
}

.style-pill {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 16px rgba(116, 147, 131, 0.1);
}

.style-pill i {
    color: var(--tertiary);
    font-size: 0.85rem;
}

.style-pill:hover,
.style-pill.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(116, 147, 131, 0.2);
}

/*=============================================
  Slide 3: Template Grid (Scrollable)
=============================================*/
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0.5rem;
    padding-bottom: 2rem;
    max-height: 42dvh;
    overflow-y: auto;
    width: 100%;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 1rem, black calc(100% - 2rem), transparent);
    mask-image: linear-gradient(to bottom, transparent, black 1rem, black calc(100% - 2rem), transparent);
}

.template-grid::-webkit-scrollbar {
    display: none;
}

.template-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.template-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background-color: var(--primary);
}

.template-info {
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.template-info h4 {
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-dark);
}

.template-info .tier-badge {
    background: var(--primary);
    color: var(--secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.4rem;
    width: fit-content;
}

.template-actions {
    display: flex;
    gap: 0.3rem;
    margin-top: auto;
}

.btn-choose {
    background: var(--tertiary);
    color: var(--white);
    padding: 0.3rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex: 1;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.btn-choose:hover {
    background: #b58d60;
}

.btn-preview {
    background: var(--primary);
    color: var(--secondary);
    padding: 0.3rem;
    border: none;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-preview:hover {
    background: #c3ddd0;
}

/* Scroll Hint Capsule */
.scroll-hint-capsule {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
    opacity: 1;
}

.scroll-hint-hidden {
    opacity: 0 !important;
}

/*=============================================
  Slide 4: Pricing Bento Layout
=============================================*/
.pricing-bento-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0;
}

.pricing-info-card {
    background: transparent;
    padding: 0.4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-features-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.7rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-tag {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--tertiary);
    margin: 0.2rem 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.features-pill-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    width: 100%;
    max-height: 16dvh;
    overflow-y: auto;
    padding: 0.3rem;
    padding-bottom: 2rem;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 0.5rem, black calc(100% - 2rem), transparent);
    mask-image: linear-gradient(to bottom, transparent, black 0.5rem, black calc(100% - 2rem), transparent);
}

.features-pill-container::-webkit-scrollbar {
    display: none;
}

.feature-pill-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.feature-pill-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Method Cards (Buat Sendiri / Terima Jadi) */
.method-card {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.method-card.active {
    background: rgba(116, 147, 131, 0.2);
    border-color: var(--tertiary);
}

.method-card i {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.method-card-title {
    font-size: 0.75rem;
    font-weight: 600;
}

.method-card-sub {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.1rem;
}

.terima-jadi-opt {
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    text-align: left;
}

/*=============================================
  Slide 5: Auth / Login Split Layout
=============================================*/
.split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

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

.visual-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(116, 147, 131, 0.15);
    border: 1px solid var(--primary);
    width: 100%;
}

.login-box h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 0.35rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.15rem;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.72rem;
}

.input-group input {
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background-color: #fafdfc;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(116, 147, 131, 0.15);
}

.full-width {
    width: 100%;
}

.highlight-link {
    color: var(--tertiary);
    font-weight: 500;
}

.highlight-link:hover {
    text-decoration: underline;
}

/* WhatsApp Button */
.terima-jadi-btn {
    background-color: #25D366;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.terima-jadi-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/*=============================================
  TABLET (min-width: 600px)
=============================================*/
@media (min-width: 600px) {
    :root {
        --nav-h: 56px;
        --footer-h: 36px;
    }

    h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p,
    p.subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
        margin-bottom: 0.6rem;
    }

    .logo {
        font-size: 1.7rem;
    }

    .swiper-slide {
        padding: calc(var(--nav-h) + 12px) 24px calc(var(--footer-h) + 12px) 24px;
    }

    .slide-content {
        max-width: 600px;
    }

    /* Color Swatches */
    .color-swatch-row {
        gap: 0.7rem;
        max-width: 400px;
        padding: 0.6rem 0.4rem;
    }

    .color-swatch-dot {
        width: 38px;
        height: 38px;
    }

    /* Style Pills */
    .style-pills {
        max-width: 460px;
        gap: 0.8rem;
    }

    .style-pill {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .style-pill i {
        font-size: 0.95rem;
    }

    /* Templates */
    .template-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
        max-height: 50dvh;
    }

    /* Pricing */
    .pricing-bento-container {
        gap: 0.6rem;
    }

    .pricing-features-card {
        padding: 1rem;
    }

    .features-pill-container {
        max-height: 22dvh;
        gap: 0.4rem;
    }

    .feature-pill-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.7rem;
    }

    .price-tag {
        font-size: 2rem;
    }

    /* Auth */
    .login-box {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .login-box h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .input-group label {
        font-size: 0.8rem;
    }

    .input-group input {
        padding: 0.55rem 0.9rem;
        font-size: 0.85rem;
    }
}

/*=============================================
  DESKTOP (min-width: 1024px)
=============================================*/
@media (min-width: 1024px) {
    :root {
        --nav-h: 64px;
        --footer-h: 40px;
    }

    h1 {
        font-size: clamp(2.8rem, 5vw, 4rem);
        margin-bottom: 0.8rem;
    }

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

    h3 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin-bottom: 0.6rem;
    }

    p {
        font-size: 1.05rem;
        margin-bottom: 1rem;
        max-width: 600px;
    }

    p.subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.1rem;
        margin-bottom: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .swiper-slide {
        padding: calc(var(--nav-h) + 16px) 48px calc(var(--footer-h) + 16px) 48px;
    }

    /* Swiper pagination push right */
    .swiper-pagination.swiper-pagination-horizontal {
        right: 20px !important;
        gap: 8px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    /* Navbar desktop */
    .nav-container {
        padding: 1rem 5%;
        max-width: 1400px;
    }

    .slide-content {
        max-width: 1100px;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .btn-sm {
        padding: 0.5rem 1.3rem;
        font-size: 0.9rem;
    }

    .hero-cta-btn {
        font-size: 1.05rem;
        padding: 0.9rem 2.5rem;
    }

    /* Color Swatches Desktop */
    .color-swatch-row {
        gap: 1rem;
        max-width: 600px;
        padding: 0.75rem 0.5rem;
    }

    .color-swatch-dot {
        width: 44px;
        height: 44px;
        border-width: 3.5px;
    }

    /* Style Pills Desktop */
    .style-pills {
        grid-template-columns: repeat(4, 1fr);
        max-width: 650px;
        gap: 1rem;
    }

    .style-pill {
        padding: 0.8rem 1.6rem;
        font-size: 0.95rem;
        border-radius: 50px;
    }

    .style-pill i {
        font-size: 1.1rem;
    }

    /* Templates Desktop */
    .template-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-height: 52dvh;
        padding: 1rem;
    }

    .template-info h4 {
        font-size: 0.9rem;
    }

    .template-info .tier-badge {
        font-size: 0.7rem;
    }

    .btn-choose {
        font-size: 0.8rem;
        padding: 0.4rem;
    }

    .btn-preview {
        font-size: 0.8rem;
        padding: 0.4rem;
    }

    /* Pricing Desktop: Side-by-side */
    .pricing-bento-container {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .pricing-info-card {
        flex: 1;
        padding: 1.5rem;
        align-items: flex-start;
        text-align: left;
    }

    .pricing-features-card {
        flex: 1.5;
        padding: 1.5rem;
        border-radius: 24px;
    }

    .price-tag {
        font-size: clamp(2.2rem, 4vw, 3rem);
        margin: 0.5rem 0;
    }

    .features-pill-container {
        max-height: 42dvh;
        gap: 0.5rem;
    }

    .feature-pill-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    /* Auth Desktop: split layout */
    .split-layout {
        flex-direction: row;
        gap: 3rem;
        text-align: left;
    }

    .text-content {
        flex: 1;
        text-align: left;
    }

    .visual-content {
        flex: 1;
        align-items: center;
    }

    .login-container {
        max-width: 450px;
    }

    .login-box {
        padding: 2rem;
        border-radius: 24px;
    }

    .login-box h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .input-group {
        margin-bottom: 0.5rem;
    }

    .input-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .input-group input {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
}

/*=============================================
  Landscape & Short Screen Fallback
=============================================*/
@media (max-height: 600px) {
    h1 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }

    h2 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    p,
    p.subtitle {
        font-size: 0.72rem;
        margin-bottom: 0.3rem;
    }

    .badge {
        margin-bottom: 0.2rem;
        padding: 0.2rem 0.6rem;
        font-size: 0.6rem;
    }

    .swiper-slide {
        padding-top: calc(40px + var(--safe-top)) !important;
        padding-bottom: calc(28px + var(--safe-bottom)) !important;
    }

    .category-grid {
        gap: 0.4rem;
        max-width: 260px;
    }

    .category-card {
        padding: 0.5rem 0.3rem;
    }

    .category-card i {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .category-card span {
        font-size: 0.68rem;
    }

    .template-grid {
        max-height: 35dvh;
    }

    .features-pill-container {
        max-height: 12dvh;
    }

    .price-tag {
        font-size: 1.4rem;
        margin: 0.1rem 0;
    }

    .login-box {
        padding: 0.7rem;
    }

    .login-box h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .input-group input {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/*=============================================
  Utility: Interaction feedback
=============================================*/
.interact-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interact-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.interact-btn:active {
    transform: translateY(0) scale(0.98);
}