/* ==========================================================================
   CodeQlik Eyewear Solutions - Premium Design Tokens & System
   ========================================================================== */

   :root {
    /* Color Palette */
    --bg-dark: #FCFAF8; /* Warm white background */
    --bg-card: #ffffff; /* Pure white cards */
    --bg-card-border: rgba(0, 0, 0, 0.06);
    
    --primary: #ff5f00; /* Warm Brand Orange */
    --primary-glow: rgba(255, 95, 0, 0.15);
    --secondary: #ff7d26;
    --secondary-glow: rgba(255, 125, 38, 0.15);
    
    --text-primary: #1a1e26; /* Dark slate text */
    --text-muted: #626e82; /* Muted gray text */
    --text-dark: #475569;
    
    --accent-glow: linear-gradient(135deg, var(--primary), var(--secondary));
    
    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --container-max-width: 1440px;
    --header-height: 80px;
    
    /* Z-Index scale */
    --z-cursor: 9999;
    --z-header: 1000;
    --z-normal: 1;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial; /* Lenis handles smooth scrolling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

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

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.2s, height 0.2s;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
    opacity: 0.5;
}

/* ==========================================================================
   Layout & Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 95, 0, 0.05);
    border: 1px solid rgba(255, 95, 0, 0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 95, 0, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 95, 0, 0.35);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--bg-card-border);
}
.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--bg-card-border);
}
.btn-outline:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    background: rgba(252, 250, 248, 0.85); /* Warm white translucent */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-link {
    color: #2e3646;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 2rem);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--bg-card-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Composition Viewport */
.composition-container {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-card {
    border-radius: 20px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s;
}

/* Left Card: Luxury Website Mockup */
.website-card {
    width: 78%;
    height: 400px;
    background: #faf9f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    left: 0;
    top: 10%;
    z-index: 1;
    color: #1a1a1a;
    filter: blur(2.5px) brightness(0.82);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s;
    animation: heroFloatLeft 6s ease-in-out infinite alternate;
}

.website-card:hover {
    filter: blur(0px) brightness(1);
    transform: translate(12px, -8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.mockup-header {
    height: 36px;
    background: #eae7e1;
    border-bottom: 1px solid #dcd9d2;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-url {
    background: #ffffff;
    border: 1px solid #dcd9d2;
    padding: 2px 20px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #666666;
    font-family: var(--font-mono);
    max-width: 250px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mockup-body {
    padding: 1rem;
    height: calc(100% - 36px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eae7e1;
    margin-bottom: 0.75rem;
}

.mockup-logo {
    font-weight: 800;
    font-size: 0.95rem;
    color: #121212;
    letter-spacing: -0.5px;
}

.mockup-menu {
    display: flex;
    gap: 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555555;
}

.mockup-menu span {
    cursor: pointer;
    transition: color 0.2s;
}

.mockup-menu span:hover, .mockup-menu span.active-item {
    color: #ff5f00;
}

.mockup-icons {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #333333;
}

.mockup-scroll-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 2px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.mockup-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.mockup-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Store components styling */
.store-hero {
    position: relative;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #eae7e1;
}

.store-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.store-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 17, 16, 0.85) 100%);
    padding: 1.25rem;
    color: #ffffff;
}

.store-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    background: #ff5f00;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.store-hero-overlay h4 {
    font-size: 1.15rem;
    margin-top: 4px;
    font-weight: 700;
}

.store-hero-overlay p {
    font-size: 0.7rem;
    opacity: 0.85;
}

.store-promos {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.promo-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    background: #eae7e1;
    border-radius: 100px;
    color: #444444;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.promo-lbl i {
    color: #ff5f00;
}

.store-products-shelf {
    margin-top: 0.5rem;
}

.shelf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.shelf-header h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #121212;
}

.shelf-header span {
    font-size: 0.7rem;
    color: #ff5f00;
    font-weight: 600;
    cursor: pointer;
}

.shelf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.shelf-card {
    background: #ffffff;
    border: 1px solid #eae7e1;
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.shelf-card-img-wrapper {
    position: relative;
    height: 70px;
    background: #faf9f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shelf-product-svg {
    width: 70px;
    height: 35px;
    color: #333333;
}

.shelf-badge-360 {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.55rem;
    background: rgba(18, 17, 16, 0.05);
    color: #555555;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 600;
}

.shelf-card-details h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #121212;
    margin-top: 4px;
}

.shelf-rating {
    font-size: 0.6rem;
    color: #ffbc00;
}

.shelf-price {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #333333;
}

.shelf-btn-row {
    margin-top: 4px;
}

.shelf-btn-tryon {
    font-size: 0.65rem;
    font-weight: 600;
    color: #121212;
    border: 1px solid #121212;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.shelf-btn-tryon.active-try {
    background: #ff5f00;
    color: #ffffff;
    border-color: #ff5f00;
    box-shadow: 0 2px 8px rgba(255, 95, 0, 0.3);
}

/* Right Card: AI Face Scan */
.face-scan-card {
    width: 65%;
    height: 480px;
    right: 0;
    bottom: 5%;
    z-index: 2;
    background: rgba(15, 18, 26, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: heroFloatRight 6s ease-in-out infinite alternate;
}

.face-scan-card:hover {
    transform: translate(-10px, 5px) scale(1.02);
    box-shadow: 0 45px 90px rgba(255, 95, 0, 0.15);
    border-color: rgba(255, 95, 0, 0.3);
}

.scan-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Shift face up to make room at the bottom */
    mix-blend-mode: luminosity;
    opacity: 0.85;
}

/* Orange Scanning Overlays */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff5f00, transparent);
    box-shadow: 0 0 15px rgba(255, 95, 0, 0.8);
    z-index: 4;
    pointer-events: none;
    animation: scanAnimation 3.5s ease-in-out infinite;
}

.face-mesh-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Badges and Info Overlays */
.scan-badge-live {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 95, 0, 0.2);
    border: 1px solid #ff5f00;
    color: #ff8c40;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #ff5f00;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite alternate;
}

.scan-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1rem;
    border-radius: 16px 16px 0 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.05);
    color: #1a1e26;
}

.scan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scan-label-sm {
    font-size: 0.75rem;
    color: #626e82;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.scan-indicator-val {
    font-size: 0.75rem;
    font-weight: 700;
}
.glow-cyan {
    color: var(--primary);
}

.progress-container {
    flex-grow: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    margin: 0 1rem;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: #ff5f00;
    border-radius: 2px;
    box-shadow: 0 0 8px #ff5f00;
}

.scan-val-sm {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #ff5f00;
    width: 45px;
    text-align: right;
}

.scan-grid-sm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.4rem;
}

.scan-cell {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.cell-lbl {
    font-size: 0.6rem;
    color: #626e82;
    text-transform: uppercase;
    font-family: var(--font-mono);
    margin-bottom: 2px;
}

.cell-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1e26;
}

/* Animations declarations */
@keyframes ringExpand {
    0% { transform: scale(0.6); opacity: 0; }
    30% { opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes scanAnimation {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

@keyframes meshPulse {
    0% { opacity: 0.08; }
    100% { opacity: 0.25; }
}

@keyframes contourPulse {
    0% { opacity: 0.3; stroke-dashoffset: 0; }
    100% { opacity: 0.6; stroke-dashoffset: 10; }
}

@keyframes trackerPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes nodePulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes blink {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

@keyframes heroFloatLeft {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes heroFloatRight {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@keyframes heroFloatLeftMobile {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

@keyframes heroFloatRightMobile {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

/* ==========================================================================
   Features Section (Premium White Theme)
   ========================================================================== */
.premium-white-section {
    background-color: #FCFAF8 !important;
    padding: 5rem 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.center-align {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.white-badge {
    background: rgba(255, 95, 0, 0.06) !important;
    border: 1px solid rgba(255, 95, 0, 0.2) !important;
    color: var(--primary) !important;
}

.dark-text {
    color: #0c0e12 !important;
}

.dark-text-muted {
    color: #57657a !important;
    max-width: 680px;
    line-height: 1.6;
}

/* Service cards grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
    margin-top: 5rem;
}

.service-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 3.5rem 3rem !important;
    border-radius: 28px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-card::before {
    display: none !important; /* Remove dark card mouse hover glow overlay */
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 45px rgba(255, 95, 0, 0.06), 0 0 0 1px rgba(255, 95, 0, 0.2) !important;
    border-color: transparent !important;
}

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 95, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon-container {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ==========================================================================
   AI Virtual Try-On Section
   ========================================================================== */
.tryon-experience-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.tryon-container {
    display: grid;
    grid-template-columns: 1.15fr 1.25fr;
    gap: 5rem;
    align-items: center;
}

.tryon-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tryon-content .badge {
    background: rgba(255, 95, 0, 0.05);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.tryon-content .section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0c0e12;
}

.tryon-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.tryon-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.tryon-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.tryon-feature .check-icon {
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    animation: iconPulse 2s infinite alternate;
}

@keyframes iconPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px var(--primary)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 4px var(--primary)); }
}

/* Phone Mockup Layout */
.tryon-phones-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phones-workflow-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: #000000;
    border: 9px solid #16181d;
    border-radius: 36px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    animation: phoneFloat 5s ease-in-out infinite alternate;
}

.phone-1 {
    animation-delay: 0s;
}

.phone-2 {
    animation-delay: 0.8s;
}

@keyframes phoneFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.phone-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #242831;
}

.phone-speaker {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #242831;
    border-radius: 10px;
    z-index: 100;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0c0e12;
    border-radius: 27px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
}

/* Phone 1 & 2 Themes & Details */
.light-theme-phone .phone-screen {
    background: #ffffff;
    color: #0c0e12;
}

.light-theme-phone .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1rem 0.5rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme-phone .app-logo {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0c0e12;
}

.light-theme-phone .app-header-icons {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #475569;
}

.app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0.75rem;
    scrollbar-width: none;
}

.app-body::-webkit-scrollbar {
    display: none;
}

.light-theme-phone .app-product-gallery {
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    padding: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rating-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.6rem;
    color: #0c0e12;
    font-weight: 700;
}

.app-main-image {
    width: 85%;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    margin-bottom: 0.5rem;
}

.gallery-dots {
    display: flex;
    gap: 4px;
}

.gallery-dots .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.gallery-dots .dot.active {
    background: var(--primary);
    width: 10px;
    border-radius: 4px;
}

.app-product-details {
    display: flex;
    flex-direction: column;
}

.app-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.light-theme-phone .app-prod-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0c0e12;
}

.app-prod-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
}

.light-theme-phone .app-prod-collection {
    font-size: 0.62rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.app-prod-desc {
    font-size: 0.62rem;
    color: #64748b;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.app-selector-group {
    margin-bottom: 0.75rem;
}

.selector-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
    letter-spacing: 0.5px;
}

.color-options {
    display: flex;
    gap: 6px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.color-dot.active {
    border-color: var(--primary);
    box-shadow: 0 0 4px var(--primary);
}

.size-options {
    display: flex;
    gap: 6px;
}

.size-tag {
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #0c0e12;
    font-weight: 700;
    cursor: pointer;
}

.size-tag.active {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
}

.app-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0.25rem;
}

.app-btn {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.app-btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.app-btn-secondary {
    background: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.light-theme-phone .app-btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0c0e12;
}

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

/* Phone 2: Live AI Try-On HUD and measurements */
.app-camera-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.app-tryon-hud {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem 1rem 1rem 1rem;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0) 25%,
        rgba(0,0,0,0) 50%,
        rgba(0,0,0,0.65) 100%
    );
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hud-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hud-status {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid rgb(46, 213, 115);
    color: rgb(46, 213, 115);
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pulse-dot-green {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgb(46, 213, 115);
    box-shadow: 0 0 6px rgb(46, 213, 115);
    animation: dotPulse 1.5s infinite alternate;
}

@keyframes dotPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.hud-mesh-overlay {
    flex: 1;
    position: relative;
}

.hud-pupil-tracker {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary);
}

.left-pupil {
    top: 36%;
    left: 38%;
}

.right-pupil {
    top: 36%;
    left: 58%;
}

.hud-pd-line {
    position: absolute;
    top: 37%;
    left: 40%;
    width: 17%;
    height: 1px;
    border-top: 1px dashed var(--primary);
}

.hud-pd-val {
    position: absolute;
    top: 29%;
    left: 48%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* B2B Optical Alignment Guides */
.hud-frame-bounds {
    position: absolute;
    top: 31%;
    left: 28%;
    width: 44%;
    height: 16%;
    border: 1px dashed rgba(255, 95, 0, 0.35);
    border-radius: 6px;
    pointer-events: none;
}

.hud-frame-bounds::before, .hud-frame-bounds::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--primary);
}

.hud-frame-bounds::before {
    top: -1.5px;
    left: -1.5px;
    border-right: none;
    border-bottom: none;
}

.hud-frame-bounds::after {
    bottom: -1.5px;
    right: -1.5px;
    border-left: none;
    border-top: none;
}

.hud-face-width-guide {
    position: absolute;
    top: 48%;
    left: 15%;
    width: 70%;
    height: 1px;
    border-top: 1px solid rgba(255, 95, 0, 0.35);
}

.hud-face-width-guide::before, .hud-face-width-guide::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 6px;
    background: var(--primary);
    top: -3px;
}

.hud-face-width-guide::before {
    left: 0;
}

.hud-face-width-guide::after {
    right: 0;
}

.hud-face-width-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* Floating B2B Premium Measurement Panel */
.app-measurement-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.meas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.35rem;
}

.status-indicator {
    font-size: 0.62rem;
    font-weight: 700;
    color: #2ed573;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fit-badge {
    background: rgba(46, 213, 115, 0.12);
    color: #2ed573;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.meas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.meas-item {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.02);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
}

.meas-lbl {
    font-size: 0.48rem;
    color: #64748b;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.meas-val {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0c0e12;
}

.meas-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.35rem;
}

.meas-item-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Smartphone Connector Flow */
.phones-connector-flow {
    width: 140px;
    height: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-connector-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
    pointer-events: none;
}

.flow-path {
    stroke-dasharray: 4 4;
    filter: drop-shadow(0 0 2px var(--primary));
}

/* Glassmorphism Floating Card */
.flow-status-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 100;
    width: 110px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: cardHoverFloat 4s ease-in-out infinite alternate;
}

.flow-status-card.success {
    background: rgba(46, 213, 115, 0.12);
    border-color: rgba(46, 213, 115, 0.4);
}

@keyframes cardHoverFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.card-icon-wrapper {
    font-size: 1rem;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon {
    font-weight: 700;
    transition: all 0.3s ease;
}

.flow-status-card.success .status-icon {
    color: #2ed573;
}

.status-text {
    font-size: 0.55rem;
    font-weight: 700;
    color: #0c0e12;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.flow-status-card.success .status-text {
    color: #2ed573;
}

/* Pulse Loader indicator */
.pulse-loader {
    width: 35px;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.pulse-loader::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loaderSweep 1.5s infinite;
}

@keyframes loaderSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive adjustments for phones connector */
@media (max-width: 1024px) {
    .phones-workflow-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    .phones-connector-flow {
        width: 80px;
        height: 120px;
    }
    .flow-connector-svg {
        transform: rotate(90deg);
        width: 120px;
        height: 80px;
        top: -20px;
        left: -20px;
    }
}

/* ==========================================================================
   360° Interactive Frame Viewer Section
   ========================================================================== */
.viewer-360-section {
    padding: 8rem 0;
    background: #FCFAF8;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.viewer-360-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.viewer-360-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02);
}

.viewer-features-list {
    margin-top: 2rem;
    margin-bottom: 2rem;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.viewer-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.viewer-feature .check-icon {
    color: var(--primary);
    font-size: 1rem;
}

.viewer-feature .feature-text {
    font-size: 0.92rem;
    color: var(--text-primary);
}

.viewer-premium-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 2px solid var(--primary);
    padding-left: 12px;
    margin-top: 1.5rem;
}

/* 3D Viewer Box Container */
.viewer-3d-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: radial-gradient(circle at center, rgba(255, 95, 0, 0.04) 0%, #ffffff 80%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.viewer-canvas-mount {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Loading HUD overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.circular-loader {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 95, 0, 0.1);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Floating Controls Overlay */
.viewer-controls-panel {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-sans);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ctrl-btn:hover {
    color: #0c0e12;
    background: rgba(0,0,0,0.03);
}

.ctrl-btn.active {
    color: var(--primary);
    background: rgba(255, 95, 0, 0.08);
}

.fa-spin-slow {
    animation: fa-spin 8s linear infinite;
}

/* Bottom Helper Text */
.viewer-helper-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
}

/* Responsive grid for viewer */
@media (max-width: 1024px) {
    .viewer-360-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-bg-glow {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.premium-inquiry-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

/* Left column details card */
.inquiry-info-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.method-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bg-card-border);
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.method-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 95, 0, 0.3);
}

.method-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.method-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.method-val:hover {
    color: var(--primary);
}

.services-list-inquiry {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 4px;
}

.services-list-inquiry li {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.inquiry-highlight-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--primary);
    background: rgba(255, 95, 0, 0.08);
    border: 1px solid rgba(255, 95, 0, 0.25);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Right column form card */
.inquiry-form-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.inquiry-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.form-group-inquiry {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-inquiry label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.form-group-inquiry input,
.form-group-inquiry textarea,
.form-select-inquiry {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-select-inquiry {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5f00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-select-inquiry option {
    background-color: #ffffff;
    color: var(--text-primary);
}

.form-group-inquiry input:focus,
.form-group-inquiry textarea:focus,
.form-select-inquiry:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.form-row-inquiry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Error validation messages */
.err-msg {
    font-size: 0.72rem;
    color: #ff3838;
    margin-top: 2px;
    display: none;
}

.form-group-inquiry.invalid input {
    border-color: #ff3838;
}

/* Form success overlay */
.inquiry-form-card .form-feedback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(15px);
}

.feedback-success-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.success-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(46, 213, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #2ed573;
    margin-bottom: 0.5rem;
}

.feedback-success-content h4 {
    font-size: 1.75rem;
    color: var(--text-light);
}

.feedback-success-content p {
    font-size: 1rem;
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

.btn-spinner {
    margin-left: 0.5rem;
}

/* Responsive inquiry grid */
@media (max-width: 1024px) {
    .premium-inquiry-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 425px) {
    .form-row-inquiry {
        grid-template-columns: 1fr;
    }
    .services-list-inquiry {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #FCFAF8;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6rem 0 3rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.8fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 95, 0, 0.08);
}

.links-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.col-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0c0e12;
    margin-bottom: 0.5rem;
}

.links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 2rem;
}

.bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: #0c0e12;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* 1280px to 1440px */
@media (max-width: 1280px) {
    .hero-title {
        font-size: 3.8rem;
    }
    .specs-container {
        gap: 3rem;
    }
}

/* 1024px to 1279px */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .customizer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .customizer-canvas-container {
        height: 500px;
    }
    
    .composition-container {
        height: 500px;
        margin-top: 2rem;
    }
    
    .website-card {
        width: 80%;
        height: 340px;
    }
        .face-scan-card {
        width: 70%;
        height: 420px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* 768px to 1023px (Tablet Viewport) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px !important; /* 20px on mobile */
    }
    
    /* Mobile Hero vertical layout stacking order */
    .hero-section {
        padding-top: calc(var(--header-height) + 1.5rem);
        min-height: auto;
        padding-bottom: 64px; /* Hero Visual -> Next Section: 64px */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-content .badge {
        margin-bottom: 24px !important; /* Badge -> Heading: 24px */
        display: inline-flex;
    }
    
    .hero-title {
        font-size: 40px !important; /* 40px on mobile */
        line-height: 1.1;
        margin-bottom: 24px !important; /* Heading -> Description: 24px */
        text-align: center;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 350px !important; /* Limit description text width: max 32-36 characters */
        margin: 0 auto 32px auto !important; /* Description -> Buttons: 32px */
        text-align: center;
    }
    
    .hero-ctas {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 16px !important;
        margin-bottom: 40px !important; /* Buttons -> Statistics: 40px */
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100% !important;
        max-width: 340px !important; /* Buttons max width 340px */
        justify-content: center;
    }
    
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* Three equal columns */
        gap: 0.75rem !important;
        margin-bottom: 48px !important; /* Statistics -> Hero Visual: 48px */
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stat-num {
        font-size: 1.6rem !important;
    }
    
    .stat-lbl {
        font-size: 0.65rem !important;
    }

    .hero-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .composition-container {
        width: 100%;
        max-width: 400px;
        height: 360px !important;
        margin: 0 auto;
        position: relative;
    }
    
    .website-card {
        width: 80% !important;
        height: 240px !important;
        top: 5% !important;
        left: 0 !important;
        filter: none !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
        animation: heroFloatLeftMobile 5s ease-in-out infinite alternate !important;
    }
    
    .face-scan-card {
        width: 70% !important;
        height: auto !important;
        min-height: fit-content !important;
        bottom: 0 !important;
        right: 0 !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        border-radius: 24px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        animation: heroFloatRightMobile 5s ease-in-out infinite alternate !important;
    }
    
    .scan-image-wrapper {
        height: 240px !important;
        position: relative !important;
        flex-shrink: 0 !important;
        border-radius: 24px 24px 0 0 !important;
    }

    .scan-image {
        object-position: center 25% !important;
    }
    
    /* Ensure no text overlays or components overflow inside mobile preview card */
    .scan-overlay-info {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: fit-content !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 0.75rem 0.75rem !important;
        gap: 12px !important;
        border-radius: 0 0 24px 24px !important;
        box-shadow: none !important;
    }
    
    .scan-grid-sm {
        gap: 0.3rem !important;
        padding-top: 0.3rem !important;
    }
    
    .scan-cell {
        padding: 0.25rem !important;
        border-radius: 4px !important;
    }
    
    .cell-val {
        font-size: 0.72rem !important;
    }
    
    .header {
        height: 70px;
    }
    
    .nav-links {
        display: none;
    }

    .nav-links.active-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(252, 250, 248, 0.98);
        backdrop-filter: blur(25px);
        padding: 3rem 2rem;
        border-bottom: 1px solid var(--bg-card-border);
        gap: 2rem;
        align-items: center;
        z-index: var(--z-header);
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Try-On section mobile overrides */
    .tryon-experience-section {
        padding: 5rem 0 64px 0 !important;
    }
    
    .tryon-container {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 24px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .tryon-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .tryon-content .badge {
        margin-bottom: 24px !important;
        display: inline-flex !important;
    }
    
    .tryon-content .section-title {
        font-size: 40px !important;
        line-height: 1.1 !important;
        margin-bottom: 24px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .tryon-description {
        font-size: 18px !important;
        line-height: 1.8 !important;
        max-width: 340px !important;
        margin: 0 auto 32px auto !important;
        text-align: center !important;
    }
    
    .tryon-features-list {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin-bottom: 40px !important;
        width: 100% !important;
        max-width: 340px !important;
        text-align: left !important;
    }
    
    .tryon-feature {
        justify-content: flex-start !important;
    }
    
    .tryon-phones-visual {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }
    
    .phones-workflow-container {
        width: 100% !important;
        max-width: 320px !important;
        display: flex !important;
        justify-content: center !important;
        gap: 0 !important;
    }
    
    .phones-workflow-container .phone-1,
    .phones-workflow-container .phones-connector-flow {
        display: none !important;
    }
    
    .phones-workflow-container .phone-2 {
        display: flex !important;
        width: 100% !important;
        max-width: 270px !important;
        height: 520px !important;
        margin: 0 auto !important;
        position: relative !important;
        animation: heroFloatRightMobile 5s ease-in-out infinite alternate !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
    }
}

/* Hide custom cursor on tablets and mobile screens */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-glow {
        display: none !important;
    }
}

/* 425px to 767px (Small Mobile Viewports) */
@media (max-width: 425px) {
    .container {
        padding: 0 20px !important;
    }
    
    .hero-title {
        font-size: 34px !important; /* 34px on small mobile */
        line-height: 1.15;
    }
    
    .hero-description {
        max-width: 320px !important; /* Keep within character limits */
    }
    
    .composition-container {
        height: 320px !important;
    }
    
    .website-card {
        width: 80% !important;
        height: 210px !important;
    }
    
    .face-scan-card {
        width: 70% !important;
        height: auto !important;
        min-height: fit-content !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        border-radius: 24px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    
    .scan-image-wrapper {
        height: 200px !important;
        position: relative !important;
        flex-shrink: 0 !important;
        border-radius: 24px 24px 0 0 !important;
    }
    
    .scan-overlay-info {
        position: relative !important;
        height: auto !important;
        min-height: fit-content !important;
        padding: 0.5rem 0.5rem !important;
        gap: 10px !important;
        border-radius: 0 0 24px 24px !important;
        box-shadow: none !important;
    }
    
    .scan-grid-sm {
        gap: 0.2rem !important;
        padding-top: 0.2rem !important;
    }
    
    .scan-cell {
        padding: 0.2rem !important;
    }
    
    .cell-val {
        font-size: 0.65rem !important;
    }
    
    .mockup-header {
        height: 28px !important;
        padding: 0 0.4rem !important;
        gap: 0.4rem !important;
    }
    
    .mockup-url {
        max-width: 110px !important;
        font-size: 0.6rem !important;
    }
    
    .mockup-logo {
        font-size: 0.65rem !important;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Try-On section small mobile overrides */
    .tryon-content .section-title {
        font-size: 34px !important;
    }
    
    .tryon-description {
        max-width: 320px !important;
    }
}

/* 375px to 424px */
@media (max-width: 375px) {
    .hero-title {
        font-size: 34px !important;
    }
}

/* 320px to 374px */
@media (max-width: 320px) {
    .hero-title {
        font-size: 34px !important;
    }
    .badge {
        font-size: 0.75rem !important;
    }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
