/* ============================================
   ELEVATORS — Professional Agency CSS
   Theme: Dark luxury / editorial / structured
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================ */
/*
 * Author   : Vishesh Yadav
 * Portfolio: https://my-self-developer.netlify.app/
 * Site     : elevator.newcomputergyan.in
 */
:root {
    --bg:          #0a0a0a;
    --surface:     #111111;
    --surface-2:   #181818;
    --border:      rgba(255,255,255,0.07);
    --border-h:    rgba(255,255,255,0.14);
    --text:        #e8e2d9;
    --text-dim:    rgba(232, 226, 217, 0.55);
    --text-faint:  rgba(232, 226, 217, 0.25);
    --accent:      #c9a96e;       /* warm gold */
    --accent-dim:  rgba(201,169,110,0.15);
    --accent-glow: rgba(201,169,110,0.08);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --max-w: 1100px;
    --section-pad: 120px;
    --radius: 2px;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 16px;
}

/* ── Background ── */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0;
    animation: blobFade 2s ease forwards;
}
.blob-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(120,20,20,0.5) 0%, transparent 70%);
    top: -15%; left: -10%;
    animation-delay: 0.2s;
    animation: blobFade 2s 0.2s ease forwards, drift1 18s 2.2s ease-in-out infinite alternate;
}
.blob-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(60,10,10,0.6) 0%, transparent 65%);
    bottom: -20%; right: -10%;
    animation: blobFade 2s 0.5s ease forwards, drift2 22s 2.5s ease-in-out infinite alternate;
}
.blob-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(100,60,0,0.15) 0%, transparent 60%);
    top: 40%; left: 30%;
    animation: blobFade 2s 0.8s ease forwards, drift3 26s 2.8s ease-in-out infinite alternate;
}
@keyframes blobFade { to { opacity: 1; } }
@keyframes drift1 { from{transform:translate(0,0)} to{transform:translate(40px,30px)} }
@keyframes drift2 { from{transform:translate(0,0)} to{transform:translate(-30px,-40px)} }
@keyframes drift3 { from{transform:translate(0,0)} to{transform:translate(20px,-20px)} }

.grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.5;
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section { padding: var(--section-pad) 0; }

/* ── Typography helpers ── */
.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.4rem;
}
.section-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 560px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background-color: var(--accent);
    color: #0a0a0a;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background-color: #d4b47f; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 1.1rem 3rem; font-size: 1rem; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dim);
    padding: 0.85rem 2rem;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    transition: color 0.25s ease, border-color 0.25s ease;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-h); }

/* ── Reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: revealUp 0.8s ease forwards;
}
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.30s; }
.reveal-delay-3 { animation-delay: 0.45s; }
.reveal-delay-4 { animation-delay: 0.65s; }

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}
#header.scrolled {
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
}
.nav a {
    text-decoration: none;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.2s ease;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-cta {
    margin-left: auto;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(201,169,110,0.4);
    padding: 0.6rem 1.6rem;
    transition: background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}
.header-cta:hover { background: var(--accent-dim); }

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    margin-left: auto;
}
.menu-btn span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.hero-line-left  { left: 8%; }
.hero-line-right { right: 8%; }

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.eyebrow-dot {
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 1.8rem;
    color: var(--text);
}
.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 5rem;
}

.hero-stat-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    max-width: 680px;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 0.4rem;
}
.stat-divider {
    width: 1px; height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem { background: var(--surface); }

.problem-intro {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
}
.problem-card {
    display: flex;
    gap: 1.5rem;
    padding: 2.4rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
    position: relative;
}
.problem-card:nth-child(2n) { border-right: none; }
.problem-card:nth-last-child(-n+1):nth-child(odd) {
    grid-column: span 2;
    border-right: none;
}
.problem-card:hover { background: var(--surface-2); }

.card-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-faint);
    line-height: 1;
    flex-shrink: 0;
    width: 3rem;
}
.card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
}
.card-body p {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.8rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background 0.3s ease;
}
.solution-item:first-child { border-top: 1px solid var(--border); }
.solution-item:hover { padding-left: 1.5rem; }

.solution-num {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    width: 2rem;
    padding-top: 0.2rem;
}
.solution-content {
    flex: 1;
}
.solution-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
    transition: color 0.25s ease;
}
.solution-item:hover .solution-content h3 { color: var(--accent); }
.solution-content p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 600px;
}
.solution-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}
.solution-item:hover .solution-bar { transform: scaleY(1); }

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section { background: var(--surface); }

.video-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.2rem;
}
.video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
    overflow: hidden;
}
.video-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-border-tl,
.video-border-br {
    position: absolute;
    width: 40px; height: 40px;
    border-color: var(--accent);
    border-style: solid;
}
.video-border-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.video-border-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.team-photo-wrap {
    position: relative;
}
.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faint);
    transition: border-color 0.3s ease;
}
.team-card:hover .team-photo-placeholder {
    border-color: var(--border-h);
}
.team-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text);
}
.team-info p {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq { background: var(--surface); }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.6rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1.5rem;
}
.faq-q span:first-child {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s ease;
}
.faq-q:hover span:first-child { color: var(--accent); }

.faq-icon {
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    font-family: var(--font-body);
    font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding-bottom: 1.6rem;
}
.faq-a p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.8;
    padding-right: 3rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,169,110,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border: 1px solid var(--border);
    position: relative;
}
.cta-inner::before,
.cta-inner::after {
    content: '';
    position: absolute;
    width: 50px; height: 50px;
    border-color: var(--accent);
    border-style: solid;
    opacity: 0.4;
}
.cta-inner::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.cta-inner::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.cta-tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.4rem;
    color: var(--text);
}
.cta-sub {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.cta-note {
    font-size: 0.78rem;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2.5rem;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand .logo { font-size: 1.3rem; }
.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
}
.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.footer-nav a {
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}
.footer-bottom a {
    color: var(--text-faint);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--text-dim); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .nav, .header-cta { display: none; }
    .menu-btn { display: flex; }
    .header-inner { gap: 1rem; }

    /* Mobile nav overlay */
    .nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 72px 0 0 0;
        background: rgba(10,10,10,0.97);
        backdrop-filter: blur(16px);
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 99;
    }
    .nav.mobile-open a {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
    }

    :root { --section-pad: 80px; }

    .hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }
    .hero-stat-row { gap: 1.5rem; }
    .hero-line { display: none; }

    .problem-grid { grid-template-columns: 1fr; }
    .problem-card { border-right: none !important; }
    .problem-card:nth-last-child(-n+1):nth-child(odd) { grid-column: auto; }

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

    .footer-top { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    :root { --section-pad: 64px; }
    .hero-title { font-size: 2.6rem; }
    .hero-stat-row { flex-direction: column; gap: 1.5rem; }
    .stat-divider { display: none; }
    .section-title { font-size: 2rem; }
    .cta-inner { padding: 2.5rem 1.5rem; }
    .hero-actions { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
    .solution-item:hover { padding-left: 0; }
    .faq-a p { padding-right: 0; }
}
