/* ==========================================================================
   FLIPPIC LUXURY PROTOTYPE DESIGN SYSTEM & THEME
   - 1000% faithful to FlipPic_Website_Prototype with luxury enhancements
   - Unified 3D Auth Flip Card (Login / Signup / Email Verification)
   - 3D Folded Featured Ribbon matching atelier brand reference
   ========================================================================== */

:root {
    --navy: #11194c;
    --ink: #141b4e;
    --muted: #65708f;
    --blue: #2868ff;
    --purple: #7c35f4;
    --pink: #ed28b7;
    --cyan: #14c9f4;
    --gold: #ffbf39;
    --line: #e7e9fb;
    --wash: #f7f8ff;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(43, 56, 125, 0.11);
    --shadow-sm: 0 8px 24px rgba(43, 56, 125, 0.06);
    --shadow-lg: 0 24px 64px rgba(43, 56, 125, 0.16);
    --grad: linear-gradient(110deg, #168dff 0%, #6239f5 48%, #ec27b8 82%, #ffb82e 120%);
    --grad-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
    --grad-soft: linear-gradient(135deg, #fbf9ff, #f2f8ff 58%, #fff5fc);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Universal Font Awesome Free fallback for Pro-only fa-sparkles */
.fa-sparkles::before,
.fas.fa-sparkles::before,
.far.fa-sparkles::before {
    content: "\f890" !important; /* fa-wand-magic-sparkles */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body.fp-prototype-body {
    margin: 0;
    background: radial-gradient(ellipse at 4% 12%, #fceaff 0, transparent 28%),
                radial-gradient(ellipse at 92% 24%, #e8f4ff 0, transparent 32%),
                #ffffff;
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

/* Typography Utilities */
.fp-proto-container {
    width: min(1380px, calc(100% - 48px));
    margin-inline: auto;
}

.fp-proto-section {
    padding: 82px 0;
    position: relative;
}

.fp-proto-section.soft {
    background: var(--grad-soft);
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b35e8;
    margin-bottom: 8px;
}

.section-head {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 42px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.1;
    margin: 10px 0 14px;
    color: var(--ink);
    font-weight: 900;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Luxury Buttons */
.btn-proto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.btn-proto:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(98, 57, 245, 0.28);
}

.btn-proto.primary {
    background: var(--grad);
    color: #ffffff;
    box-shadow: 0 9px 22px rgba(115, 59, 250, 0.25);
}

.btn-proto.primary:hover {
    filter: brightness(1.05);
}

.btn-proto.outline {
    border: 1.5px solid #aab5ff;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.btn-proto.outline:hover {
    background: #ffffff;
    border-color: #6239f5;
    color: #6239f5;
}

.btn-proto.small {
    padding: 9px 18px;
    font-size: 0.88rem;
}

/* Pill Badges */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ded9ff;
    background: #f2edff;
    color: #4f39dc;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   NAVIGATION BAR (MATCHING PROTOTYPE LUXURY BLUR)
   ========================================================================== */
.proto-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(231, 234, 255, 0.85);
    transition: all 0.25s ease;
}

.proto-nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.proto-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: unset;
}

.fp-header-logo {
    height: 46px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.fp-header-logo:hover {
    transform: scale(1.02);
}

.fp-header-logo.drawer-logo {
    height: 40px;
    max-width: 155px;
}

.proto-brand-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.proto-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.proto-brand-copy strong {
    font-size: 1.55rem;
    letter-spacing: -0.06em;
    font-weight: 950;
    background: linear-gradient(90deg, #087fff, #a323f4 55%, #ff8b27);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.proto-brand-copy span {
    font-size: 0.68rem;
    color: #3f4774;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.proto-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.92rem;
    font-weight: 700;
}

.proto-nav-links a {
    padding: 8px 0;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.proto-nav-links a:hover {
    color: #7a36f5;
}

.proto-nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.proto-menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 12px;
    padding: 9px 12px;
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION WITH 3D FLOATING ALBUM
   ========================================================================== */
.proto-hero {
    padding: 58px 0 34px;
    overflow: hidden;
}

.proto-hero-grid {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 46px;
    align-items: center;
}

.proto-hero h1 {
    font-size: clamp(2.15rem, 3.8vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 18px 0;
    font-weight: 950;
    color: var(--ink);
    word-break: normal;
    overflow-wrap: break-word;
}

.proto-hero-desc {
    font-size: 1.06rem;
    max-width: 530px;
    color: #5d6688;
    margin: 0 0 22px;
    line-height: 1.6;
}

.proto-hero-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    white-space: normal;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #4338ca;
    font-size: 13.5px;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    max-width: 100%;
    line-height: 1.4;
    box-sizing: border-box;
}

.proto-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.proto-proof-points {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.proto-proof {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proto-proof-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #5736f5;
    background: #f0edff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.proto-proof strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.15;
    color: var(--ink);
    font-weight: 850;
}

.proto-proof small {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
}

.proto-hero-art {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.proto-hero-art:before {
    content: "";
    position: absolute;
    inset: 12% 5% 3%;
    background: linear-gradient(130deg, rgba(111, 103, 255, 0.35), rgba(255, 90, 223, 0.32), rgba(255, 198, 76, 0.35));
    filter: blur(48px);
    border-radius: 50%;
    z-index: 1;
}

.proto-hero-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(39, 45, 122, 0.16));
    border-radius: 20px;
    z-index: 2;
    animation: protoFloat 6s ease-in-out infinite;
}

.proto-orbit-dot {
    position: absolute;
    z-index: 3;
    width: 50px;
    height: 50px;
    right: 5%;
    bottom: 14%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #7732e9;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
    border: 1px solid #ece7ff;
    text-decoration: none;
    animation: protoPulse 2.8s infinite;
}

.proto-hero-art .sparkle {
    position: absolute;
    color: #8b44ff;
    font-size: 2rem;
    top: 4%;
    left: 4%;
    z-index: 3;
    transform: rotate(-18deg);
    animation: protoFloat 4s ease-in-out infinite alternate;
}

/* ==========================================================================
   FEATURED 3D FOLDED RIBBON (MATCHING USER'S SCREENSHOT REFERENCE)
   - 3D Curled folds on left & right
   - Rich purple-to-peach lighting gradient
   - 6 category items with vertical divider lines
   ========================================================================== */
.proto-ribbon-wrap {
    padding: 16px 0 54px;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   FEATURED CATEGORY RIBBON (EXACT 1:1 TO FLIPPIC_WEBSITE_PROTOTYPE)
   ========================================================================== */
.ribbon-wrap {
    padding: 18px 0 52px;
}

.category-ribbon {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 0;
    padding: 18px 15px;
    border-radius: 25px 55px 24px 55px;
    color: #ffffff;
    background: linear-gradient(100deg, #2168fa, #6e2df2 47%, #e52bb9 78%, #ffb83a);
    box-shadow: 0 16px 28px rgba(110, 54, 216, 0.28);
    position: relative;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-ribbon:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(110, 54, 216, 0.35);
}

.category-ribbon:before {
    content: "";
    position: absolute;
    inset: auto 15px -10px 15px;
    height: 20px;
    background: #6d39f4;
    filter: blur(18px);
    opacity: 0.35;
    z-index: -1;
}

.category {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.27);
    font-weight: 750;
    font-size: 0.86rem;
    min-height: 48px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.category:last-child {
    border-right: none;
}

.category:hover {
    transform: scale(1.04);
    color: #ffffff;
    opacity: 0.95;
}

.category .ico {
    font-size: 1.45rem;
    line-height: 1;
}

@media (max-width: 980px) {
    .category-ribbon {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 16px 14px;
        border-radius: 26px;
    }
    .category:nth-child(3) {
        border-right: none;
    }
    .category:nth-child(n+4) {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }
}

@media (max-width: 720px) {
    .ribbon-wrap {
        padding: 12px 0 38px;
    }
    .category-ribbon {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 22px;
        padding: 12px 8px;
    }
    .category {
        font-size: 0.8rem;
        padding: 10px 5px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }
    .category:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.22);
    }
    .category:nth-child(n+5) {
        border-bottom: none;
    }
    .category:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.22);
    }
}

/* ==========================================================================
   FEATURE CARDS GRID (WHY PEOPLE FALL IN LOVE)
   ========================================================================== */
.feature-grid,
.proto-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.feature-card,
.proto-feature-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 20px;
    border: 1px solid #e9eaff;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 9px 28px rgba(38, 55, 123, 0.05);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.feature-card:hover,
.proto-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon,
.proto-feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #e9f4ff, #f4eaff);
    color: #4d48f4;
    font-size: 1.35rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-card-content {
    flex: 1;
    min-width: 0;
}

.feature-card-content h3,
.feature-card h3,
.proto-feature-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}

.feature-card-content p,
.feature-card p,
.proto-feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

/* ==========================================================================
   LIVE ALBUM PREVIEW INTERACTIVE STAGE
   ========================================================================== */
.proto-preview-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 54px;
    align-items: center;
}

.proto-preview-copy h2 {
    font-size: clamp(2.3rem, 4vw, 3.3rem);
    letter-spacing: -0.055em;
    line-height: 1.08;
    margin: 12px 0 18px;
    font-weight: 950;
    color: var(--ink);
}

.proto-preview-copy p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.6;
}

.proto-check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    display: grid;
    gap: 14px;
}

.proto-check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #414b70;
    font-size: 0.98rem;
    font-weight: 600;
}

.proto-check {
    display: inline-grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #d9fbe5;
    color: #0b9d58;
    font-weight: 900;
    font-size: 0.85rem;
}

.album-stage {
    background: linear-gradient(145deg, #f4efff, #edf8ff);
    border: 1px solid #e7e9ff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.album-stage:before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -50px;
    top: -70px;
    border-radius: 50%;
    background: rgba(246, 186, 255, 0.45);
    filter: blur(35px);
    pointer-events: none;
}

.album-visual {
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.album-visual.turning {
    transform: rotateY(-11deg) rotateX(3deg) scale(0.98);
}

.album-visual img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    box-shadow: 0 18px 30px rgba(36, 43, 108, 0.16);
    transition: opacity 0.25s, transform 0.4s;
}

.album-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), inset 0 -35px 50px rgba(11, 23, 78, 0.08);
}

.preview-controls {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.preview-tabs {
    display: flex;
    gap: 7px;
    flex: 1;
    flex-wrap: wrap;
}

.preview-tab {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.75);
    color: #525d80;
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 750;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-tab.active {
    background: linear-gradient(100deg, #6537f4, #bb27df);
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(119, 57, 227, 0.28);
}

.round-btn {
    border: 1px solid #dfe3ff;
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #4d36d8;
    font-size: 1.15rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.round-btn:hover {
    background: #4d36d8;
    color: #ffffff;
    transform: scale(1.06);
}

.moment-meta {
    display: flex;
    justify-content: space-between;
    color: #7a82a1;
    font-size: 0.82rem;
    font-weight: 650;
    margin-top: 13px;
}

/* ==========================================================================
   HOW IT WORKS 3-STEP FLOW
   ========================================================================== */
.proto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.proto-step-card {
    position: relative;
    padding: 32px 28px;
    border-radius: 24px;
    border: 1px solid #e7eaff;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 59, 125, 0.05);
    transition: transform 0.25s ease;
}

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

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

.proto-step-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 850;
    color: var(--ink);
}

.proto-step-header .proto-step-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.proto-step-number {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 22px;
}

.proto-step-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 850;
    color: var(--ink);
}

.proto-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.proto-step-card:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -16px;
    top: 42%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #8b43f6;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   COMPARISON MATRIX TABLE
   ========================================================================== */
.proto-comparison-wrap {
    overflow-x: auto;
    border: 1px solid #e7e9fb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.proto-compare-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
}

.proto-compare-table th,
.proto-compare-table td {
    text-align: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eef0fc;
    font-size: 0.93rem;
}

.proto-compare-table th {
    background: #f6f4ff;
    color: #5143c8;
    font-weight: 800;
}

.proto-compare-table td:first-child,
.proto-compare-table th:first-child {
    text-align: left;
    font-weight: 750;
}

.proto-compare-table tr:last-child td {
    border-bottom: none;
}

.proto-compare-table .yes {
    color: #0aa56a;
    font-weight: 900;
    font-size: 1.15rem;
}

.proto-compare-table .no {
    color: #f05b66;
    font-weight: 900;
    font-size: 1.15rem;
}

/* ==========================================================================
   STUDIO BENEFITS GRID
   ========================================================================== */
.proto-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.proto-benefit-card {
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e9eaff;
    box-shadow: 0 8px 24px rgba(37, 59, 125, 0.04);
    transition: transform 0.25s ease;
}

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

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

.proto-benefit-header h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 850;
    color: var(--ink);
}

.proto-benefit-header .proto-feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.proto-benefit-card .proto-feature-icon {
    margin-bottom: 14px;
}

.proto-benefit-card h3 {
    font-size: 1.08rem;
    font-weight: 850;
    margin: 0 0 8px;
    color: var(--ink);
}

.proto-benefit-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* ==========================================================================
   DYNAMIC PRICING GRID & BILLING SWITCHER
   ========================================================================== */
.proto-pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 34px;
}

.proto-toggle-btn {
    border: 1px solid #e2e5fb;
    background: #ffffff;
    color: #5d6688;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proto-toggle-btn.active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    box-shadow: 0 6px 18px rgba(17, 25, 76, 0.2);
}

.proto-save-tag {
    color: #0a9b60;
    background: #dff9e9;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.74rem;
    font-weight: 800;
    margin-left: 4px;
}

.proto-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: auto;
    align-items: stretch;
}

.proto-price-card {
    border: 1px solid #e6e9fb;
    border-radius: 26px;
    padding: 32px 28px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(40, 55, 120, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.proto-price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.proto-price-card.popular {
    border: 2px solid #8b50ff;
    box-shadow: 0 20px 48px rgba(115, 56, 229, 0.16);
    transform: translateY(-8px);
}

.proto-price-card.popular:hover {
    transform: translateY(-12px);
}

.proto-popular-label {
    position: absolute;
    top: -14px;
    right: 24px;
    border-radius: 999px;
    padding: 6px 14px;
    background: var(--grad);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(115, 56, 229, 0.35);
}

.proto-price-card h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--ink);
}

.proto-price-card .desc {
    color: var(--muted);
    font-size: 0.9rem;
    min-height: 42px;
    line-height: 1.5;
}

.proto-price-val {
    font-size: 2.5rem;
    font-weight: 950;
    letter-spacing: -0.06em;
    margin: 18px 0;
    color: var(--ink);
}

.proto-price-val small {
    font-size: 0.85rem;
    letter-spacing: 0;
    color: var(--muted);
    font-weight: 600;
}

.proto-price-val .original-price {
    font-size: 1.25rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 600;
}

.proto-price-subtext {
    font-size: 0.88rem;
    font-weight: 700;
    color: #10b981;
    margin-top: -10px;
    margin-bottom: 14px;
    min-height: 20px;
    line-height: 1.35;
}

.proto-price-card ul {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 22px 0 30px;
    flex-grow: 1;
}

.proto-price-card li {
    font-size: 0.9rem;
    color: #4c567a;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.proto-price-card li .check {
    color: #0aa56a;
    font-weight: 900;
    flex-shrink: 0;
}

.proto-price-card .btn-proto {
    width: 100%;
}

/* ==========================================================================
   TESTIMONIALS GRID
   ========================================================================== */
.proto-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.proto-quote-card {
    background: #ffffff;
    border: 1px solid #e8eaff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(38, 55, 123, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proto-quote-mark {
    font-size: 2.6rem;
    line-height: 1;
    color: #7e38f3;
}

.proto-quote-mark-inline {
    display: inline;
    font-family: Georgia, serif;
    font-size: 1.85rem;
    line-height: 1;
    color: #7e38f3;
    font-weight: 900;
    margin-right: 4px;
    vertical-align: -0.12em;
}

.proto-quote-card blockquote {
    margin: 10px 0 24px;
    color: #4d5779;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.proto-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proto-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #d4e9ff, #f4d8ff);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.proto-person strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
}

.proto-person small {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.proto-faq-list {
    max-width: 1200px;
    margin: auto;
    display: grid;
    gap: 12px;
}

.proto-faq-item {
    border: 1px solid #e4e8fa;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.25s ease;
}

.proto-faq-item.open {
    border-color: #8b5cf6;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

.proto-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    padding: 18px 24px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.02rem;
    cursor: pointer;
}

.proto-faq-question .icon {
    color: #6e36ed;
    font-size: 1.35rem;
    font-weight: 300;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.proto-faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.proto-faq-item.open .proto-faq-answer {
    display: block;
}

.proto-faq-item.open .proto-faq-question .icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   COMBINED MINIMAL CTA & NEWSLETTER (WIDE LUXURY BANNER)
   ========================================================================== */
.proto-merged-cta-section {
    padding: 60px 0 80px;
    position: relative;
}

.proto-merged-cta-card {
    position: relative;
    border-radius: 32px;
    background: linear-gradient(115deg, #1d4ed8 0%, #4338ca 30%, #7c3aed 65%, #c026d3 100%);
    box-shadow: 0 24px 60px rgba(124, 58, 237, 0.22);
    padding: 52px 56px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.15fr auto 1fr;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.proto-merged-cta-card::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    top: -140px;
    right: 25%;
    pointer-events: none;
}

.proto-merged-cta-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: 15%;
    pointer-events: none;
}

.proto-merged-cta-left h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 6px 0 12px;
    color: #ffffff;
}

.proto-merged-cta-left p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.04rem;
    line-height: 1.6;
    max-width: 520px;
    margin: 0;
}

.proto-merged-cta-left .btn-proto {
    background: #ffffff;
    color: #1e1b4b !important;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.proto-merged-cta-left .btn-proto:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.proto-merged-cta-divider {
    width: 1px;
    height: 100%;
    min-height: 160px;
    background: rgba(255, 255, 255, 0.22);
}

.proto-merged-cta-right h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 6px 0 8px;
    color: #ffffff;
}

.proto-merged-cta-right p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.proto-merged-cta-right .proto-subscribe-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.proto-merged-cta-right .proto-subscribe-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 13px 20px;
    color: #0f172a;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
}

.proto-merged-cta-right .proto-subscribe-form input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.proto-merged-cta-right .proto-subscribe-form .btn-proto {
    background: #0f172a;
    color: #ffffff !important;
    white-space: nowrap;
    border-radius: 999px;
    padding: 13px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.proto-merged-cta-right .proto-subscribe-form .btn-proto:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.proto-form-message {
    font-size: 0.86rem;
    margin-top: 10px;
    min-height: 22px;
    font-weight: 600;
}

/* ==========================================================================
   FOOTER (CLEAN MODERN LUXURY)
   ========================================================================== */
.proto-site-footer {
    padding: 48px 0 28px;
    background: #fafbff;
    border-top: 1px solid #e7eaff;
}

.proto-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
}

.proto-footer-brand p {
    max-width: 290px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 14px 0;
}

.proto-footer-col h4 {
    margin: 0 0 16px;
    font-size: 0.94rem;
    font-weight: 850;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.proto-footer-col a {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin: 9px 0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.proto-footer-col a:hover {
    color: #6d37f3;
    transform: translateX(3px);
}

.proto-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.proto-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #efedff;
    color: #5e3ce8;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.proto-socials a:hover {
    background: #5e3ce8;
    color: #ffffff;
    transform: translateY(-2px);
}

.proto-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e8eaf7;
    color: #8188a2;
    font-size: 0.82rem;
}

/* ==========================================================================
   SCROLL REVEAL & KEYFRAME ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes protoFloat {
    0%, 100% {
        transform: translateY(0) rotate(-0.3deg);
    }
    50% {
        transform: translateY(-10px) rotate(0.3deg);
    }
}

@keyframes protoPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(125, 64, 239, 0.35), var(--shadow);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(125, 64, 239, 0), var(--shadow);
    }
}

/* ==========================================================================
   UNIFIED 3D FLIP CARD AUTHENTICATION SYSTEM
   (LOGIN / SIGNUP / EMAIL VERIFICATION ON SAME PAGE)
   ========================================================================== */
.auth-page-wrapper {
    min-height: calc(100vh - 78px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 16px 60px;
    background: radial-gradient(ellipse at 10% 15%, #fceaff 0, transparent 35%),
                radial-gradient(ellipse at 88% 30%, #e8f4ff 0, transparent 40%),
                #ffffff;
    box-sizing: border-box;
}

.auth-flip-scene {
    perspective: 1600px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    box-sizing: border-box;
}

.auth-flip-card {
    position: relative;
    width: 100%;
    min-height: 690px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
    box-sizing: border-box;
}

/* Rotation States */
.auth-flip-card.state-login {
    transform: rotateY(0deg);
}

.auth-flip-card.state-signup {
    transform: rotateY(180deg);
}

.auth-flip-card.state-verify {
    transform: rotateY(360deg);
}

.auth-flip-card.state-forgot {
    transform: rotateY(-180deg);
}

/* Face Cards Common Styles */
.auth-face-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 690px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 64px rgba(17, 25, 76, 0.1), 0 4px 16px rgba(17, 25, 76, 0.04);
    padding: 36px 42px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.auth-face-pane.pane-login {
    transform: rotateY(0deg);
    z-index: 2;
}

.auth-face-pane.pane-signup {
    transform: rotateY(180deg);
    z-index: 1;
}

.auth-face-pane.pane-verify {
    transform: rotateY(360deg);
    display: none;
    z-index: 3;
}

.auth-face-pane.pane-forgot {
    transform: rotateY(-180deg);
    display: none;
    z-index: 4;
}

/* Strict Pane Isolation: Exclusively display only the face matching active state */
.auth-flip-card.state-login .auth-face-pane:not(.pane-login) {
    display: none !important;
}

.auth-flip-card.state-signup .auth-face-pane:not(.pane-signup) {
    display: none !important;
}

.auth-flip-card.state-verify .auth-face-pane:not(.pane-verify) {
    display: none !important;
}
.auth-flip-card.state-verify .auth-face-pane.pane-verify {
    display: flex !important;
    transform: rotateY(360deg);
}

.auth-flip-card.state-forgot .auth-face-pane:not(.pane-forgot) {
    display: none !important;
}
.auth-flip-card.state-forgot .auth-face-pane.pane-forgot {
    display: flex !important;
    transform: rotateY(-180deg);
}

.auth-row-2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.auth-row-2col .auth-form-group {
    min-width: 0 !important;
    width: 100% !important;
    margin-bottom: 16px !important;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header .auth-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.25));
}

.auth-header h2 {
    font-size: 1.7rem;
    font-weight: 900;
    margin: 0 0 6px;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.auth-header p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

/* Pill Switcher inside Card */
.auth-tab-switch {
    display: flex;
    background: #f1f4fd;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 22px;
    box-sizing: border-box;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Inputs */
.auth-form-group {
    margin-bottom: 16px;
    position: relative;
    box-sizing: border-box;
}

.auth-form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 750;
    color: #334155;
    margin-bottom: 6px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.auth-input-wrap .input-ico {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #1e293b;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-input.no-ico {
    padding-left: 16px !important;
}

.auth-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.auth-input:focus + .input-ico {
    color: #6366f1;
}

.auth-eye-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.auth-eye-btn:hover {
    color: #4f46e5;
}

/* Buttons */
.btn-auth-primary {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 20px;
    background: var(--grad);
    color: #ffffff;
    font-weight: 850;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    margin-top: 8px;
    box-sizing: border-box;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.38);
    filter: brightness(1.04);
}

.btn-auth-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* OTP 6-Digit Grid */
.otp-digit-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0 18px;
    width: 100%;
    box-sizing: border-box;
}

.otp-digit-box {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.otp-digit-box:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    transform: scale(1.05);
}

/* Verification State Badges */
.verify-mail-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #fce7f3);
    color: #4f46e5;
    font-size: 1.8rem;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.15);
}

.verify-email-display {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 20px;
    word-break: break-all;
    box-sizing: border-box;
}

.auth-verify-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
}

.btn-auth-link {
    background: transparent;
    border: none;
    color: #6366f1;
    font-weight: 750;
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-auth-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.auth-flip-link {
    color: #6366f1;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.auth-flip-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

@media (max-width: 540px) {
    .auth-page-wrapper {
        padding: 16px 14px 40px;
    }
    .auth-flip-scene {
        max-width: 100%;
    }
    .auth-flip-card {
        min-height: auto;
    }
    .auth-face-pane {
        padding: 28px 20px;
        min-height: auto;
        position: relative;
    }
    .auth-flip-card.state-signup .auth-face-pane.pane-login,
    .auth-flip-card.state-verify .auth-face-pane.pane-login,
    .auth-flip-card.state-forgot .auth-face-pane.pane-login {
        display: none !important;
    }
    .auth-flip-card.state-login .auth-face-pane.pane-signup,
    .auth-flip-card.state-verify .auth-face-pane.pane-signup,
    .auth-flip-card.state-forgot .auth-face-pane.pane-signup {
        display: none !important;
    }
    .auth-flip-card.state-login .auth-face-pane.pane-forgot,
    .auth-flip-card.state-signup .auth-face-pane.pane-forgot,
    .auth-flip-card.state-verify .auth-face-pane.pane-forgot {
        display: none !important;
    }
    .auth-row-2col {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .otp-digit-grid {
        gap: 6px;
    }
    .otp-digit-box {
        width: 40px;
        height: 48px;
        font-size: 1.25rem;
        border-radius: 10px;
    }
}

/* ==========================================================================
   STATIC PAGES MODERN LUXURY CARD
   ========================================================================== */
.proto-static-hero {
    padding: 56px 0 42px;
    background: radial-gradient(ellipse at 10% 20%, #fceaff 0, transparent 35%),
                radial-gradient(ellipse at 90% 25%, #e8f4ff 0, transparent 40%),
                #ffffff;
    border-bottom: 1px solid #e7eaff;
}

.proto-static-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid #e7e9fb;
    border-radius: 26px;
    padding: 42px 38px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.proto-static-card h2,
.proto-static-card h3 {
    color: var(--ink);
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 980px) {
    .fp-proto-container {
        width: calc(100% - 36px);
    }
    .proto-nav-links {
        gap: 14px;
    }
    .proto-hero-grid {
        gap: 24px;
    }
    .ribbon-3d-banner {
        grid-template-columns: repeat(3, 1fr);
        padding: 14px 20px;
        border-radius: 30px;
    }
    .ribbon-category-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .ribbon-category-item:nth-child(n+4) {
        border-bottom: none;
    }
    .feature-grid,
    .proto-feature-grid,
    .proto-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proto-preview-grid {
        gap: 28px;
    }
    .proto-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proto-merged-cta-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 32px;
        border-radius: 26px;
        text-align: center;
    }
    .proto-merged-cta-divider {
        width: 100%;
        height: 1px;
        min-height: 1px;
        background: rgba(255, 255, 255, 0.22);
        margin: 4px 0;
    }
    .proto-merged-cta-left,
    .proto-merged-cta-right {
        text-align: center;
    }
    .proto-merged-cta-left p,
    .proto-merged-cta-right p {
        margin-left: auto;
        margin-right: auto;
    }
    .proto-merged-cta-left .btn-proto {
        display: inline-block;
    }
    .proto-merged-cta-right .proto-subscribe-form {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .fp-proto-container {
        width: calc(100% - 28px);
    }
    .fp-proto-section {
        padding: 50px 0;
    }
    .proto-nav {
        height: 68px;
    }
    .proto-menu-toggle {
        display: block;
    }
    .proto-nav-actions .btn-proto.outline {
        display: none;
    }
    .proto-nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 14px;
        right: 14px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        z-index: 1000;
    }
    .proto-nav-links.open {
        display: flex;
    }
    .proto-nav-links a {
        padding: 12px 14px;
        border-radius: 10px;
    }
    .proto-nav-links a:hover {
        background: #f1f4fd;
    }
    .proto-hero {
        padding-top: 24px;
    }
    .proto-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .proto-hero h1 {
        font-size: clamp(1.45rem, 6.2vw, 2.05rem);
        line-height: 1.15;
    }
    .proto-hero-art {
        width: 100%;
        max-width: 380px;
        margin: 16px auto 0;
        text-align: center;
    }
    .proto-hero-image {
        max-width: 100%;
        height: auto;
    }
    .proto-orbit-dot {
        width: 44px;
        height: 44px;
        right: 4%;
        bottom: 8%;
        font-size: 1rem;
    }
    .proto-hero-art .sparkle {
        font-size: 1.5rem;
        left: 4%;
        top: 2%;
    }
    .ribbon-3d-stage {
        padding: 0 4px;
    }
    .ribbon-3d-banner {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 24px;
        padding: 10px 12px;
    }
    .ribbon-category-item {
        font-size: 0.84rem;
        padding: 10px 6px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .ribbon-category-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    .ribbon-category-item:nth-child(n+5) {
        border-bottom: none;
    }
    .ribbon-curl-left,
    .ribbon-curl-right {
        display: none; /* Clean graceful collapse on mobile */
    }
    .feature-grid,
    .proto-feature-grid,
    .proto-benefit-grid,
    .proto-steps,
    .proto-pricing-grid,
    .proto-testimonial-grid {
        grid-template-columns: 1fr;
    }
    .proto-proof-points {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 18px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .proto-proof {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        min-width: 0 !important;
        flex: 1 1 0 !important;
    }
    .proto-proof-icon {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        border-radius: 7px !important;
        font-size: 0.72rem !important;
    }
    .proto-proof strong {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }
    .proto-proof small {
        font-size: 0.58rem !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .ribbon-wrap {
        overflow: hidden;
    }
    .ribbon-wrap .fp-proto-container {
        transform: rotate(-1.5deg);
        transform-origin: center center;
    }
    .feature-card,
    .proto-feature-card {
        padding: 18px 16px !important;
        gap: 14px !important;
    }
    .feature-icon,
    .proto-feature-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        border-radius: 12px !important;
    }
    .feature-card-content h3,
    .feature-card h3 {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }
    .feature-card-content p,
    .feature-card p {
        font-size: 0.85rem !important;
    }
    .album-stage {
        display: none !important;
    }
    .proto-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .proto-pricing-grid {
        gap: 14px !important;
    }
    .proto-price-card {
        padding: 16px 14px !important;
        border-radius: 18px !important;
    }
    .proto-popular-label {
        top: -11px !important;
        right: 16px !important;
        padding: 4px 10px !important;
        font-size: 0.65rem !important;
    }
    .proto-price-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 2px !important;
    }
    .proto-price-card .desc {
        font-size: 0.82rem !important;
        min-height: unset !important;
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
    }
    .proto-price-val {
        font-size: 1.95rem !important;
        margin: 6px 0 10px !important;
    }
    .proto-price-val .price-number {
        font-size: 1.95rem !important;
    }
    .proto-price-val .original-price {
        font-size: 1.05rem !important;
        margin-right: 4px !important;
    }
    .proto-price-val small {
        font-size: 0.76rem !important;
    }
    .proto-price-subtext {
        font-size: 0.78rem !important;
        margin-top: -6px !important;
        margin-bottom: 8px !important;
        min-height: 16px !important;
    }
    .proto-price-card ul {
        margin: 8px 0 14px !important;
        gap: 6px !important;
    }
    .proto-price-card li {
        font-size: 0.82rem !important;
        gap: 6px !important;
        line-height: 1.3 !important;
    }
    .proto-price-card li .check {
        font-size: 0.8rem !important;
    }
    .proto-price-card .btn-proto {
        padding: 9px 14px !important;
        font-size: 0.86rem !important;
        border-radius: 12px !important;
    }
    /* Mobile Form Auto-Zoom Prevention */
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    select,
    textarea,
    .form-control,
    .form-select,
    .auth-input,
    .proto-subscribe-form input,
    #homeNewsletterEmail,
    #footerNewsletterForm input {
        font-size: 16px !important;
        touch-action: manipulation;
    }
    .album-visual img {
        height: 220px;
    }
    .proto-step-card:not(:last-child):after {
        content: "↓";
        right: calc(50% - 16px);
        top: auto;
        bottom: -18px;
    }
    .proto-price-card.popular {
        transform: none;
    }
    .proto-merged-cta-card {
        padding: 30px 18px;
        border-radius: 20px;
        gap: 24px;
    }
    .proto-merged-cta-left h2 {
        font-size: 1.55rem;
    }
    .proto-merged-cta-right h3 {
        font-size: 1.25rem;
    }
    .proto-merged-cta-right .proto-subscribe-form {
        flex-direction: column;
        gap: 12px;
    }
    .proto-merged-cta-right .proto-subscribe-form input {
        width: 100%;
        text-align: center;
    }
    .proto-merged-cta-right .proto-subscribe-form .btn-proto {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .proto-newsletter-card {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }
    .proto-subscribe-form {
        flex-direction: column;
    }
    .proto-subscribe-form .btn-proto {
        width: 100%;
    }
    .proto-cta-panel {
        padding: 34px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .proto-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .auth-face-pane {
        padding: 30px 22px;
    }
    .otp-digit-box {
        width: 42px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .fp-proto-container {
        width: calc(100% - 20px);
    }
    .proto-hero-art {
        max-width: 310px;
    }
}

/* Footer layout utilities */
.fp-footer-2col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.fp-footer-socials a.footer-icon-pill {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.fp-footer-socials a.footer-icon-pill:hover {
    background: #4f46e5;
    color: #ffffff;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .fp-footer {
        padding: 48px 0 24px;
    }
    .fp-footer-main-row {
        text-align: center;
    }
    .fp-footer-socials {
        justify-content: center !important;
        margin-bottom: 24px;
    }
    .fp-footer-links-wrap {
        margin-bottom: 28px;
    }
    .fp-footer-2col-grid {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    .fp-footer-trust-wrap {
        text-align: center !important;
    }
    .fp-footer-trust-wrap .footer-trust-box {
        max-width: 320px;
        margin: 0 auto 16px;
    }
    .fp-footer-trust-wrap form {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (75% WIDTH SLIDING FROM RIGHT)
   ========================================================================== */
.fp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fp-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.fp-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    max-width: 360px;
    background: #ffffff;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.28);
    z-index: 1050;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 24px 20px;
}

.fp-mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.fp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.fp-drawer-close {
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #475569;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.fp-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.fp-drawer-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 20px;
}

.fp-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.fp-drawer-nav a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.fp-drawer-nav a:hover {
    background: #f1f5f9;
    color: #2563eb;
    transform: translateX(3px);
}

.fp-drawer-actions {
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

@media (max-width: 991px) {
    .proto-menu-toggle {
        display: block !important;
    }
}


