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

:root {
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-elevated: #202020;

    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-tertiary: #707070;

    --color-border: #2a2a2a;
    --color-border-light: #353535;

    --color-accent: #ffffff;
    --color-accent-hover: #e0e0e0;

    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-secondary: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.95) 100%);
    --gradient-card: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-display: 'Rajdhani', 'Helvetica Neue', sans-serif;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Floating Shopping Cart */
.floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.95) 0%,
        rgba(59, 130, 246, 0.95) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.floating-cart:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.6);
}

.floating-cart svg {
    color: white;
    pointer-events: none;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3838 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    border: 2px solid var(--color-bg-primary);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-count.active {
    transform: scale(1);
    animation: bounce 0.5s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Cart Modal */
.cart-modal-overlay {
    position: fixed;
    inset: 0;
    background: transparent; /* No dark overlay for chat-style */
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 2rem;
    pointer-events: none; /* Allow clicking through empty space */
}

.cart-modal {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    width: 480px;
    max-height: 85vh; /* Use viewport height to maximize space */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(calc(100% + 2rem));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto; /* Modal is always interactive */
}

.cart-modal-overlay.active .cart-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Docked state - cart is integrated into page layout */
.cart-modal-overlay.docked {
    position: fixed;
    right: max(2rem, calc((100vw - 1400px) / 2));
    top: 6rem;
    width: 500px;
    max-width: 35vw;
    height: auto;
    padding: 0;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: auto;
    background: transparent;
    z-index: 100;
}

.cart-modal-overlay.docked .cart-modal {
    width: 100%;
    max-height: calc(100vh - 8rem);
    transform: translateY(0);
    opacity: 1;
    position: sticky;
    top: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating state - cart is a popup overlay */
.cart-modal-overlay.floating {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    right: 0;
    top: 0;
    z-index: 10000;
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    color: var(--color-text-primary);
}

.cart-modal-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.cart-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    transform: rotate(90deg);
}

.cart-modal-content {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* Custom dark scrollbar for cart content */
.cart-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cart-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.cart-modal-content::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.cart-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 51, 234, 0.5);
}

/* Firefox scrollbar */
.cart-modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(147, 51, 234, 0.3) rgba(0, 0, 0, 0.2);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-secondary);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(147, 51, 234, 0.3);
}

.cart-item-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cart-item-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0;
}

.cart-item-price {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}

.price-cents {
    font-size: 0.4em;
    vertical-align: super;
    line-height: 0;
}

.cart-item-details {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.cart-item-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-item-detail::before {
    content: "•";
    color: var(--color-accent);
}

.cart-item-detail.removable {
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cart-item-detail.removable:hover {
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-remove-btn {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.cart-item-remove-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: scale(1.1);
}

.cart-configuration {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cart-configuration:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(147, 51, 234, 0.3);
}

.cart-configuration.active {
    border-color: var(--color-accent);
    background: rgba(147, 51, 234, 0.15);
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.cart-configuration.active::before {
    content: 'SELECTED';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #9333ea;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 10;
    line-height: 1;
}

.cart-configuration-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-config-remove {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-config-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.cart-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--color-border);
    background: rgba(0, 0, 0, 0.2);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.cart-total span:first-child {
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--color-text-secondary);
}

.cart-total span:last-child {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.cart-modal-footer .checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: #7c3aed;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.cart-modal-footer .checkout-btn:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.4);
}

.cart-modal-footer .checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .cart-modal-overlay {
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .cart-modal {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        transform: translateY(100%);
    }

    .cart-modal-overlay.active .cart-modal {
        transform: translateY(0);
    }

    .cart-modal-header,
    .cart-modal-content,
    .cart-modal-footer {
        padding: 1.5rem;
    }
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
}

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

.nav-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.nav-logo .logo-thin {
    font-weight: 300;
}

.nav-logo .logo-bold {
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-display);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    letter-spacing: 0.03em;
}

.nav-menu a:hover {
    color: var(--color-text-primary);
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    color: var(--color-text-primary) !important;
    transition: all var(--transition-fast);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher-mobile {
    display: none;
}

.lang-option {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    letter-spacing: 0.03em;
}

.lang-option:hover {
    color: var(--color-text-primary);
}

.lang-option.active {
    color: var(--color-accent);
}

.lang-separator {
    color: var(--color-border-light);
    font-size: 0.875rem;
}

.nav-cta:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-text-secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 66.67vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    z-index: 10;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Removed dark overlay - video now at full opacity */

.video-nav {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
}

.video-nav.prev {
    left: 2rem;
}

.video-nav.next {
    right: 2rem;
}

.video-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
}

.video-nav.prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.video-nav.next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.video-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Video indicators removed */

.hero-content {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    max-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    display: block;
}

.hero-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    display: block;
}

.hero-cta {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: var(--color-bg-primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: -0.01em;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.3) 0%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(139, 92, 246, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.4);
}

.hero-cta:hover::before {
    opacity: 1;
}

/* Intro Article - Light contrasting background */
.intro-article {
    padding: 3rem 0 2rem 0;
    background: #ffffff;
    position: relative;
    overflow: visible;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.intro-article h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1a1a1a;
}

.intro-article p {
    font-size: 1.25rem;
    color: #707070;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.intro-video {
    position: relative;
    margin: 0 auto;
    width: fit-content;
    pointer-events: none;
}

.intro-video video {
    width: auto;
    height: auto;
    max-width: 500px;
    max-height: 500px;
    display: block;
    opacity: 1;
}

/* Image Showcase Sections - No Parallax, Clean Photo Display */
.image-showcase {
    padding: 0;
    background: var(--color-bg-primary);
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 600px;
}

.image-showcase.reverse .showcase-grid {
    direction: rtl;
}

.image-showcase.reverse .showcase-content {
    direction: ltr;
}

.showcase-image {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-content {
    padding: 4rem 4rem 4rem 6rem;
    max-width: 100%;
}

.image-showcase.reverse .showcase-content {
    padding: 4rem 6rem 4rem 4rem;
}

.showcase-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.showcase-content p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    margin-bottom: 4rem;
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: -60%;
    right: -60%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center,
        rgba(147, 51, 234, 0.12) 0%,
        rgba(59, 130, 246, 0.08) 30%,
        rgba(99, 102, 241, 0.04) 50%,
        transparent 75%);
    opacity: 0.5;
    transition: all 0.8s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.8;
    animation: iridescent-flow 3s ease-in-out infinite;
    bottom: -40%;
    right: -40%;
}

@keyframes iridescent-flow {
    0%, 100% {
        background: radial-gradient(circle at center,
            rgba(147, 51, 234, 0.18) 0%,
            rgba(59, 130, 246, 0.12) 25%,
            rgba(99, 102, 241, 0.06) 50%,
            transparent 80%);
    }
    33% {
        background: radial-gradient(circle at center,
            rgba(59, 130, 246, 0.18) 0%,
            rgba(147, 51, 234, 0.12) 25%,
            rgba(139, 92, 246, 0.06) 50%,
            transparent 80%);
    }
    66% {
        background: radial-gradient(circle at center,
            rgba(139, 92, 246, 0.18) 0%,
            rgba(99, 102, 241, 0.12) 25%,
            rgba(59, 130, 246, 0.06) 50%,
            transparent 80%);
    }
}

.feature-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    animation: iconLoadIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center;
    opacity: 0;
    stroke: url(#iridescent-gradient);
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(147, 51, 234, 0.2));
}

.feature-icon svg path,
.feature-icon svg rect,
.feature-icon svg circle,
.feature-icon svg line,
.feature-icon svg polyline,
.feature-icon svg polygon {
    stroke-width: 1;
}

/* Stagger the animation for each icon */
.feature-card:nth-child(1) .feature-icon svg { animation-delay: 0.1s; }
.feature-card:nth-child(2) .feature-icon svg { animation-delay: 0.2s; }
.feature-card:nth-child(3) .feature-icon svg { animation-delay: 0.3s; }
.feature-card:nth-child(4) .feature-icon svg { animation-delay: 0.4s; }
.feature-card:nth-child(5) .feature-icon svg { animation-delay: 0.5s; }
.feature-card:nth-child(6) .feature-icon svg { animation-delay: 0.6s; }

@keyframes iconLoadIn {
    0% {
        transform: rotate(-180deg) scale(0.5);
        opacity: 0;
    }
    60% {
        transform: rotate(20deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Phone Selection */
.phone-selection {
    padding: 8rem 0;
    background: var(--color-bg-secondary);
}

/* Generation Selector Styles */
.generation-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.generation-selector label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.generation-dropdown {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 280px;
    text-align: center;
}

.generation-dropdown:hover {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.generation-dropdown:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(120, 80, 200, 0.1);
}

.generation-dropdown option {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    padding: 0.5rem;
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.phone-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.phone-card.featured {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.phone-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.12) 0%,
        rgba(59, 130, 246, 0.12) 50%,
        rgba(139, 92, 246, 0.12) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.4;
}

@keyframes border-glow {
    0%, 100% {
        background: linear-gradient(135deg,
            rgba(147, 51, 234, 0.3) 0%,
            rgba(59, 130, 246, 0.3) 50%,
            rgba(139, 92, 246, 0.3) 100%);
    }
    50% {
        background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.4) 0%,
            rgba(139, 92, 246, 0.4) 50%,
            rgba(147, 51, 234, 0.4) 100%);
    }
}

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

/* Prevent hover interference with button clicks */
.phone-card:active {
    pointer-events: auto;
}

.phone-card.active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.3), var(--shadow-lg);
    transform: translateY(-2px);
}

.phone-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-light);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.phone-card.featured .phone-badge {
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.15),
        rgba(59, 130, 246, 0.15),
        rgba(139, 92, 246, 0.15)
    ), var(--color-bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid rgba(147, 51, 234, 0.4);
}

.phone-model {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.phone-specs ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.phone-specs li {
    padding: 0.75rem 0 0.75rem 2rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    position: relative;
}

.phone-specs li.spec-highlight {
    color: var(--color-text-primary);
    font-weight: 500;
}

.phone-custom-note {
    margin-top: 1rem;
    padding: 0.5rem 0;
    text-align: center;
    color: rgba(147, 51, 234, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

.phone-device-specs {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

.phone-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 1) 0%,
        rgba(59, 130, 246, 1) 50%,
        rgba(139, 92, 246, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-specs li:last-child {
    border-bottom: none;
}

.phone-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
}

.phone-price.installation {
    border-top: none;
    padding-top: 0;
}

.price-label {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.price-amount {
    font-weight: 600;
    font-size: 1.25rem;
    font-family: var(--font-mono);
}

.phone-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 2px solid var(--color-border-light);
    margin-top: 1rem;
    font-weight: 700;
}

.total-amount {
    font-size: 1.75rem;
    font-family: var(--font-mono);
}

.phone-select-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--color-border-light);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(147, 51, 234, 0.2);
    user-select: none;
    position: relative;
    z-index: 10;
}

.phone-select-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

.phone-select-btn:active {
    transform: scale(0.98);
}

.phone-card.featured .phone-select-btn {
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.2) 0%,
        rgba(59, 130, 246, 0.2) 100%);
    color: #ffffff;
    border: 1px solid rgba(147, 51, 234, 0.6);
    position: relative;
    overflow: hidden;
}

.phone-card.featured .phone-select-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.3) 0%,
        rgba(59, 130, 246, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Fix: Don't block clicks */
}

.phone-card.featured .phone-select-btn:hover::before {
    opacity: 1;
}

.phone-card.featured .phone-select-btn:hover {
    border-color: rgba(147, 51, 234, 1);
}

/* GrapheneOS Features */
.graphene-features {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 3rem;
}

.graphene-features h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.01em;
}

.graphene-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.graphene-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.graphene-feature svg {
    flex-shrink: 0;
    stroke: url(#iridescent-gradient);
}

.graphene-feature svg:first-child {
    filter: drop-shadow(0 0 4px rgba(147, 51, 234, 0.4));
}

.features-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.features-categories {
    display: grid;
    gap: 2.5rem;
}

.feature-category {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.feature-category h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    text-align: left;
    letter-spacing: 0.01em;
}

.feature-category .graphene-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Elite Security Features Section */
.elite-security-section {
    padding: 6rem 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(147, 51, 234, 0.04) 0%, transparent 60%),
        rgba(8, 8, 10, 1);
    border-top: 1px solid rgba(147, 51, 234, 0.15);
    border-bottom: 1px solid rgba(147, 51, 234, 0.15);
    position: relative;
    overflow: hidden;
}

.elite-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-align: center;
    background: linear-gradient(135deg, #9333ea 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.elite-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.elite-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.elite-feature-card {
    background: rgba(12, 12, 15, 0.8);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.elite-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
    background: rgba(15, 12, 20, 0.9);
}

/* Icon container */
.elite-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.elite-feature-card:hover .elite-icon {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
}

.elite-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-accent);
}

.elite-feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: color 0.3s ease;
}

.elite-feature-card:hover h4 {
    color: #e0e0e0;
}

.elite-feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Interactive badge - Hidden on desktop, shown on mobile */
.elite-interactive-badge {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(147, 51, 234, 0.9);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Configuration Section */
.configuration-section {
    padding: 8rem 0;
    background: var(--color-bg-primary);
    position: relative;
}

.config-block {
    margin-bottom: 5rem;
}

.config-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
    text-align: center;
}

.config-description {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Phone Color Selection */
.color-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--gradient-card);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 140px;
}

.color-option:hover {
    border-color: var(--color-border-light);
    background: var(--color-bg-elevated);
    transform: translateY(-2px);
}

.color-option.selected {
    border-color: var(--color-accent);
    background: rgba(147, 51, 234, 0.05);
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.color-option:hover .color-swatch {
    transform: scale(1.05);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 2px 12px rgba(255, 255, 255, 0.15);
}

.color-option.selected .color-swatch {
    border-color: var(--color-accent);
    box-shadow:
        0 0 0 3px rgba(147, 51, 234, 0.2),
        0 6px 20px rgba(147, 51, 234, 0.3),
        inset 0 2px 12px rgba(255, 255, 255, 0.2);
}

.color-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    text-align: center;
}

.color-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.color-option.selected .color-check {
    opacity: 1;
    transform: scale(1);
}

.color-check svg {
    stroke: white;
    width: 12px;
    height: 12px;
}

/* Custom Checkbox - Multi-column Grid */
.hardware-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    touch-action: manipulation; /* Fix: Prevent tap delay and gesture conflicts */
    -webkit-tap-highlight-color: rgba(147, 51, 234, 0.1); /* Visual feedback on tap */
}

.custom-checkbox:hover {
    border-color: var(--color-border-light);
    background: var(--color-bg-elevated);
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-border-light);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid var(--color-bg-primary);
    border-width: 0 2px 2px 0;
}

.checkbox-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label small {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.option-price {
    font-family: var(--font-mono);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.custom-checkbox.package {
    border-color: var(--color-border-light);
    background: var(--color-bg-elevated);
}

/* Hardware Tier Packages - Grid Layout */
.tier-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Hardware Tier Packages - Iridescent Style */
.custom-checkbox.tier-bronze,
.custom-checkbox.tier-silver,
.custom-checkbox.tier-gold {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(147, 51, 234, 0.2);
    background:
        linear-gradient(135deg,
            rgba(147, 51, 234, 0.03) 0%,
            rgba(59, 130, 246, 0.03) 25%,
            rgba(139, 92, 246, 0.03) 50%,
            rgba(168, 85, 247, 0.03) 75%,
            rgba(147, 51, 234, 0.03) 100%
        ),
        var(--gradient-card);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(147, 51, 234, 0.08);
}

/* Animated iridescent shimmer effect */
.custom-checkbox.tier-bronze::before,
.custom-checkbox.tier-silver::before,
.custom-checkbox.tier-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 20%,
        rgba(147, 51, 234, 0.12) 30%,
        rgba(59, 130, 246, 0.18) 40%,
        rgba(139, 92, 246, 0.2) 50%,
        rgba(59, 130, 246, 0.18) 60%,
        rgba(147, 51, 234, 0.12) 70%,
        transparent 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Animate shimmer only on hover - plays once */
.custom-checkbox.tier-bronze:hover::before,
.custom-checkbox.tier-silver:hover::before,
.custom-checkbox.tier-gold:hover::before {
    opacity: 1;
    animation: iridescent-shimmer 1.2s ease-in-out forwards;
}

@keyframes iridescent-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Hover effect */
.custom-checkbox.tier-bronze:hover,
.custom-checkbox.tier-silver:hover,
.custom-checkbox.tier-gold:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
    border-color: rgba(147, 51, 234, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(147, 51, 234, 0.4);
}

/* Make tier numbers and titles stand out */
.custom-checkbox.tier-bronze strong,
.custom-checkbox.tier-silver strong,
.custom-checkbox.tier-gold strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: brightness(1.1);
}

/* Make the price stand out */
.custom-checkbox.tier-bronze .option-price,
.custom-checkbox.tier-silver .option-price,
.custom-checkbox.tier-gold .option-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(147, 51, 234, 0.5);
}

/* Checkbox styling for tiers */
.custom-checkbox.tier-bronze .checkbox-custom,
.custom-checkbox.tier-silver .checkbox-custom,
.custom-checkbox.tier-gold .checkbox-custom {
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(0, 0, 0, 0.3);
}

.custom-checkbox.tier-bronze input:checked ~ .checkbox-custom,
.custom-checkbox.tier-silver input:checked ~ .checkbox-custom,
.custom-checkbox.tier-gold input:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, #9333EA, #8B5CF6);
    border-color: #9333EA;
    box-shadow: 0 0 16px rgba(147, 51, 234, 0.8);
}

/* Support Tiers */
.support-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .support-tiers {
        grid-template-columns: 1fr; /* Full width on mobile */
        gap: 1.5rem;
    }
}

.tier-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: visible;
    text-align: left;
}

.tier-card.featured {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    position: relative;
    overflow: visible;
}

.tier-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.12) 0%,
        rgba(59, 130, 246, 0.12) 50%,
        rgba(139, 92, 246, 0.12) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.4;
}

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

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.tier-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.15),
        rgba(59, 130, 246, 0.15),
        rgba(139, 92, 246, 0.15)
    ), var(--color-bg-elevated);
    color: var(--color-text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(147, 51, 234, 0.4);
}

.tier-card h4 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.tier-card.featured h4 {
    padding-top: 1rem;
}

.tier-duration {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}

.tier-savings {
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1; /* Push button to bottom */
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.tier-features svg {
    flex-shrink: 0;
    stroke: url(#iridescent-gradient);
    filter: drop-shadow(0 0 4px rgba(147, 51, 234, 0.4));
}

.tier-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--color-border-light);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    touch-action: manipulation; /* Fix: Prevent tap delay */
    -webkit-tap-highlight-color: rgba(147, 51, 234, 0.2);
}

.tier-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

.tier-btn.selected {
    background: var(--color-bg-elevated);
    border-color: var(--color-border-light);
    cursor: default;
}

.tier-card.featured .tier-btn {
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.2) 0%,
        rgba(59, 130, 246, 0.2) 100%);
    color: #ffffff;
    border: 1px solid rgba(147, 51, 234, 0.6);
    position: relative;
    overflow: hidden;
}

.tier-card.featured .tier-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.3) 0%,
        rgba(59, 130, 246, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Fix: Don't block clicks */
}

.tier-card.featured .tier-btn:hover::before {
    opacity: 1;
}

.tier-card.featured .tier-btn:hover {
    border-color: rgba(147, 51, 234, 1);
}

/* Wholesale Grid */
.wholesale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.wholesale-tier {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
}

.wholesale-tier::after {
    content: 'Click to set quantity';
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.wholesale-tier:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.wholesale-tier:hover::after {
    opacity: 1;
}

.wholesale-tier:active {
    transform: translateY(-2px);
}

.wholesale-tier.featured {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.wholesale-quantity {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.wholesale-discount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.wholesale-tier p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.wholesale-contact {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.wholesale-contact p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--color-border-light);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.contact-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

/* Quantity Controls Wrapper */
.quantity-controls-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Number Input Group */
.quantity-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.qty-btn {
    width: 48px;
    height: 48px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-border-light);
}

.qty-number {
    width: 100px;
    height: 48px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    font-family: var(--font-mono);
}

.qty-number::-webkit-inner-spin-button,
.qty-number::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Slider Wrapper */
.quantity-slider-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.qty-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 60px;
    background: transparent;
    outline: none;
    cursor: pointer;
}

/* Slider Track - Webkit */
.qty-range-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(147, 51, 234, 0.3) 0%,
        rgba(147, 51, 234, 0.7) 50%,
        rgba(147, 51, 234, 0.3) 100%
    );
    border-radius: 2px;
}

/* Slider Thumb - Webkit */
.qty-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        #9333ea 0%,
        #3b82f6 25%,
        #ec4899 50%,
        #9333ea 75%,
        #3b82f6 100%
    );
    background-size: 200% 200%;
    cursor: grab;
    box-shadow:
        0 0 25px rgba(147, 51, 234, 0.7),
        0 0 50px rgba(59, 130, 246, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-top: -18px;
    transition: all 0.3s ease;
    animation: iridescent 3s ease infinite;
}

.qty-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 35px rgba(147, 51, 234, 0.9),
        0 0 70px rgba(59, 130, 246, 0.7),
        inset 0 2px 15px rgba(255, 255, 255, 0.5);
}

.qty-range-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Slider Track - Firefox */
.qty-range-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(147, 51, 234, 0.3) 0%,
        rgba(147, 51, 234, 0.7) 50%,
        rgba(147, 51, 234, 0.3) 100%
    );
    border-radius: 2px;
}

/* Slider Thumb - Firefox */
.qty-range-slider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        #9333ea 0%,
        #3b82f6 25%,
        #ec4899 50%,
        #9333ea 75%,
        #3b82f6 100%
    );
    background-size: 200% 200%;
    cursor: grab;
    box-shadow:
        0 0 25px rgba(147, 51, 234, 0.7),
        0 0 50px rgba(59, 130, 246, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    animation: iridescent 3s ease infinite;
}

.qty-range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 35px rgba(147, 51, 234, 0.9),
        0 0 70px rgba(59, 130, 246, 0.7),
        inset 0 2px 15px rgba(255, 255, 255, 0.5);
}

.qty-range-slider::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Iridescent animation */
@keyframes iridescent {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.quantity-note {
    margin-top: 1rem;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 1.05rem;
}

/* Order Summary */
.order-summary {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 4rem;
    position: sticky;
    top: 120px;
}

.order-summary h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.summary-line:last-of-type {
    border-bottom: none;
}

.summary-line.subtotal {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-border);
    font-weight: 600;
}

.summary-line.discount {
    color: var(--color-accent);
}

.summary-line.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    border-top: 2px solid var(--color-border-light);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.summary-line span:last-child {
    font-family: var(--font-mono);
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    color: var(--color-bg-primary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: all var(--transition-fast);
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Blog Section */
.blog-section {
    padding: 8rem 0;
    background: var(--color-bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.blog-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(147, 51, 234, 0.5);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    transition: background 0.3s ease;
}

.blog-card:hover .blog-overlay {
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.85) 100%);
}

.blog-title-overlay {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.blog-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-family: var(--font-mono);
}

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

.blog-category {
    color: var(--color-text-secondary);
    padding: 0.25rem 0.75rem;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(147, 51, 234, 0.4);
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.blog-excerpt {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
    flex-grow: 1;
}

.blog-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-card:hover .blog-link {
    gap: 0.75rem;
    color: var(--color-accent-hover);
    transform: translateX(4px);
}

/* Waiting List Section */
.waiting-list-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.waiting-list-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.waiting-list-form {
    margin-top: 3rem;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-border-light);
    background: var(--color-bg-tertiary);
}

.form-group input::placeholder {
    color: var(--color-text-tertiary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
}

.waiting-list-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    color: var(--color-bg-primary);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 0.5rem;
}

.waiting-list-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.form-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

/* Footer */
.main-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.footer-column p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column ul a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease, max-height 0.3s ease;
        border-bottom: 1px solid var(--color-border);
        z-index: 999;
    }

    .nav-menu li {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        max-height: 500px;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

    /* Mobile nav layout */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .nav-logo {
        flex: 0 0 auto;
    }

    /* Hide desktop language switcher in mobile menu dropdown */
    .lang-switcher-desktop {
        display: none;
    }

    /* Show mobile language switcher */
    .lang-switcher-mobile {
        display: flex;
        font-size: 0.875rem;
        flex: 0 0 auto;
        order: 2;
    }

    .menu-toggle {
        flex: 0 0 auto;
        order: 3;
    }

    .hero-section {
        height: 80vh;
    }

    .hero-content {
        bottom: 1.5rem;
        max-width: calc(100% - 4rem);
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-cta {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .video-nav {
        width: 40px;
        height: 40px;
    }

    .video-nav.prev {
        left: 0.5rem;
    }

    .video-nav.next {
        right: 0.5rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .image-showcase.reverse .showcase-grid {
        direction: ltr;
    }

    .showcase-image {
        min-height: 400px;
        order: 1;
    }

    .showcase-content {
        padding: 3rem 2rem;
        order: 2;
        max-width: 100%;
        text-align: center;
    }

    .showcase-content h2,
    .showcase-content p {
        text-align: center;
    }

    .image-showcase.reverse .showcase-content {
        margin-left: 0;
        padding: 3rem 2rem;
    }

    .intro-article,
    .features-section,
    .phone-selection,
    .configuration-section {
        padding: 4rem 0;
    }

    /* Mobile styles for intro video section */
    .intro-article {
        padding: 3rem 0 2rem 0;
    }

    .intro-text {
        margin-bottom: 2rem;
    }

    .intro-article h2 {
        font-size: 2rem;
    }

    .intro-article p {
        font-size: 1rem;
    }

    .intro-video video {
        max-width: 350px;
        max-height: 350px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Center quantity section on mobile */
    .config-block {
        text-align: center;
    }

    .config-title {
        text-align: center;
    }

    .quantity-selector {
        margin: 0 auto;
        justify-content: center;
    }

    .quantity-selector-new {
        max-width: 100%;
    }

    .quantity-display {
        justify-content: center;
    }

    .quantity-note {
        text-align: center;
        max-width: 100%;
    }

    .features-grid,
    .phones-grid,
    .support-tiers,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        text-align: center;
    }

    .feature-card h3 {
        text-align: center;
    }

    .feature-card p {
        text-align: center;
    }

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

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

    .phone-price,
    .phone-total {
        text-align: left;
    }

    .price-label,
    .price-amount {
        text-align: left;
    }

    .blog-grid {
        gap: 2rem;
        margin-top: 2rem;
    }

    .blog-overlay {
        padding: 2rem;
    }

    .blog-title-overlay {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .tier-card.featured {
        transform: scale(1);
    }

    .tier-card.featured:hover {
        transform: translateY(-4px);
    }

    .tier-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
    }


    .order-summary {
        display: none; /* Hidden on mobile - use floating cart only */
    }

    .waiting-list-section {
        padding: 4rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .phone-card,
    .tier-card,
    .graphene-features {
        padding: 1.5rem;
    }

    .features-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .features-categories {
        gap: 1.5rem;
    }

    .feature-category {
        padding: 1.5rem;
    }

    .feature-category h4 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .feature-category .graphene-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Elite Security Features - Mobile */
    .elite-security-section {
        padding: 4rem 0;
    }

    .elite-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        padding: 0 1rem;
    }

    .elite-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .elite-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .elite-feature-card {
        padding: 2rem 1.5rem;
    }

    .elite-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .elite-icon svg {
        width: 26px;
        height: 26px;
    }

    .elite-feature-card h4 {
        font-size: 1.2rem;
    }

    .elite-feature-card p {
        font-size: 0.9rem;
    }

    /* Show interactive badges on mobile */
    .elite-interactive-badge {
        display: block;
    }

    .graphene-feature {
        font-size: 0.95rem;
    }

    .wholesale-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
        gap: 1rem;
    }

    .wholesale-tier {
        padding: 1.5rem; /* Smaller padding for mobile 2-column layout */
    }

    .wholesale-quantity {
        font-size: 1.1rem; /* Slightly smaller for 2-column */
    }

    .wholesale-discount {
        font-size: 1.4rem; /* Slightly smaller for 2-column */
    }

    .wholesale-tier p {
        font-size: 0.85rem; /* Smaller description text */
    }

    .hardware-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .custom-checkbox {
        padding: 1.5rem; /* Increased from 1.25rem for better touch targets */
        min-height: 60px; /* Ensure minimum touch target height */
        text-align: left;
    }

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

    .checkbox-label strong {
        justify-content: space-between;
        text-align: left;
    }

    .checkbox-label small {
        text-align: left;
    }

    /* Increase checkbox size for better mobile touch targets */
    .checkbox-custom {
        width: 32px; /* Increased from 24px */
        height: 32px; /* Increased from 24px */
    }

    /* Increase button padding for better touch targets */
    .phone-select-btn {
        padding: 1.25rem; /* Increased from 1rem */
        font-size: 1.05rem;
        min-height: 56px; /* Ensure minimum 44px+ touch target */
    }

    /* Make tier buttons bigger on mobile */
    .tier-btn {
        padding: 1rem 1.5rem;
        min-height: 48px;
    }

    /* Footer grid 2 columns on mobile */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Decorative Background Textures */

/* Carbon fiber subtle texture - can be applied to any dark container */
.carbon-texture {
    position: relative;
}

.carbon-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/carbonfibber.png');
    background-size: 400px 400px;
    background-repeat: repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* Ensure child content stays above texture */
.carbon-texture > * {
    position: relative;
    z-index: 1;
}

/* Decorative corner accents - Fibbers splat (1000px optimized) */
.corner-accent-top-left {
    position: relative;
    overflow: hidden;
}

.corner-accent-top-left::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -600px;
    width: 2368px;
    height: 1728px;
    background-image: url('/images/fibberhigherres.webp');
    background-size: 2368px 1728px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 0.5) 45%,
        rgba(0, 0, 0, 0) 70%
    );
    -webkit-mask-image: radial-gradient(ellipse at center,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 0.5) 45%,
        rgba(0, 0, 0, 0) 70%
    );
}

.corner-accent-top-right {
    position: relative;
    overflow: hidden;
}

.corner-accent-top-right::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 1000px;
    height: 730px;
    background-image: url('/images/fibbers1000.webp');
    background-size: 1000px 730px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.corner-accent-bottom-left {
    position: relative;
    overflow: hidden;
}

.corner-accent-bottom-left::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 1000px;
    height: 730px;
    background-image: url('/images/fibbers1000.webp');
    background-size: 1000px 730px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.corner-accent-bottom-right {
    position: relative;
    overflow: hidden;
}

.corner-accent-bottom-right::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 1000px;
    height: 730px;
    background-image: url('/images/fibbers1000.webp');
    background-size: 1000px 730px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Decorative corner accents - Carbon molecule */
.molecule-accent-top-left {
    position: relative;
    overflow: hidden;
}

.molecule-accent-top-left::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background-image: url('/images/carbonmolecule.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.molecule-accent-top-right {
    position: relative;
    overflow: hidden;
}

.molecule-accent-top-right::after {
    content: '';
    position: absolute;
    top: -400px;
    right: -400px;
    width: 1377px;
    height: 1005px;
    background-image: url('/images/carbonmolecule.png');
    background-size: 1377px 1005px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2125;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 25%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0) 75%
    );
    -webkit-mask-image: radial-gradient(ellipse at center,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 25%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0) 75%
    );
}

.molecule-accent-bottom-left {
    position: relative;
    overflow: hidden;
}

.molecule-accent-bottom-left::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background-image: url('/images/carbonmolecule.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.molecule-accent-bottom-right {
    position: relative;
    overflow: hidden;
}

.molecule-accent-bottom-right::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background-image: url('/images/carbonmolecule.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* Ensure corner accent child content stays above decoration */
[class*="corner-accent"] > *,
[class*="molecule-accent"] > * {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.phone-card,
.tier-card {
    animation: fadeIn 0.6s ease-out;
}
