/* ==========================================================================
   LAVIENTRA STUDIO - APPLE MINIMALIST LIGHT THEME (GOOGLE UX & APPLE POLISH)
   ========================================================================== */

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

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-tertiary: #E5E5EA;
    --text-primary: #1D1D1F;
    --text-secondary: #515154;
    --text-muted: #86868B;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.2);
    --accent-black: #000000;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
    --apple-bezier: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 6px;
    --radius-pill: 980px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    scroll-padding-top: 90px;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
}

/* Container & Typography */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

h1 {
    font-weight: 700;
    font-size: clamp(40px, 5.5vw, 64px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    background: linear-gradient(180deg, #1D1D1F 0%, #434346 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-weight: 700;
    font-size: clamp(30px, 4.2vw, 44px);
    letter-spacing: -0.035em;
    line-height: 1.1;
    background: linear-gradient(180deg, #1D1D1F 0%, #434346 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-weight: 600;
    font-size: clamp(20px, 2.5vw, 26px);
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

p {
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 17px;
    letter-spacing: 0.01em;
}

/* Sections */
.section {
    padding: 70px 0;
    background-color: var(--bg-primary);
}

.section-ash {
    background-color: #F5F5F7;
}

.section-header,
.section-title,
.hero-title,
.hero-subtitle,
.pricing-title {
    max-width: 680px;
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-center,
.section-header.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 16px;
    text-align: center;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
}

/* Single Universal Scroll Reveal Engine (Apple Minimalist Motion) */
.reveal-item,
.reveal-node {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    filter: blur(4px);
    will-change: opacity, transform, filter;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition-delay: var(--stagger-delay, 0s) !important;
}

.reveal-item.is-visible,
.reveal-item.revealed,
.reveal-item.active,
.reveal-node.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    transition-delay: var(--stagger-delay, 0s) !important;
}

/* Fast, Instant Card Hover Override (0.2s cubic-bezier & 0s delay) */
@media (hover: hover) and (pointer: fine) {
    .standard-card:hover,
    .bento-card:hover,
    .bento-hero-card:hover,
    .step-card:hover,
    .portfolio-card:hover,
    .portfolio-card-img-wrap:hover,
    .price-row-item:hover,
    .premium-pricing-card:hover,
    .form-container-box:hover {
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.2s ease,
                    border-color 0.2s ease,
                    background 0.2s ease !important;
        transition-delay: 0s !important;
    }
}

/* Reset inner card children so they don't animate independently inside parent cards */
.bento-card .tag-badge,
.bento-card .pill,
.bento-card .badge,
.bento-card .bento-badge,
.bento-hero-card .bento-badge,
.step-card .tag-badge,
.step-card .step-num,
.portfolio-card .portfolio-card-badge {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
}

/* Dedicated Hero Page-Load Reveal Animation */
.hero-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform, filter;
}

.hero-reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Nav Architecture */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    z-index: 1000;
    display: flex;
    align-items: center;
    will-change: width, top, height, border-radius, background, box-shadow;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    top: 14px;
    width: min(92%, 1120px);
    height: 56px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.1);
}

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

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

.nav-right-block {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: var(--text-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: transform 0.25s var(--apple-bezier), background 0.25s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: scale(1.03);
    background: #000000;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }

    .nav-right-block {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-subtle);
        padding: 24px;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    nav.scrolled .nav-right-block {
        top: 64px;
        border-radius: var(--radius-lg);
        width: 100%;
    }

    .nav-right-block.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-left h1 {
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background: var(--text-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    transition: transform 0.25s var(--apple-bezier), background 0.25s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.02);
    background: #000000;
}

.btn-primary:active,
.nav-cta:active {
    transform: scale(0.98) !important;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    transition: transform 0.25s var(--apple-bezier), background 0.25s ease;
    display: inline-block;
}

.btn-secondary:hover {
    transform: scale(1.02);
    background: var(--bg-tertiary);
}

.btn-secondary:active {
    transform: scale(0.98) !important;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-preview-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-img-container {
    position: relative;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    overflow: hidden; /* Essential: hides image while sliding in/out */
}

.hero-img-container img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.04));
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    shape-rendering: geometricPrecision;
    image-rendering: high-quality;
}

/* Slide Out to Left (when moving forward) */
.slide-out-left {
    animation: slideOutLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Slide In from Right (when moving forward) */
.slide-in-right {
    animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Slide Out to Right (when moving backward) */
.slide-out-right {
    animation: slideOutRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Slide In from Left (when moving backward) */
.slide-in-left {
    animation: slideInLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideOutLeft {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-40px); opacity: 0; }
}

@keyframes slideInRight {
    0% { transform: translateX(40px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(40px); opacity: 0; }
}

@keyframes slideInLeft {
    0% { transform: translateX(-40px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Google-style Pill Controls (Positioned Below Image) */
.hero-carousel-controls {
    position: relative;
    margin-top: 12px;
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 99px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-controls button {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1D1D1F;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-controls button:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.08);
}

.hero-carousel-controls button:active {
    transform: scale(0.95) !important;
}

.hero-carousel-controls button svg {
    width: 16px;
    height: 16px;
}

#hero-carousel-counter {
    font-size: 13.5px;
    font-weight: 500;
    color: #6E6E73;
    user-select: none;
    letter-spacing: 0.02em;
}

#hero-carousel-counter strong {
    color: #1D1D1F;
    font-weight: 700;
}

/* Showcase Section - Interactive Comparison Slider */
.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4000 / 2500;
    height: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
    -webkit-user-select: none;
    user-select: none;
    background: #FAFAFC;
}

@media (max-width: 768px) {
    .slider-wrapper {
        aspect-ratio: 4000 / 2500;
        height: auto;
    }
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img img,
.img-before img,
.img-after img {
    width: 100%;
    height: 100%;
    object-fit: fill !important;
    object-position: center;
    transform: translateZ(0);
    backface-visibility: hidden;
    shape-rendering: geometricPrecision;
    image-rendering: high-quality;
}

.img-after {
    width: 50%;
    overflow: hidden;
    border-right: 2px solid #FFFFFF;
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 5;
}

.slider-handle-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 6;
    pointer-events: none;
}

.slider-handle-badge svg {
    width: 18px;
    height: 18px;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-badge-label {
    position: absolute;
    top: 24px;
    z-index: 4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.label-before { left: 24px; }
.label-after { right: 24px; }

/* About Section */
#about,
.about-section {
    background-color: #FFFFFF;
    padding-top: 60px;
    padding-bottom: 90px;
}

.about-top-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.about-hero-title {
    font-size: clamp(38px, 4.2vw, 54px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: var(--text-primary);
}

.about-intro-summary {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-intro-summary strong {
    color: #000000;
    font-weight: 600;
}

/* Bottom Apple Layered Elevation Card */
.about-apple-card {
    background: #F5F5F7;
    border-radius: 28px;
    padding: 36px 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    align-items: center;
}

.bento-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.bento-metric-item:last-child {
    border-right: none;
}

.bento-metric-number {
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #1D1D1F;
    line-height: 1.1;
    margin-bottom: 6px;
}

.bento-metric-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #86868B;
    line-height: 1.4;
    max-width: 220px;
}

/* Responsive Styling for About Section */
@media (max-width: 860px) {
    .about-top-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .about-bento-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bento-metric-item {
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .bento-metric-item:first-child {
        padding-top: 0;
    }

    .bento-metric-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .about-apple-card {
        padding: 28px 24px;
        border-radius: 20px;
    }
}

/* Core Services Section (Pure White Background & Balanced 2x2 Grid) */
#services {
    background-color: #FFFFFF;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 860px) {
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.standard-card {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.standard-card p {
    line-height: 1.55;
    letter-spacing: 0.015em;
}

@media (hover: hover) and (pointer: fine) {
    .standard-card:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-4px);
        border-color: rgba(0, 0, 0, 0.25);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.card-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1F;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-icon-badge svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8px;
}

#services .section-header h2 {
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.standard-num {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 4px;
}

.standard-card h3 {
    color: var(--text-primary);
    font-size: clamp(22px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-top: 14px;
    margin-bottom: 10px;
    padding-right: 40px;
}

.standard-card p {
    color: #515154;
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 0;
    padding-right: 40px;
}

/* Floating Apple Plus Button */
.card-plus-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #000000;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.card-plus-btn:hover {
    transform: scale(1.15);
    background: #1D1D1F;
}

.card-plus-btn:active {
    transform: scale(0.98) !important;
}

/* Apple Interactive Service Detail Modal */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.service-modal.active {
    display: flex;
}

.service-modal-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    max-width: 540px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.service-modal.active .service-modal-card {
    transform: scale(1);
    opacity: 1;
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F7;
    border: none;
    font-size: 16px;
    color: #1D1D1F;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-modal-close:hover {
    background: #E5E5EA;
    transform: scale(1.05);
}

/* Portfolio Section (Apple Camera-Style Interactive Slider) */
#portfolio {
    padding-bottom: 100px;
}

.portfolio-fullwidth-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0 40px 0;
}

.portfolio-track-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.portfolio-track-container::-webkit-scrollbar {
    display: none;
}

.portfolio-track-container.dragging {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.portfolio-track {
    display: flex;
    gap: 32px;
    width: max-content;
    align-items: flex-start;
    padding: 24px 20px !important;
}

/* ── Portfolio Scroll Progress Bar ── */
.portfolio-progress-bar-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.portfolio-progress-track {
    width: clamp(240px, 40vw, 500px);
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
}

.portfolio-progress-indicator {
    height: 100%;
    width: 30%;
    background: #1D1D1F;
    border-radius: 99px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(0);
    transition: transform 0.1s linear;
    will-change: transform;
}

.portfolio-card {
    flex: 0 0 580px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 28px;
}

.portfolio-card-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    background: #FFFFFF;
    border-radius: 20px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.portfolio-card-img-wrap img,
.portfolio-card-img-wrap svg,
.portfolio-card img,
.portfolio-grid img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover !important;
    display: block;
    margin: 0 auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    shape-rendering: geometricPrecision;
    image-rendering: high-quality;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-card:hover .portfolio-card-img-wrap {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 0, 0, 0.14);
    }
}

.portfolio-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    -webkit-user-select: none;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1D1D1F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.portfolio-card-meta {
    padding: 0 6px;
}

.portfolio-card-meta h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1D1D1F;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
}

.portfolio-card-meta p {
    font-size: 13.5px;
    color: #6E6E73;
    line-height: 1.55;
    letter-spacing: 0.015em;
}

@media (max-width: 768px) {
    .portfolio-card {
        flex: 0 0 320px;
    }

    .portfolio-card-img-wrap {
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 20px;
        margin-bottom: 12px;
    }

    .portfolio-card-badge {
        top: 12px;
        left: 12px;
        padding: 4px 10px;
        font-size: 10px;
    }
}

/* High-Res Sample Downloads Section — Apple Minimalist Redesign */
.samples-download-zone {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.samples-download-header {
    text-align: center;
    margin-bottom: 24px;
}

.samples-download-header h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1D1D1F;
    margin-bottom: 4px;
}

.samples-desc {
    font-size: 13px;
    color: #86868B;
    font-weight: 400;
}

.sample-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
}

.sample-card {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

@media (max-width: 900px) {
    .sample-cards-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .sample-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }

    .format-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (hover: hover) and (pointer: fine) {
    .sample-card:hover {
        border-color: rgba(0, 0, 0, 0.25) !important;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.sample-card-info {
    flex: 1 1 auto;
    min-width: 0;
}

.sample-card-info h4 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1D1D1F;
    margin-bottom: 4px;
}

.sample-subtext {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
    line-height: 1.45;
}

/* Standalone Prominent Format Buttons */
.format-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sample-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: #FFFFFF;
    color: #1D1D1F;
    border: 1px solid rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sample-btn.primary-format {
    background: #1D1D1F;
    color: #FFFFFF;
    border: 1px solid #1D1D1F;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) and (pointer: fine) {
    .sample-btn:not(.primary-format):hover {
        background: #F5F5F7;
        color: #1D1D1F;
        border-color: rgba(0, 0, 0, 0.3);
        transform: translateY(-1px);
    }

    .sample-btn.primary-format:hover {
        background: #000000;
        border-color: #000000;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

.sample-btn:active {
    transform: scale(0.97) !important;
}

/* Continuous Zone — Apple Light Gray Theme (iPad Air style) */
.continuous-dark-zone {
    background-color: #F5F5F7;
    color: #1D1D1F;
    width: 100%;
    position: relative;
    padding: 120px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 0;
}

/* Remove previous dark gradient mask */
.continuous-dark-zone::before {
    display: none;
}

.continuous-dark-zone #standards {
    background: transparent;
    padding-top: 0;
    padding-bottom: 60px;
}

.continuous-dark-zone #workflow {
    background: transparent;
    padding-top: 60px;
    padding-bottom: 0;
}

.continuous-dark-zone .section-header h2 {
    color: #1D1D1F !important;
    letter-spacing: -0.025em;
}

.continuous-dark-zone .section-header p {
    color: #515154 !important;
    line-height: 1.5;
}

.continuous-dark-zone h3 {
    color: #1D1D1F !important;
    letter-spacing: -0.02em;
}

.continuous-dark-zone p {
    color: #515154;
}

.bento-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .bento-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bento-specs-grid {
        grid-template-columns: 1fr;
    }
}

.bento-hero-card {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px;
    padding: 44px 48px;
    display: flex;
    align-items: center;
    gap: 36px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bento-hero-card:hover {
        border-color: rgba(0, 0, 0, 0.25) !important;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 768px) {
    .bento-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }
}

.bento-hero-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1F !important;
    stroke: #1D1D1F !important;
    flex-shrink: 0;
}

.bento-hero-icon {
    width: 32px;
    height: 32px;
    color: #1D1D1F !important;
    stroke: #1D1D1F !important;
}

.bento-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #515154;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.bento-hero-body h3 {
    color: #1D1D1F !important;
    margin-bottom: 10px;
}

.bento-hero-body p {
    color: #515154;
    line-height: 1.55;
    letter-spacing: 0.015em;
}

.bento-card {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bento-card:hover {
        border-color: rgba(0, 0, 0, 0.25) !important;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.bento-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.bento-card-icon {
    width: 52px;
    height: 52px;
    background: #F5F5F7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.bento-card-icon svg {
    width: 24px;
    height: 24px;
    color: #1D1D1F !important;
    stroke: #1D1D1F !important;
}

.bento-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1D1D1F !important;
}

.bento-card p {
    color: #515154;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0.015em;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 868px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .step-card:hover {
        border-color: rgba(0, 0, 0, 0.25) !important;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: #F5F5F7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.step-icon svg {
    width: 22px;
    height: 22px;
    color: #1D1D1F !important;
    stroke: #1D1D1F !important;
}

@media (hover: hover) and (pointer: fine) {
    .bento-hero-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    .bento-card:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.12) !important;
    }

    /* Icon micro-interaction on card hover */
    .bento-card:hover .bento-card-icon {
        background: #E5E5EA;
        transform: scale(1.08);
    }

    .step-card:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.12) !important;
    }

    .step-card:hover .step-icon {
        background: #E5E5EA;
        transform: scale(1.08);
    }
}

.step-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #515154;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 0;
}

.step-card h3 {
    color: #1D1D1F !important;
    margin-bottom: 10px;
}

.step-card p {
    color: #515154;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0.015em;
}

.billing-banner {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    color: #1D1D1F;
}

.billing-banner strong {
    color: #1D1D1F !important;
}

.billing-banner p {
    color: #515154;
}

/* Pricing Section */
.pricing-toggle-zone {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pill-toggle {
    display: flex;
    background: #E5E5EA;
    padding: 4px;
    border-radius: var(--radius-pill);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s var(--apple-bezier);
}

.toggle-btn.active {
    background: #FFFFFF;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pricing-master-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.pricing-revisions-note {
    font-size: 13px;
    font-weight: 500;
    color: #1D1D1F;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.revisions-check-icon {
    color: #1D1D1F;
    font-weight: 700;
    font-size: 13px;
}

.premium-pricing-card {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .premium-pricing-card:hover {
        border-color: rgba(0, 0, 0, 0.25) !important;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.pricing-card-title-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-card-title-area h3 {
    font-size: 16px;
    letter-spacing: 0.05em;
}

.pricing-card-title-area span {
    font-size: 12px;
    color: var(--text-muted);
}

.price-list-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-radius: 18px;
    background: #F5F5F7;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .price-row-item:hover {
        background: #FFFFFF;
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.12);
    }
}

.price-item-info h4 {
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.015em;
    color: #1D1D1F;
}

.price-item-info p {
    font-size: 14px;
    color: #6E6E73;
    letter-spacing: 0.015em;
    margin: 0;
}

.price-item-value {
    font-size: 20px;
    font-weight: 700;
    color: #1D1D1F;
    letter-spacing: -0.02em;
    background: #FFFFFF;
    padding: 8px 20px;
    border-radius: 99px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .price-row-item:hover .price-item-value {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
}

.price-sub-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 32px 0 16px 0;
}

.pricing-footnote-list {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    list-style: none;
}

.pricing-footnote-list li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.pricing-footnote-list li strong {
    color: #1D1D1F;
    font-weight: 600;
}

/* Upload Section & Form */
.form-container-box {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 28px;
    padding: 48px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .form-container-box:hover {
        border-color: rgba(0, 0, 0, 0.25) !important;
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #515154;
    letter-spacing: -0.01em;
}

.form-control {
    width: 100%;
    background: #F5F5F7;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 16px 20px;
    color: #1D1D1F;
    font-size: 15px;
    font-family: var(--font-main);
    outline: none;
    transition: all 0.25s ease;
}

.form-control:focus {
    background: #FFFFFF;
    border-color: #1D1D1F;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background: #F5F5F7 url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23515154' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 18px center / 14px !important;
    padding-right: 48px;
    cursor: pointer;
}

select.form-control:focus {
    background: #FFFFFF url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 18px center / 14px !important;
    border-color: #1D1D1F;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.checkbox-label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #1D1D1F;
    background: #F5F5F7;
    padding: 10px 18px 10px 14px;
    border-radius: 99px;
    border: 1px solid transparent;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.25s ease;
    white-space: nowrap !important;
}

.checkbox-label span {
    display: inline-block !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
    .checkbox-label:hover {
        background: #E5E5EA;
    }
}

/* Modern browsers: Highlight the whole pill when checked */
.checkbox-label:has(input:checked) {
    background: #FFFFFF;
    border-color: #1D1D1F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #1D1D1F;
    border-color: #1D1D1F;
}

/* Draw the custom checkmark using CSS */
.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dropzone-area {
    background: #FAFAFC;
    border: 2px dashed rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
    .dropzone-area:hover, .dropzone-area.dragover {
        border-color: #1D1D1F;
        background: #F5F5F7;
        transform: scale(1.01);
    }
}

.dropzone-area p {
    font-size: 15px;
    color: var(--text-secondary);
}

.dropzone-area strong {
    color: var(--text-primary);
    text-decoration: underline;
}

.dropzone-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}

.submit-btn {
    width: 100%;
    background: var(--text-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 99px;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .submit-btn:hover {
        transform: translateY(-2px) scale(1.015);
        background: #000000;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }
}

.submit-btn:active {
    transform: scale(0.98) !important;
}

.direct-channels {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.direct-channels a {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 60px 0 40px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 13px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overscroll-behavior: contain !important;
    overscroll-behavior-x: contain !important;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.lightbox-side-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.lightbox-side-nav-btn svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev-btn { left: 24px; }
.lightbox-next-btn { right: 24px; }

.lightbox-side-nav-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-content-box {
    width: 90vw;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    z-index: 1;
}

.lightbox-viewport {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 75vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.lightbox-img-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    position: relative;
    cursor: zoom-in;
    touch-action: none;
    opacity: 1;
    visibility: visible;
    overscroll-behavior: contain !important;
    overscroll-behavior-x: contain !important;
}

.lightbox-img-wrapper.zoomed {
    cursor: grab;
}

.lightbox-img-wrapper.zoomed.dragging {
    cursor: grabbing;
}

.lightbox-img-wrapper img,
#lightbox-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    shape-rendering: geometricPrecision;
    image-rendering: high-quality;
}

.lightbox-caption {
    margin-top: 10px;
}

.lightbox-caption h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.lightbox-caption p {
    color: #A1A1A6;
    font-size: 14px;
}

@media (max-width: 768px) {
    .lightbox-side-nav-btn {
        width: 44px;
        height: 44px;
    }
    .lightbox-prev-btn { left: 12px; }
    .lightbox-next-btn { right: 12px; }
    .lightbox-close-btn { top: 16px; right: 16px; width: 40px; height: 40px; }
}
