/* ==========================================================================
   adoc Studio - Home Page Styles
   Extends site.css with home-specific components
   ========================================================================== */

/* ==========================================================================
   Typewriter Effect
   ========================================================================== */
.typewriter { display: inline; }

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--color-primary);
    margin-left: 2px;
    vertical-align: baseline;
    position: relative;
    top: 0.1em;
    opacity: 1;
}

.typewriter-cursor.blink {
    animation: cursor-blink 1s step-end infinite;
}

.typewriter-cursor.hidden { opacity: 0; }

.hero__title .typewriter-cursor,
.cta-section__title .typewriter-cursor {
    height: 0.85em;
    position: relative;
    top: 0.05em;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: clamp(600px, 100vh, 1000px);
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: clamp(100px, 15vw, 140px) 0 clamp(60px, 10vw, 100px);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(46, 180, 239, 0.15), transparent 60%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content { padding-top: clamp(40px, 6vw, 80px); }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    corner-shape: squircle;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero__badge--link {
    text-decoration: none;
    transition: var(--transition-base);
}

.hero__badge--link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title { color: white; margin-bottom: 24px; }
.hero__title .accent { color: var(--color-primary); }

.hero__description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero__description .link-animated { color: rgba(255, 255, 255, 0.7); }
.hero__description .link-animated:hover { color: white; }

.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
    padding-top: clamp(40px, 6vw, 80px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: linear-gradient(145deg, #1a2a3a, #0d1a28);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-glow), 0 40px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    corner-shape: squircle;
}

.hero__video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #0f1c2a;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    corner-shape: squircle;
}

.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.hero__video-placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: center;
}

/* ==========================================================================
   Platforms Strip
   ========================================================================== */
.platforms { background: var(--color-dark-blue); padding: 24px 0; }

.platforms__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 5vw, 60px);
    flex-wrap: wrap;
}

.platforms__label {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.platforms__icons { display: flex; gap: clamp(20px, 4vw, 40px); }

.platforms__icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.platforms__icon svg { width: 24px; height: 24px; fill: currentColor; }

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits { background: var(--color-bg-cream); }

.benefits__header {
    text-align: center;
    max-width: var(--content-width-wide);
    margin: 0 auto clamp(40px, 8vw, 80px);
}

.benefits__label {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    margin-bottom: 16px;
}

.benefits__title { margin-bottom: 16px; }

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(24px, 4vw, 40px);
}

.benefit-card {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    corner-shape: squircle;
}

.benefit-card__icon {
    width: clamp(48px, 6vw, 64px);
    height: clamp(48px, 6vw, 64px);
    background: var(--color-bg-light-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-card__icon svg {
    width: clamp(24px, 3vw, 32px);
    height: clamp(24px, 3vw, 32px);
    stroke: var(--color-primary);
    stroke-width: 1.5;
    fill: none;
}

.benefit-card__icon .sf-symbol {
    width: 32px;
    height: 32px;
    filter: invert(29%) sepia(11%) saturate(531%) hue-rotate(176deg) brightness(95%) contrast(89%);
}

.benefit-card__title { margin-bottom: 12px; }
.benefit-card__text { color: var(--color-text-dark); margin-bottom: 0; }

/* ==========================================================================
   Features Section
   ========================================================================== */
.features { background: white; }

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    margin-bottom: clamp(60px, 10vw, 120px);
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature__label {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    margin-bottom: 16px;
}

.feature__title { margin-bottom: 20px; }
.feature__text { color: var(--color-text-dark); margin-bottom: 24px; }
.feature__text .link-animated { color: var(--color-primary); }

.feature__list { list-style: none; margin-bottom: 24px; }

.feature__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.feature__list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature__list .sf-symbol {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.15em;
    filter: var(--filter-primary);
}

.feature__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.feature__link svg { width: 16px; height: 16px; transition: transform 0.3s; }

.feature__link .sf-symbol {
    width: 16px;
    height: 16px;
    filter: var(--filter-primary);
    transition: transform 0.3s;
}

.feature__link:hover svg,
.feature__link:hover .sf-symbol { transform: translateX(4px); }

.feature__image {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    corner-shape: squircle;
}

.feature__image-mockup {
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    corner-shape: squircle;
}

.feature__image .ui-mockup {
    background: transparent;
    box-shadow: none;
}

/* ==========================================================================
   V4 Preview Section
   ========================================================================== */
.v4-preview {
    background: linear-gradient(135deg, #102F48, #000102);
    position: relative;
    overflow: hidden;
}

.v4-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 180, 239, 0.15), transparent 60%);
    pointer-events: none;
}

.v4-preview__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(40px, 8vw, 80px);
    position: relative;
    z-index: 1;
}

.v4-preview__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 180, 239, 0.15);
    border: 1px solid rgba(46, 180, 239, 0.3);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 24px;
    corner-shape: squircle;
}

.v4-preview__badge .sf-symbol {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
    filter: invert(68%) sepia(52%) saturate(1076%) hue-rotate(166deg) brightness(104%) contrast(101%);
}

.v4-preview__title { color: white; margin-bottom: 20px; }

.v4-preview__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.v4-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.v4-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 32px);
    corner-shape: squircle;
}

.v4-feature__icon {
    width: clamp(48px, 5vw, 56px);
    height: clamp(48px, 5vw, 56px);
    background: rgba(46, 180, 239, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.v4-feature__icon svg {
    width: clamp(24px, 2.5vw, 28px);
    height: clamp(24px, 2.5vw, 28px);
    stroke: var(--color-primary);
    stroke-width: 1.5;
    fill: none;
}

.v4-feature__icon .sf-symbol {
    width: 28px;
    height: 28px;
    filter: invert(68%) sepia(52%) saturate(1076%) hue-rotate(166deg) brightness(104%) contrast(101%);
}

.v4-feature__title {
    color: white;
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.v4-feature__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.875rem, 1vw, 0.95rem);
    margin-bottom: 0;
}

/* V4 Feature Links */
.v4-feature--link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.v4-feature--link:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(46, 180, 239, 0.3);
}

.v4-feature--link:hover .v4-feature__title { color: var(--color-primary-light); }

.v4-feature__link-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 600;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: var(--color-primary-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.v4-feature--link:hover .v4-feature__link-text {
    opacity: 1;
    transform: translateX(0);
}

.v4-feature__link-text svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.v4-feature__link-text .sf-symbol {
    width: 14px;
    height: 14px;
    filter: var(--filter-primary);
    transition: transform 0.3s ease;
}

.v4-feature--link:hover .v4-feature__link-text svg,
.v4-feature--link:hover .v4-feature__link-text .sf-symbol { transform: translateX(4px); }

@media (hover: none) {
    .v4-feature--link { transition: none; }
    .v4-feature--link:hover {
        transform: none;
        background: transparent;
        border-color: rgba(255, 255, 255, 0.1);
    }
    .v4-feature__link-text {
        opacity: 1;
        transform: translateX(0);
    }
    .v4-feature--link:active { background: rgba(255, 255, 255, 0.08); }
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing { background: var(--color-bg-cream); }

.pricing__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(24px, 4vw, 40px);
}

.pricing__label {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    margin-bottom: 16px;
}

/* Pricing Toggle */
.pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.pricing__toggle-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    min-width: 70px;
    transition: color 0.2s ease;
}

.pricing__toggle-label[data-period="monthly"] { text-align: right; }
.pricing__toggle-label[data-period="yearly"] { text-align: left; }

.pricing__toggle-label.active {
    color: var(--color-dark-blue);
    font-weight: 600;
}

.pricing__toggle-switch {
    position: relative;
    width: 48px;
    height: 28px;
    background: #d2d2d7;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}

.pricing__toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.pricing__toggle-switch.yearly::after { transform: translateX(20px); }

.pricing__toggle-save { display: none !important; }

/* Pricing numerals */
.pricing__amount,
.pricing__amount span {
    font-variant-numeric: lining-nums tabular-nums;
    font-variant-ligatures: none;
    font-feature-settings: "lnum" 1, "tnum" 1, "liga" 0, "clig" 0, "calt" 0;
}

/* Save badge */
.pricing__card-save {
    font-size: 0.875rem;
    color: transparent;
    font-weight: 600;
    margin-top: 1rem;
    min-height: 1.375em;
}

.pricing__card-save::before { content: '\00a0'; }

body:not(.monthly-pricing) .pricing__card--pro .pricing__card-save { color: #86efac; }

/* Pricing Grid */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(24px, 3vw, 32px);
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    corner-shape: squircle;
}

.pricing-card--featured {
    background: var(--color-dark-blue);
    box-shadow: var(--shadow-glow);
}

.pricing-card--featured .pricing-card__name,
.pricing-card--featured .pricing-card__price { color: white; }

.pricing-card--featured .pricing-card__description,
.pricing-card--featured .pricing-card__features li,
.pricing-card--featured .pricing-card__price-period { color: rgba(255, 255, 255, 0.7); }

.pricing-card--featured .pricing-card__features li svg { stroke: var(--color-primary-light); }
.pricing-card--featured .pricing-card__header { border-bottom-color: rgba(255, 255, 255, 0.1); }

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    corner-shape: squircle;
}

.pricing-card__header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.pricing-card__name {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.pricing-card__description {
    color: var(--color-text-dark);
    font-size: clamp(0.875rem, 1vw, 0.95rem);
    margin-bottom: 16px;
}

.pricing-card__price {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1;
}

.pricing-card__price,
.pricing-card__price span,
.pricing-card__price .monthly-price,
.pricing-card__price .yearly-price {
    font-variant-numeric: lining-nums tabular-nums;
    font-variant-ligatures: none;
    font-feature-settings: "lnum" 1, "tnum" 1, "liga" 0, "clig" 0, "calt" 0;
}

.pricing-card__price .monthly-price { display: none; }
body.monthly-pricing .pricing-card__price .monthly-price { display: inline; }
body.monthly-pricing .pricing-card__price .yearly-price { display: none; }

.pricing-card__price-period { font-size: 1rem; font-weight: 400; color: var(--color-text-dark); }

.pricing-card__features { list-style: none; flex: 1; padding-bottom: 32px; }

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--color-text-dark);
    font-size: clamp(0.875rem, 1vw, 0.95rem);
}

.pricing-card__features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card__cta { width: 100%; margin-top: auto; }
.pricing-card__cta .btn { width: 100%; justify-content: center; }

.pricing__disclaimer {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-dark);
    margin-top: 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ==========================================================================
   References Section
   ========================================================================== */
.references { background: white; padding: clamp(40px, 6vw, 60px) 0; }

.references__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(40px, 6vw, 80px);
    flex-wrap: wrap;
}

.references__logo {
    height: 40px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.references__logo:hover { opacity: 1; }
.references__logo img { height: 100%; width: auto; }

/* ==========================================================================
   CTA Section Extensions
   ========================================================================== */
.cta-section__title .typewriter {
    display: block;
    min-height: 1.2em;
}

.cta-section__title .typewriter-cursor {
    display: inline-block;
    vertical-align: baseline;
}

.cta-section .btn--primary .sf-symbol {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   Language Switcher Button (Footer)
   ========================================================================== */
.footer__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    corner-shape: squircle;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.lang-switcher__icon { width: 18px; height: 18px; opacity: 0.8; }
.lang-switcher__current { font-weight: 600; letter-spacing: 0.02em; }
.lang-switcher__chevron { width: 14px; height: 14px; opacity: 0.6; }

/* ==========================================================================
   Language Modal
   ========================================================================== */
.lang-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lang-modal.is-open { opacity: 1; visibility: visible; }

.lang-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lang-modal__content {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: #1a2535;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-large);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    overflow: hidden;
    corner-shape: squircle;
}

.lang-modal.is-open .lang-modal__content { transform: scale(1) translateY(0); }

.lang-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-modal__title { font-size: 1.125rem; font-weight: 600; color: white; margin: 0; }

.lang-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-base);
    corner-shape: squircle;
}

.lang-modal__close:hover { background: rgba(255, 255, 255, 0.15); color: white; }
.lang-modal__close svg { width: 18px; height: 18px; }

.lang-modal__options { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
    corner-shape: squircle;
}

.lang-option:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.lang-option--active { background: rgba(46, 180, 239, 0.15); color: white; }
.lang-option--active:hover { background: rgba(46, 180, 239, 0.2); }
.lang-option__flag { font-size: 1.75rem; line-height: 1; }
.lang-option__details { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.lang-option__name { font-size: 0.9375rem; font-weight: 600; color: white; }
.lang-option__native { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }
.lang-option--active .lang-option__native { color: rgba(255, 255, 255, 0.7); }
.lang-option__check { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }

/* ==========================================================================
   Footer Extensions
   ========================================================================== */
.footer__logo-divider { color: rgba(255, 255, 255, 0.3); font-weight: 400; }

.footer__newsletter h4 {
    color: var(--color-primary-light);
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.footer__newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer__newsletter-form { display: flex; gap: 8px; }

.footer__newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-main);
}

.footer__newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter-input:focus { outline: none; border-color: var(--color-primary); }

.footer__newsletter-btn {
    padding: 12px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
}

.footer__newsletter-btn:hover { background: var(--color-primary-dark); }

.footer__column-chevron { display: none; }

/* ==========================================================================
   KirbyTag: Button Styles
   ========================================================================== */
.btn-wrapper { margin: 1.5rem 0; }
.btn-wrapper.left { text-align: left; }
.btn-wrapper.center { text-align: center; }
.btn-wrapper.right { text-align: right; }

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-glow);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--color-dark-blue);
    color: white;
    border: 2px solid var(--color-dark-blue);
}

.btn-dark:hover {
    background: transparent;
    color: var(--color-dark-blue);
}

.btn-icon { width: 20px; height: 20px; margin-right: 8px; }

/* ==========================================================================
   KirbyTag: PageIntro & Columns
   ========================================================================== */
.pageintro {
    max-width: var(--content-width-wide);
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}

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

.pageintro-centered {
    max-width: var(--content-width-wide);
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}

.pageintro-centered p:last-child { margin-bottom: 0; }

.columns { display: grid; gap: 2rem; margin: 2rem 0; }
.columns-2 { grid-template-columns: repeat(2, 1fr); }
.columns-3 { grid-template-columns: repeat(3, 1fr); }
.columns-4 { grid-template-columns: repeat(4, 1fr); }
.column { min-width: 0; }

/* ==========================================================================
   Checkmark Colors
   ========================================================================== */
.benefit-card__icon svg,
.feature__list li svg,
.pricing-card__features li svg { stroke: var(--color-primary); }

.pricing-card--featured .pricing-card__features li svg { stroke: var(--color-primary); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__content {
        max-width: 600px;
        margin: 0 auto;
    }
    .hero__video-wrapper { max-width: 100%; }
    .hero__buttons { justify-content: center; }
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: span 3; max-width: none; }
}

@media (max-width: 900px) {
    .feature-row--reverse { direction: ltr; }
    .feature__content { max-width: 100%; }
    .v4-features { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
    .footer__actions { flex-direction: column; gap: 16px; }
    .footer__legal { order: 2; }
    .lang-switcher { order: 1; }
}

@media (max-width: 768px) {
    .columns-2,
    .columns-3,
    .columns-4 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero__buttons { gap: 12px; }
    .hero__buttons .btn--large { padding: 12px 16px; font-size: 0.9rem; }
    .hero__video-wrapper { border-radius: var(--radius-md); }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__brand { grid-column: span 1; }
    .references__logos { gap: 24px; }
    .references__logo { height: 32px; }
    .lang-modal__content { max-width: 100%; margin: 0 16px; }

    /* Footer Accordion Mobile */
    .footer__column { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .footer__column:last-child { border-bottom: none; }
    .footer__column-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        cursor: pointer;
    }
    .footer__column-toggle h4 { margin-bottom: 0; }
    .footer__column-chevron {
        display: block;
        width: 20px;
        height: 20px;
        color: rgba(255, 255, 255, 0.4);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    .footer__column.is-open .footer__column-chevron { transform: rotate(180deg); }
    .footer__links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding-bottom: 0;
    }
    .footer__column.is-open .footer__links {
        max-height: 300px;
        padding-bottom: 16px;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .v4-feature--link.animate-on-scroll {
        transition-duration: 0.1s;
        transition-delay: 0s !important;
        pointer-events: auto !important;
    }
    .v4-feature--link.animate-on-scroll:not(.is-visible) {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Dark Mode Support
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    /* Platforms Section */
    .platforms { background: #102F48; }

    /* Benefits Section */
    .benefits { background: #1c1c1e; }
    .benefit-card { background: #2c2c2e; }
    .benefit-card__icon { background: rgba(46, 180, 239, 0.15); }
    .benefit-card__icon .sf-symbol {
        filter: brightness(0) saturate(100%) invert(59%) sepia(89%) saturate(491%) hue-rotate(156deg) brightness(98%) contrast(91%);
    }
    .benefit-card__title { color: #f5f5f7; }

    /* Features Section */
    .features { background: #0c0c0c; }
    .feature-row:nth-child(even) {
        background: #0d0d0d;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: clamp(40px, 6vw, 60px) calc(50vw - 50%);
    }
    .feature__image { background: #131313; }
    .feature__title { color: #f5f5f7; }
    .feature__list li .sf-symbol {
        filter: var(--filter-primary);
    }

    /* Pricing Section */
    .pricing { background: #1c1c1e; }
    .pricing-card { background: #2c2c2e; }
    .pricing-card__name,
    .pricing-card__price { color: #f5f5f7; }
    .pricing-card__header { border-bottom-color: rgba(255, 255, 255, 0.1); }
    .pricing__toggle-label { color: #6e6e73; }
    .pricing__toggle-label.active { color: #f5f5f7; }
    .pricing__toggle-switch { background: #3c3c3e; }
    .pricing__toggle-switch::after { background: #f5f5f7; }

    /* References - hidden in dark mode */
    .references { display: none; }

    /* Gallery Dark Mode */
    .gallery-carousel { background: #2c2c2e; }
    .gallery-caption { background: rgba(255, 255, 255, 0.05); }
    .gallery-nav { background: rgba(255, 255, 255, 0.15); }
    .gallery-nav:hover { background: rgba(255, 255, 255, 0.25); }
    .gallery-nav svg { color: #f5f5f7; }
    .gallery-indicators { background: rgba(255, 255, 255, 0.05); }
    .gallery-indicator { background: rgba(255, 255, 255, 0.3); }
}
