/* =============================================
   EDUTRICK Parent Home — page styles
   Uses design tokens from public/css/app.css
   Prefix: .eh-* (edutrick-home)
   ============================================= */

/* ============= HERO — Cinematic full-screen with video bg ============= */
.eh-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Subtle border accent at bottom */
.eh-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
    z-index: 6;
}

/* ----- Video background ----- */
.eh-hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.eh-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    animation: ehHeroZoom 30s ease-in-out infinite alternate;
}

@keyframes ehHeroZoom {
    from { transform: scale(1.04) translate(0, 0); }
    to   { transform: scale(1.14) translate(-1%, -2%); }
}

/* ----- Multi-layer overlays for premium feel ----- */

/* 1. Vignette — radial darkness from edges */
.eh-hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.55) 80%,
        rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* 2. Top gradient — dark fade from top so navbar sits clean */
.eh-hero-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* 3. Bottom gradient — fade into the next section + grounds the type */
.eh-hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(0deg,
        var(--bg-primary) 0%,
        rgba(0, 0, 0, 0.85) 25%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* 4. Brand color wash — orange tint on top */
.eh-hero-color-wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 75% 18%, rgba(255, 75, 34, 0.22), transparent 70%),
        radial-gradient(800px 400px at 18% 80%, rgba(99, 102, 241, 0.18), transparent 70%);
    z-index: 3;
    mix-blend-mode: screen;
}

/* 5. Scanlines for cinematic texture */
.eh-hero-scanlines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.02) 0,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    z-index: 4;
    pointer-events: none;
}

/* 6. Grain texture — subtle noise via SVG */
.eh-hero-grain {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.45'/></svg>");
    opacity: 0.18;
    mix-blend-mode: overlay;
    z-index: 5;
    pointer-events: none;
    animation: ehGrainShift 6s steps(4) infinite;
}

@keyframes ehGrainShift {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-4%, 2%); }
    50%  { transform: translate(3%, -2%); }
    75%  { transform: translate(-2%, -3%); }
    100% { transform: translate(0, 0); }
}

/* ----- Content layer ----- */
.eh-hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    padding: var(--space-2xl) var(--space-lg);
}

/* Initial state — content hidden until loaded class applied */
.eh-hero-container > * {
    opacity: 0;
}
.eh-hero-container.eh-loaded > * {
    animation: ehHeroIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.eh-hero-container.eh-loaded > *:nth-child(1) { animation-delay:    0ms; }
.eh-hero-container.eh-loaded > *:nth-child(2) { animation-delay:  150ms; }
.eh-hero-container.eh-loaded > *:nth-child(3) { animation-delay:  300ms; }
.eh-hero-container.eh-loaded > *:nth-child(4) { animation-delay:  600ms; }
.eh-hero-container.eh-loaded > *:nth-child(5) { animation-delay:  900ms; }
.eh-hero-container.eh-loaded > *:nth-child(6) { animation-delay: 1100ms; }

@keyframes ehHeroIn {
    from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0);   filter: blur(0);    }
}

/* Top brand mark — small label with lines */
.eh-hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.eh-hero-mark-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
}

.eh-hero-mark-line:last-child {
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.4));
}

.eh-hero-mark-text {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

/* Badge — refined glass pill */
.eh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-2xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    letter-spacing: 0.03em;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eh-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--accent-primary), 0 0 24px var(--accent-primary);
    animation: ehPulse 1.8s ease-in-out infinite;
}

@keyframes ehPulse {
    0%, 100% { opacity: 1; transform: scale(1);  box-shadow: 0 0 16px var(--accent-primary), 0 0 24px var(--accent-primary); }
    50%      { opacity: 0.6; transform: scale(1.5); box-shadow: 0 0 24px var(--accent-primary), 0 0 36px var(--accent-primary); }
}

/* Massive cinematic title */
.eh-hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.045em;
    color: white;
    margin: 0 0 var(--space-xl);
    font-size: clamp(3rem, 11vw, 9rem);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5),
                 0 1px 0 rgba(255, 255, 255, 0.05);
}

.eh-hero-line-1 {
    display: block;
    color: white;
    text-shadow:
        0 4px 24px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(0, 0, 0, 0.4);
}

.eh-hero-line-2 {
    display: block;
    background: linear-gradient(135deg, #ffb380 0%, var(--accent-primary) 35%, #ff8552 70%, #ffc699 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ehGradientShift 8s ease infinite;
    filter: drop-shadow(0 4px 40px rgba(255, 75, 34, 0.5));
}

@keyframes ehGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Subtitle */
.eh-hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

/* CTAs — Hero specific, override generic ones */
.eh-hero-ctas {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.eh-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 500ms cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.eh-hero-cta-primary {
    background: linear-gradient(135deg, var(--accent-primary), #ff8552);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 12px 32px rgba(255, 75, 34, 0.45),
        0 0 0 1px rgba(255, 75, 34, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.eh-hero-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff8552, var(--accent-primary));
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: -1;
}

.eh-hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 48px rgba(255, 75, 34, 0.6),
        0 0 0 1px rgba(255, 75, 34, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.eh-hero-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition: transform 400ms ease;
}

.eh-hero-cta-primary:hover .eh-hero-cta-arrow {
    transform: translateY(3px) rotate(360deg);
}

.eh-hero-cta-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eh-hero-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
}

/* Stats — clean bar */
.eh-hero-stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    padding: var(--space-md) var(--space-2xl);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.eh-hero-stat {
    text-align: center;
    min-width: 110px;
}

.eh-hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
}

.eh-hero-stat-num span {
    color: var(--accent-primary);
    font-size: 0.7em;
    margin-inline-start: 2px;
}

.eh-hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eh-hero-stat-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ----- Side rails — vertical brand text ----- */
.eh-hero-rail {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    pointer-events: none;
}

.eh-hero-rail-left  { left:  var(--space-lg); transform: translateY(-50%) rotate(180deg); }
.eh-hero-rail-right { right: var(--space-lg); }

.eh-hero-rail-text {
    display: inline-block;
}

@media (max-width: 900px) {
    .eh-hero-rail { display: none; }
}

/* ----- Corner info ----- */
.eh-hero-corner {
    position: absolute;
    bottom: var(--space-xl);
    z-index: 11;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.eh-hero-corner-left  { left:  var(--space-2xl); }
.eh-hero-corner-right { right: var(--space-2xl); }

.eh-hero-corner-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px #22c55e;
    animation: ehPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .eh-hero-corner { display: none; }
}

/* ----- Scroll indicator — minimal line ----- */
.eh-hero-scroll {
    position: absolute;
    bottom: var(--space-3xl);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    z-index: 11;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.eh-hero-scroll-line {
    display: none;
}

.eh-hero-scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background: var(--accent-primary);
    box-shadow: 0 0 12px var(--accent-primary);
    animation: ehScrollDot 2s ease-in-out infinite;
}

@keyframes ehScrollDot {
    0%, 100% { top: -16px; }
    50%      { top: 50px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .eh-hero-video,
    .eh-hero-grain,
    .eh-hero-line-2,
    .eh-hero-badge-dot,
    .eh-hero-corner-dot,
    .eh-hero-scroll-dot { animation: none; }
}

/* ============= CTAs (shared) ============= */
.eh-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.eh-cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 75, 34, 0.3);
}

.eh-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 75, 34, 0.45);
}

.eh-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.eh-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.eh-cta-ghost {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.eh-cta-ghost:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 75, 34, 0.35);
}

/* ============= SECTIONS ============= */
.eh-section {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background: var(--bg-primary);
    position: relative;
}

.eh-section-alt {
    background: var(--bg-secondary);
}

.eh-section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.eh-section-eyebrow {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: var(--space-md);
}

.eh-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 0 0 var(--space-lg);
}

.eh-section-title .eh-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eh-section-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.eh-section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ============= DOMAINS (3 cards) ============= */
.eh-domains {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .eh-domains {
        grid-template-columns: repeat(3, 1fr);
    }
}

.eh-domain {
    position: relative;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eh-domain::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 75, 34, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.eh-domain:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 75, 34, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 75, 34, 0.15);
}

.eh-domain:hover::before {
    opacity: 1;
}

.eh-domain > * {
    position: relative;
    z-index: 1;
}

.eh-domain-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 75, 34, 0.15), rgba(255, 75, 34, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-base);
}

.eh-domain:hover .eh-domain-icon {
    transform: scale(1.08) rotate(-5deg);
}

.eh-domain-tag {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.eh-domain-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0 0 var(--space-md);
}

.eh-domain-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: var(--space-lg);
}

.eh-domain-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-primary);
}

.eh-domain-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.eh-domain-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-primary);
    transition: gap var(--transition-fast);
}

.eh-domain:hover .eh-domain-arrow {
    gap: 12px;
}

/* ============= PLATFORMS GRID ============= */
.eh-platforms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .eh-platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.eh-platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.eh-platform-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 75, 34, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.eh-platform-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eh-platform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.eh-platform-card:hover .eh-platform-image img {
    transform: scale(1.05);
}

.eh-platform-logo-bg img {
    width: 64%;
    height: auto;
    object-fit: contain;
    padding: var(--space-lg);
}

.eh-platform-placeholder {
    background: var(--gradient-primary);
}

.eh-platform-content {
    padding: var(--space-lg);
}

.eh-platform-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.eh-platform-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eh-platform-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.eh-platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

/* ============= VIDEOS GRID ============= */
.eh-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .eh-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .eh-videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.eh-video-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.eh-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    background: var(--bg-card);
}

.eh-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.eh-video-card:hover .eh-video-thumb img {
    transform: scale(1.08);
}

.eh-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.eh-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
    box-shadow: 0 8px 24px rgba(255, 75, 34, 0.4);
}

.eh-video-card:hover .eh-video-play {
    transform: translate(-50%, -50%) scale(1);
}

.eh-video-tag {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
}

.eh-video-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-top: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============= ABOUT ============= */
.eh-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .eh-about-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.eh-about-content .eh-section-eyebrow {
    margin-bottom: var(--space-md);
}

.eh-about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: var(--space-lg) 0 var(--space-2xl);
}

.eh-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.eh-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.eh-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 75, 34, 0.25);
    transform: translateX(4px);
}

.eh-feature h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.eh-feature p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.eh-about-visual {
    position: relative;
}

.eh-about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(255, 75, 34, 0.08), rgba(255, 138, 107, 0.03));
    border: 1px solid rgba(255, 75, 34, 0.2);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.eh-about-stat {
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    text-align: center;
}

.eh-about-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.eh-about-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============= CONTACT CTA SECTION ============= */
.eh-cta-section {
    position: relative;
    overflow: hidden;
}

.eh-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eh-cta-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
}

.eh-cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem);
    background: var(--bg-card);
    border: 1px solid rgba(255, 75, 34, 0.3);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: 0 0 80px rgba(255, 75, 34, 0.15);
    position: relative;
    overflow: hidden;
}

.eh-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 75, 34, 0.06), transparent 60%);
    pointer-events: none;
}

.eh-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 var(--space-md);
    position: relative;
}

.eh-cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 auto var(--space-2xl);
    max-width: 600px;
    position: relative;
}

.eh-cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============= ANIMATIONS ============= */
@keyframes ehFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= STUDIOS SHOWCASE (Bento + Video) ============= */
.eh-studios-section {
    background: var(--bg-secondary);
}

/* Video Hero */
.eh-studio-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    background: black;
    margin-bottom: var(--space-2xl);
    box-shadow: 0 30px 80px -20px rgba(255, 75, 34, 0.4);
}

.eh-studio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.eh-studio-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 6, 8, 0.2) 50%, var(--bg-secondary) 100%);
    pointer-events: none;
}

.eh-studio-video-meta {
    position: absolute;
    bottom: clamp(1rem, 3vw, 2rem);
    left: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    z-index: 2;
    transition: opacity 180ms ease;
}

.eh-studio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    background: rgba(6, 6, 8, 0.72);
    color: white;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.eh-studio-play:hover {
    border-color: var(--accent-primary);
    transform: translate(-50%, -50%) scale(1.04);
}

.eh-studio-play-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-primary);
}

.eh-studio-play-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.eh-studio-video-wrap.is-playing .eh-studio-play {
    opacity: 0;
    pointer-events: none;
}

.eh-studio-video-wrap.is-playing .eh-studio-video-meta {
    opacity: 0;
}

.eh-studio-video-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-md);
}

.eh-studio-video-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin: 0;
    max-width: 700px;
}

/* Highlights row */
.eh-studio-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .eh-studio-highlights { grid-template-columns: repeat(3, 1fr); }
}

.eh-studio-highlight {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    animation: ehFadeInUp 600ms ease-out forwards;
    transition: all var(--transition-base);
}

.eh-studio-highlight:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 75, 34, 0.4);
}

.eh-studio-highlight-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.eh-studio-highlight h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm);
}

.eh-studio-highlight p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Bento gallery */
.eh-studio-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .eh-studio-bento {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 160px;
        gap: var(--space-md);
    }
    .eh-bento-item-1  { grid-column: span 2; grid-row: span 2; }
    .eh-bento-item-4  { grid-column: span 2; }
    .eh-bento-item-6  { grid-row: span 2; }
    .eh-bento-item-10 { grid-column: span 2; }
}

.eh-bento-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    aspect-ratio: 1;
    transition: transform var(--transition-base);
}

@media (min-width: 768px) {
    .eh-bento-item { aspect-ratio: auto; }
}

.eh-bento-item:hover {
    transform: scale(1.02);
    border-color: rgba(255, 75, 34, 0.4);
    z-index: 2;
}

.eh-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.eh-bento-item:hover img {
    transform: scale(1.08);
}

/* ============= APP SHOWCASE (Phone Frames Slider) ============= */
.eh-showcase-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.eh-showcase-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.eh-showcase-orb-1,
.eh-showcase-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
}

.eh-showcase-orb-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -150px;
    background: var(--accent-primary);
}

.eh-showcase-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -100px;
    background: #6366f1;
    opacity: 0.18;
}

/* Tabs */
.eh-showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.eh-showcase-tab {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.eh-showcase-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.eh-showcase-tab-active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(255, 75, 34, 0.35);
}

/* Meta row (count + arrows) */
.eh-showcase-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.eh-showcase-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.eh-showcase-count strong {
    color: var(--accent-primary);
    font-weight: 800;
}

.eh-showcase-controls {
    display: flex;
    gap: var(--space-sm);
}

.eh-showcase-controls button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.eh-showcase-controls button:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: scale(1.05);
}

/* Slider track */
.eh-showcase-track-wrap {
    overflow: hidden;
    margin: 0 calc(var(--space-md) * -1);
    padding: 0 var(--space-md) var(--space-2xl);
}

.eh-showcase-track {
    display: flex;
    transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.eh-showcase-page {
    flex-shrink: 0;
    width: 100%;
    display: grid;
    gap: var(--space-lg) var(--space-md);
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
}

@media (min-width: 640px)  { .eh-showcase-page { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .eh-showcase-page { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .eh-showcase-page { grid-template-columns: repeat(4, 1fr); } }

/* Phone frame */
.eh-phone {
    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    aspect-ratio: 9 / 19.5;
    background: #0a0a0a;
    border: 8px solid #1a1a1a;
    border-radius: 2.25rem;
    padding: 4px;
    box-shadow: 0 20px 60px -15px rgba(255, 75, 34, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.eh-phone:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px -15px rgba(255, 75, 34, 0.55);
}

.eh-phone-notch {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: black;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.eh-phone-screen {
    width: 100%;
    height: 100%;
    background: #18181b;
    border-radius: 1.85rem;
    overflow: hidden;
}

.eh-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.eh-phone-label {
    position: absolute;
    bottom: -32px;
    left: 0;
    right: 0;
    text-align: center;
}

.eh-phone-label span {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
}

/* Dots */
.eh-showcase-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
}

.eh-showcase-dots button {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.eh-showcase-dots button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.eh-showcase-dots .eh-dot-active {
    width: 32px;
    background: var(--gradient-primary);
}

/* Continuous app screenshot strip */
.eh-showcase-section .eh-section-cta {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.eh-screens-inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin: 0 0 var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-primary);
    color: var(--text-secondary);
}

.eh-screens-inline-header span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.eh-screens-inline-header svg {
    width: 17px;
    height: 17px;
    color: var(--accent-primary);
}

.eh-screens-inline-header small {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.eh-screens-marquee {
    position: relative;
    width: 100vw;
    margin-top: 0;
    margin-inline-start: calc(50% - 50vw);
    overflow: hidden;
    direction: ltr;
}

.eh-screens-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ehScreensMarquee 32s linear infinite;
}

.eh-screens-marquee-row {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    gap: clamp(12px, 1.4vw, 18px);
    padding-inline-end: clamp(12px, 1.4vw, 18px);
}

.eh-screen-marquee-item {
    width: clamp(115px, 12vw, 155px);
    flex-shrink: 0;
    color: var(--text-secondary);
    text-align: center;
    text-decoration: none;
    direction: rtl;
}

.eh-screen-marquee-item .eh-phone {
    max-width: none;
}

.eh-screen-marquee-item > span {
    display: inline-flex;
    margin-top: 10px;
    padding: 4px 9px;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--bg-card) 86%, transparent);
    font-size: 0.6rem;
    font-weight: 700;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.eh-screen-marquee-item:hover > span {
    border-color: rgba(255, 75, 34, 0.55);
    color: var(--accent-primary);
}

.eh-screens-marquee-fade {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    width: clamp(40px, 9vw, 150px);
    pointer-events: none;
}

.eh-screens-marquee-fade-start {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.eh-screens-marquee-fade-end {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

@keyframes ehScreensMarquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
    .eh-screens-marquee-track {
        animation-duration: 24s;
    }

    .eh-screen-marquee-item .eh-phone {
        border-width: 5px;
        border-radius: 1.5rem;
    }

    .eh-screens-inline-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eh-screens-marquee {
        overflow-x: auto;
    }

    .eh-screens-marquee-track {
        animation: none;
    }

    .eh-screens-marquee-row[aria-hidden="true"] {
        display: none;
    }
}

/* ============= MARQUEE STRIP ============= */
.eh-marquee-wrap {
    position: relative;
    margin-top: clamp(2rem, 4vw, 4rem);
    padding: var(--space-2xl) 0;
    overflow: hidden;
    background: linear-gradient(180deg, transparent, rgba(255, 75, 34, 0.04), transparent);
}

.eh-marquee {
    display: flex;
    width: max-content;
    animation: ehMarqueeScroll 60s linear infinite;
    will-change: transform;
}

/* Pause on hover */
.eh-marquee-wrap:hover .eh-marquee {
    animation-play-state: paused;
}

.eh-marquee-track {
    display: flex;
    gap: var(--space-lg);
    padding: 0 var(--space-md);
    flex-shrink: 0;
}

.eh-marquee-item {
    flex-shrink: 0;
}

.eh-marquee-phone {
    position: relative;
    width: 140px;
    aspect-ratio: 9 / 19.5;
    background: #0a0a0a;
    border: 6px solid #1a1a1a;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(255, 75, 34, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.04);
}

.eh-marquee-notch {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 12px;
    background: black;
    border-radius: 0 0 8px 8px;
    z-index: 2;
}

.eh-marquee-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    background: #18181b;
}

/* Edge fades */
.eh-marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    pointer-events: none;
    z-index: 5;
}

.eh-marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.eh-marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* RTL: scroll the opposite direction so it still feels natural */
[dir="rtl"] .eh-marquee {
    animation-name: ehMarqueeScrollRtl;
}

@keyframes ehMarqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes ehMarqueeScrollRtl {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* Speed up on smaller screens (less to scroll) */
@media (max-width: 768px) {
    .eh-marquee { animation-duration: 40s; }
    .eh-marquee-phone { width: 110px; border-width: 5px; border-radius: 1.25rem; }
    .eh-marquee-notch { width: 36px; height: 10px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .eh-marquee { animation: none; }
}

/* ============= Platform tab logo ============= */
.eh-tab-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 2px;
    margin-inline-end: 8px;
    vertical-align: middle;
}
.eh-showcase-tab { display: inline-flex; align-items: center; }

/* =============================================
   NEW SECTIONS (Codex prompt 03)
   ============================================= */

.hs-ai-section,
.hs-mkt-section,
.hs-join-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.hs-ai-section {
    background:
        radial-gradient(circle at 78% 40%, rgba(255, 75, 34, 0.09), transparent 32rem),
        var(--bg-secondary);
}

.hs-mkt-section {
    background: var(--bg-primary);
}

.hs-join-section {
    background:
        radial-gradient(circle at 50% 60%, rgba(99, 102, 241, 0.08), transparent 38rem),
        var(--bg-secondary);
}

.hs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hs-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: var(--radius-full);
}

.hs-title {
    display: flex;
    flex-direction: column;
    gap: 0.12em;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 7vw, 4.75rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin: 0 0 var(--space-lg);
}

.hs-accent {
    background: linear-gradient(135deg, var(--accent-primary), #ff9a70);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

.hs-lead {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.9;
    margin: 0;
    max-width: 680px;
}

.hs-section-header {
    margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
    max-width: 820px;
    text-align: center;
}

.hs-section-header .hs-eyebrow {
    justify-content: center;
}

.hs-section-header .hs-title {
    align-items: center;
}

.hs-section-header .hs-lead {
    margin-inline: auto;
}

.hs-merge-divider {
    background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
    border: 0;
    height: 1px;
    margin: clamp(3.5rem, 8vw, 6rem) 0;
}

.hs-apps-subheader {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.hs-apps-subheader .hs-eyebrow {
    justify-content: center;
}

.hs-apps-subheader h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    margin: 0;
}

.hs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.hs-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    justify-content: center;
    min-height: 52px;
    padding: 0.8rem 1.55rem;
    text-decoration: none;
    transition: transform 250ms ease, border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.hs-button:hover {
    transform: translateY(-3px);
}

.hs-button-primary {
    background: linear-gradient(135deg, var(--accent-primary), #ff744f);
    box-shadow: 0 12px 30px rgba(255, 75, 34, 0.3);
    color: #fff;
}

.hs-button-primary:hover {
    box-shadow: 0 18px 38px rgba(255, 75, 34, 0.44);
}

.hs-button-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

.hs-button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 75, 34, 0.35);
}

/* AI Assistant */
.hs-ai-grid {
    display: grid;
    gap: clamp(3rem, 8vw, 7rem);
}

.hs-ai-content {
    position: relative;
    z-index: 2;
}

.hs-ai-features {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.hs-ai-feature {
    align-items: center;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}

.hs-ai-feature:hover {
    background: rgba(255, 75, 34, 0.055);
    border-color: rgba(255, 75, 34, 0.3);
    transform: translateX(-4px);
}

.hs-ai-feature-icon {
    align-items: center;
    background: rgba(255, 75, 34, 0.12);
    border: 1px solid rgba(255, 75, 34, 0.24);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    display: flex;
    flex: 0 0 auto;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.hs-ai-feature-icon svg {
    height: 21px;
    width: 21px;
}

.hs-ai-feature strong,
.hs-ai-feature small {
    display: block;
}

.hs-ai-feature strong {
    color: var(--text-primary);
    font-size: 0.98rem;
    margin-bottom: 0.18rem;
}

.hs-ai-feature small {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.hs-ai-stats {
    border-block: 1px solid var(--border-primary);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: var(--space-xl);
    padding: var(--space-lg) 0;
}

.hs-ai-stats > div {
    padding-inline: var(--space-sm);
    text-align: center;
}

.hs-ai-stats > div + div {
    border-inline-start: 1px solid var(--border-primary);
}

.hs-ai-stats strong,
.hs-ai-stats small {
    display: block;
}

.hs-ai-stats strong {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 900;
}

.hs-ai-stats strong span {
    color: var(--accent-primary);
    font-size: 0.55em;
}

.hs-ai-stats small {
    color: var(--text-muted);
    font-size: 0.68rem;
    margin-top: 0.25rem;
}

.hs-ai-visual {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 560px;
    position: relative;
}

.hs-ai-glow {
    background: radial-gradient(circle, rgba(255, 75, 34, 0.3), rgba(255, 75, 34, 0.05) 45%, transparent 70%);
    filter: blur(8px);
    inset: 5% -10%;
    position: absolute;
}

.hs-ai-phone {
    background: #0b141a;
    border: 8px solid #171c22;
    border-radius: 2.3rem;
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 70px rgba(255, 75, 34, 0.12);
    max-width: 390px;
    min-height: 610px;
    overflow: hidden;
    position: relative;
    transform: rotate(2deg);
    width: min(100%, 390px);
}

.hs-ai-phone::before {
    background: #06080a;
    border-radius: 0 0 0.7rem 0.7rem;
    content: '';
    height: 16px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 96px;
    z-index: 4;
}

.hs-ai-phone-top {
    align-items: center;
    background: #202c33;
    color: #fff;
    display: flex;
    gap: var(--space-sm);
    padding: 1.45rem 1rem 0.9rem;
}

.hs-ai-phone-top > svg {
    height: 18px;
    margin-inline-start: auto;
    opacity: 0.7;
    width: 18px;
}

.hs-ai-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--accent-primary), #ff8a65);
    border-radius: 50%;
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.hs-ai-avatar svg {
    height: 21px;
    width: 21px;
}

.hs-ai-contact strong,
.hs-ai-contact small {
    display: block;
}

.hs-ai-contact strong {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.hs-ai-contact small {
    color: #25d366;
    font-size: 0.65rem;
    margin-top: 0.1rem;
}

.hs-ai-chat {
    background:
        linear-gradient(rgba(11, 20, 26, 0.92), rgba(11, 20, 26, 0.92)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 485px;
    padding: 1.5rem 1rem;
}

.hs-ai-bubble {
    border-radius: 0.8rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    line-height: 1.75;
    max-width: 84%;
    opacity: 0;
    padding: 0.72rem 0.9rem;
    transform: translateY(10px);
}

.hs-ai-bubble-student {
    align-self: flex-start;
    background: #202c33;
    border-bottom-right-radius: 0.2rem;
}

.hs-ai-bubble-bot {
    align-self: flex-end;
    background: #4a241b;
    border-bottom-left-radius: 0.2rem;
}

.hs-ai-bubble:nth-child(1) { animation: hsChatIn 500ms 100ms ease forwards; }
.hs-ai-bubble:nth-child(2) { animation: hsChatIn 500ms 300ms ease forwards; }
.hs-ai-bubble:nth-child(3) { animation: hsChatIn 500ms 500ms ease forwards; }
.hs-ai-bubble:nth-child(4) { animation: hsChatIn 500ms 700ms ease forwards; }

@supports (animation-timeline: view()) {
    .hs-ai-bubble {
        animation-delay: 0ms;
        animation-timeline: view();
        animation-range: entry 5% cover 32%;
    }

    .hs-ai-bubble:nth-child(2) { animation-range: entry 10% cover 36%; }
    .hs-ai-bubble:nth-child(3) { animation-range: entry 15% cover 40%; }
    .hs-ai-bubble:nth-child(4) { animation-range: entry 20% cover 44%; }
}

@keyframes hsChatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hs-ai-typing {
    align-items: center;
    align-self: flex-end;
    background: #202c33;
    border-radius: var(--radius-full);
    display: flex;
    gap: 4px;
    padding: 0.65rem 0.8rem;
}

.hs-ai-typing span {
    animation: hsTyping 1.2s infinite ease-in-out;
    background: #25d366;
    border-radius: 50%;
    height: 5px;
    width: 5px;
}

.hs-ai-typing span:nth-child(2) { animation-delay: 150ms; }
.hs-ai-typing span:nth-child(3) { animation-delay: 300ms; }

@keyframes hsTyping {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.hs-ai-compose {
    align-items: center;
    background: #202c33;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    font-size: 0.72rem;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.hs-ai-compose svg {
    color: var(--accent-primary);
    height: 18px;
    width: 18px;
}

/* Marketing */
.hs-mkt-decor {
    color: rgba(99, 102, 241, 0.035);
    font-family: var(--font-display);
    font-size: clamp(18rem, 45vw, 42rem);
    font-weight: 900;
    left: -0.05em;
    line-height: 0.7;
    pointer-events: none;
    position: absolute;
    top: 8%;
    transform: rotate(-10deg);
}

.hs-mkt-eyebrow {
    color: #818cf8;
}

.hs-mkt-tiles {
    display: grid;
    gap: var(--space-lg);
    position: relative;
}

.hs-mkt-tile {
    --hs-tile-color: #6366f1;
    background: linear-gradient(145deg, color-mix(in srgb, var(--hs-tile-color) 8%, var(--bg-card)), var(--bg-card));
    border: 1px solid color-mix(in srgb, var(--hs-tile-color) 24%, var(--border-primary));
    border-radius: var(--radius-xl);
    min-height: 205px;
    padding: var(--space-xl);
    transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.hs-mkt-tile:hover {
    border-color: color-mix(in srgb, var(--hs-tile-color) 55%, transparent);
    box-shadow: 0 20px 45px color-mix(in srgb, var(--hs-tile-color) 13%, transparent);
    transform: translateY(-6px);
}

.hs-mkt-tile-orange { --hs-tile-color: #ff4b22; }
.hs-mkt-tile-indigo { --hs-tile-color: #6366f1; }
.hs-mkt-tile-cyan { --hs-tile-color: #06b6d4; }
.hs-mkt-tile-purple { --hs-tile-color: #a855f7; }

.hs-mkt-icon {
    align-items: center;
    background: color-mix(in srgb, var(--hs-tile-color) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--hs-tile-color) 25%, transparent);
    border-radius: var(--radius-lg);
    color: var(--hs-tile-color);
    display: flex;
    height: 52px;
    justify-content: center;
    margin-bottom: var(--space-lg);
    width: 52px;
}

.hs-mkt-icon svg {
    height: 24px;
    width: 24px;
}

.hs-mkt-tile h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0 0 var(--space-sm);
}

.hs-mkt-tile p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.75;
    margin: 0;
}

.hs-mkt-contact {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-3xl);
    position: relative;
}

.hs-whatsapp-button {
    align-items: center;
    background: #25d366;
    border-radius: var(--radius-full);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.25);
    color: #052e16;
    display: inline-flex;
    font-weight: 900;
    gap: var(--space-sm);
    justify-content: center;
    min-height: 56px;
    padding: 0.9rem 1.65rem;
    text-decoration: none;
    transition: box-shadow 250ms ease, transform 250ms ease;
}

.hs-whatsapp-button:hover {
    box-shadow: 0 20px 42px rgba(37, 211, 102, 0.38);
    transform: translateY(-3px);
}

.hs-whatsapp-button svg {
    height: 20px;
    width: 20px;
}

.hs-mkt-contact small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Join platforms */
.hs-join-grid {
    display: grid;
    gap: var(--space-xl);
    position: relative;
}

.hs-join-card {
    --hs-card-color: #1e7fd9;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--hs-card-color) 14%, transparent), transparent 55%),
        var(--bg-card);
    border: 1px solid color-mix(in srgb, var(--hs-card-color) 48%, var(--border-primary));
    border-radius: clamp(1.4rem, 4vw, 2.2rem);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.28),
        0 0 55px color-mix(in srgb, var(--hs-card-color) 10%, transparent);
    display: flex;
    flex-direction: column;
    min-height: 540px;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3rem);
    position: relative;
    transition: border-color 350ms ease, box-shadow 350ms ease, opacity 350ms ease, transform 350ms ease;
}

.hs-join-card::before {
    background: radial-gradient(circle, color-mix(in srgb, var(--hs-card-color) 35%, transparent), transparent 65%);
    content: '';
    height: 270px;
    inset-inline-end: -130px;
    opacity: 0.35;
    position: absolute;
    top: -120px;
    width: 270px;
}

.hs-join-card > * {
    position: relative;
    z-index: 1;
}

.hs-join-card-coursaty { --hs-card-color: #1e7fd9; }
.hs-join-card-dahdaha { --hs-card-color: #a855f7; }

.hs-join-card:hover {
    border-color: color-mix(in srgb, var(--hs-card-color) 80%, white 10%);
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.36),
        0 0 75px color-mix(in srgb, var(--hs-card-color) 22%, transparent);
    transform: translateY(-8px);
}

.hs-join-grid:has(.hs-join-card:hover) .hs-join-card:not(:hover) {
    opacity: 0.7;
}

.hs-join-label {
    color: var(--hs-card-color);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.hs-join-card h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 var(--space-md);
}

.hs-join-tagline {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.hs-join-card > p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.9;
    margin: 0;
}

.hs-join-features {
    display: grid;
    gap: var(--space-md);
    list-style: none;
    margin: var(--space-xl) 0;
    padding: 0;
}

.hs-join-features li {
    align-items: center;
    color: var(--text-secondary);
    display: flex;
    font-size: 0.84rem;
    font-weight: 700;
    gap: var(--space-sm);
}

.hs-join-features b {
    font: inherit;
}

.hs-join-features li span {
    align-items: center;
    background: color-mix(in srgb, var(--hs-card-color) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--hs-card-color) 25%, transparent);
    border-radius: var(--radius-md);
    color: var(--hs-card-color);
    display: flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.hs-join-features svg {
    height: 17px;
    width: 17px;
}

.hs-join-button {
    align-items: center;
    align-self: flex-start;
    background: var(--hs-card-color);
    border-radius: var(--radius-full);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--hs-card-color) 35%, transparent);
    color: #fff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: center;
    margin-top: auto;
    min-height: 52px;
    padding: 0.8rem 1.55rem;
    text-decoration: none;
    transition: box-shadow 250ms ease, transform 250ms ease;
}

.hs-join-button:hover {
    box-shadow: 0 18px 38px color-mix(in srgb, var(--hs-card-color) 50%, transparent);
    transform: translateY(-3px);
}

.hs-join-badge {
    display: none;
}

@media (min-width: 640px) {
    .hs-ai-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .hs-ai-feature {
        align-items: flex-start;
        flex-direction: column;
    }

    .hs-mkt-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hs-ai-grid {
        align-items: center;
        grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    }

    .hs-ai-content {
        padding-inline-end: var(--space-lg);
    }

    .hs-ai-visual {
        min-height: 680px;
    }

    .hs-mkt-tiles {
        grid-template-columns: repeat(4, 1fr);
    }

    .hs-join-grid {
        direction: rtl;
        gap: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline: auto;
        max-width: 1120px;
        padding: 1.5rem 0;
    }

    .hs-join-card {
        min-height: 575px;
    }

    .hs-join-card-coursaty {
        transform: translateX(-20px) rotate(0.5deg);
        z-index: 2;
    }

    .hs-join-card-dahdaha {
        transform: translateX(20px) rotate(-0.5deg);
        z-index: 1;
    }

    .hs-join-card-coursaty:hover {
        transform: translateX(-20px) translateY(-8px) rotate(0);
        z-index: 4;
    }

    .hs-join-card-dahdaha:hover {
        transform: translateX(20px) translateY(-8px) rotate(0);
        z-index: 4;
    }

    .hs-join-badge {
        align-items: center;
        background: linear-gradient(135deg, #1e7fd9, #a855f7);
        border: 6px solid var(--bg-secondary);
        border-radius: 50%;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
        color: #fff;
        display: flex;
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 900;
        height: 58px;
        justify-content: center;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 58px;
        z-index: 5;
    }
}

@media (max-width: 639px) {
    .hs-title {
        font-size: clamp(2.2rem, 13vw, 3.2rem);
    }

    .hs-ai-phone {
        border-width: 6px;
        min-height: 570px;
        transform: none;
    }

    .hs-ai-chat {
        min-height: 445px;
    }

    .hs-ai-visual {
        min-height: auto;
    }

    .hs-ai-stats strong {
        font-size: 1.25rem;
    }

    .hs-actions,
    .hs-button,
    .hs-whatsapp-button {
        width: 100%;
    }

    .hs-join-card {
        min-height: auto;
    }

    .hs-join-button {
        align-self: stretch;
        margin-top: var(--space-lg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-ai-bubble,
    .hs-ai-typing span {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* Parent company positioning sections */
.hv-support {
    max-width: 720px;
    margin: -12px 0 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(0.82rem, 1vw, 0.98rem);
    line-height: 1.9;
}

html[dir="rtl"] .hv-title-word {
    font-size: clamp(3rem, 6vw, 6rem);
}

.company-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.company-card-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.company-card {
    position: relative;
    min-height: 230px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.company-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent-primary) 55%, transparent);
    background: color-mix(in srgb, var(--bg-card) 92%, var(--accent-primary));
}

.company-card > svg {
    width: 32px;
    height: 32px;
    margin-bottom: 28px;
    color: var(--accent-primary);
}

.company-card h3 {
    margin-bottom: 12px;
    font-size: 1.08rem;
    line-height: 1.5;
}

.company-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.9;
}

.company-card-number {
    position: absolute;
    top: 20px;
    inset-inline-end: 22px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.company-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
}

.company-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
}

.company-option {
    padding: 11px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    transition: 180ms ease;
}

.company-option:hover,
.company-option.is-selected {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
}

.company-contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    background: var(--bg-card);
}

.company-contact-form h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.company-contact-form p {
    margin: 0 0 8px;
    color: var(--text-muted);
    line-height: 1.9;
}

.company-contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.company-contact-form input,
.company-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    font: inherit;
    resize: vertical;
}

.company-contact-form input:focus,
.company-contact-form textarea:focus {
    border-color: var(--accent-primary);
}

@media (max-width: 1100px) {
    .company-card-grid,
    .company-card-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .company-card-grid,
    .company-card-grid-5,
    .company-contact-grid {
        grid-template-columns: 1fr;
    }

    .company-card {
        min-height: auto;
    }

    .hv-support {
        display: none;
    }
}
