/* ═══════════════════════════════════════════════════════════════
   ABOUT ASTROLOGER — Dark Cosmic Temple · Midnight Luxe Edition
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── TOKENS ──────────────────────────────────────────────────── */
.akp-section {
    --gold:         #d4a843;
    --gold-light:   #f0c96b;
    --gold-dim:     rgba(212,168,67,.18);
    --ember:        #e8622a;
    --ember-glow:   rgba(232,98,42,.25);
    --midnight:     #06060f;
    --deep:         #0c0c1e;
    --panel:        #0f0e1f;
    --surface:      #13122a;
    --border:       rgba(212,168,67,.2);
    --text-head:    #f5e6c8;
    --text-body:    #b8afc8;
    --text-dim:     #6e6585;
    --green:        #3ecf7a;
    --r:            20px;
}

/* ── SECTION SHELL ───────────────────────────────────────────── */
.akp-section {
    position: relative;
    width: 100%;
    background: var(--midnight);
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-body);
}

/* ── NOISE TEXTURE OVERLAY ───────────────────────────────────── */
.akp-section::after {
    content: '';
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: .45;
}

/* ── YANTRA CANVAS ───────────────────────────────────────────── */
#akp-yantra {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ── AMBIENT GLOWS ───────────────────────────────────────────── */
.akp-glow-tl {
    position: absolute;
    top: -15%; left: -10%;
    width: clamp(300px, 40vw, 600px);
    height: clamp(300px, 40vw, 600px);
    background: radial-gradient(circle, rgba(212,168,67,.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: akpDrift 18s ease-in-out infinite alternate;
}
.akp-glow-br {
    position: absolute;
    bottom: -20%; right: -10%;
    width: clamp(250px, 35vw, 500px);
    height: clamp(250px, 35vw, 500px);
    background: radial-gradient(circle, rgba(232,98,42,.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: akpDrift 14s ease-in-out infinite alternate-reverse;
}
@keyframes akpDrift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(40px,-30px) scale(1.1); }
}

/* ── DECORATIVE DIAGONAL DIVIDER ─────────────────────────────── */
.akp-diagonal {
    position: absolute;
    top: 0; left: 42%;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(212,168,67,.04) 50%, transparent 100%);
    transform: skewX(-3deg);
    pointer-events: none;
    z-index: 1;
}

/* ── OUTER WRAPPER ───────────────────────────────────────────── */
.akp-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: clamp(600px, 80vh, 900px);
}

/* ════════════════════════════════════════════════════════════════
   LEFT PANEL — cinematic image + floating stats
════════════════════════════════════════════════════════════════ */
.akp-left {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 30px 50px;
}

/* Full-bleed background image */
.akp-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center; /* ← FIXED: was "center top", now shows full image */
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 8s ease;
}
.akp-section:hover .akp-left-bg {
    transform: scale(1.04);
}

/* Gradient veil over image */
.akp-left-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(6,6,15,.98) 0%, rgba(6,6,15,.5) 40%, rgba(6,6,15,.1) 75%, transparent 100%),
        linear-gradient(to right, transparent 60%, rgba(6,6,15,.6) 100%);
    z-index: 1;
}

/* Aureole ring around astrologer face */
.akp-aureole {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(180px, 22vw, 300px);
    height: clamp(180px, 22vw, 300px);
    z-index: 2;
    pointer-events: none;
}
.akp-aureole svg {
    width: 100%; height: 100%;
    animation: akpAureoleSpin 30s linear infinite;
    filter: drop-shadow(0 0 12px rgba(212,168,67,.5));
}
@keyframes akpAureoleSpin {
    to { transform: rotate(360deg); }
}

/* Identity block at bottom of left panel */
.akp-identity {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}
.akp-identity-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 700;
    color: var(--text-head);
    line-height: 1.1;
    letter-spacing: .02em;
    text-shadow: 0 2px 20px rgba(212,168,67,.3);
}
.akp-identity-name em {
    display: block;
    font-style: italic;
    font-size: .6em;
    color: var(--gold);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.akp-identity-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px 0;
}
.akp-identity-line::before,
.akp-identity-line::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}
.akp-identity-line::after {
    background: linear-gradient(to left, transparent, var(--gold));
}
.akp-identity-line span {
    color: var(--gold);
    font-size: 16px;
}

/* Float-in stat bubbles */
.akp-stats-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.akp-stat-bubble {
    background: rgba(212,168,67,.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .3s ease, background .3s ease;
}
.akp-stat-bubble:hover {
    transform: translateY(-4px);
    background: rgba(212,168,67,.18);
}
.akp-stat-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.akp-stat-lbl {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 3px;
}

/* ════════════════════════════════════════════════════════════════
   RIGHT PANEL — content
════════════════════════════════════════════════════════════════ */
.akp-right {
    position: relative;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 70px);
    border-left: 1px solid var(--border);
}

/* Sanskrit-style top border decoration */
.akp-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
}

/* ── LIVE STRIP ──────────────────────────────────────────────── */
.akp-live-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    animation: akpFadeUp .6s ease both;
}
.akp-live-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,98,42,.12);
    border: 1px solid rgba(232,98,42,.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #f07040;
    letter-spacing: .04em;
}
.akp-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff5533;
    flex-shrink: 0;
    animation: akpLivePulse 1.3s ease-in-out infinite;
}
@keyframes akpLivePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,85,51,.6); }
    50%      { box-shadow: 0 0 0 5px rgba(255,85,51,0); }
}
.akp-timer-pill {
    background: rgba(212,168,67,.08);
    border: 1px solid rgba(212,168,67,.22);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .04em;
}
.akp-timer-pill strong {
    color: var(--gold-light);
    font-size: 13px;
}

/* ── BADGES ──────────────────────────────────────────────────── */
.akp-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    animation: akpFadeUp .7s ease both;
    animation-delay: .1s;
}
.akp-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 4px;
    border: 1px solid;
}
.akp-badge--gold {
    color: var(--gold);
    border-color: rgba(212,168,67,.35);
    background: rgba(212,168,67,.07);
}
.akp-badge--green {
    color: var(--green);
    border-color: rgba(62,207,122,.3);
    background: rgba(62,207,122,.07);
}

/* ── HEADLINE ────────────────────────────────────────────────── */
.akp-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-head);
    margin-bottom: 18px;
    animation: akpFadeUp .7s ease both;
    animation-delay: .15s;
}
.akp-headline .akp-hl-accent {
    position: relative;
    color: var(--gold);
    display: inline-block;
}
.akp-headline .akp-hl-accent::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--ember), var(--gold));
    border-radius: 2px;
}
.akp-headline .akp-hl-ember {
    color: var(--ember);
    font-style: italic;
}

/* ── INTRO TEXT ──────────────────────────────────────────────── */
.akp-intro {
    font-size: clamp(13px, 1.3vw, 15px);
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 28px;
    max-width: 520px;
    animation: akpFadeUp .7s ease both;
    animation-delay: .2s;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */
.akp-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    animation: akpFadeUp .7s ease both;
    animation-delay: .25s;
}
.akp-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border), transparent);
}
.akp-divider-icon {
    color: var(--gold);
    font-size: 18px;
    animation: akpGlimmer 3s ease-in-out infinite;
}
@keyframes akpGlimmer {
    0%,100% { opacity: 1; text-shadow: 0 0 8px var(--gold); }
    50%      { opacity: .5; text-shadow: none; }
}

/* ── SERVICES MATRIX ─────────────────────────────────────────── */
.akp-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
    animation: akpFadeUp .7s ease both;
    animation-delay: .3s;
}
.akp-srv {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    cursor: default;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.akp-srv::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212,168,67,.12), transparent 70%);
    opacity: 0;
    transition: opacity .3s ease;
}
.akp-srv:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(212,168,67,.5);
    box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 20px rgba(212,168,67,.08);
}
.akp-srv:hover::before { opacity: 1; }
.akp-srv-icon {
    font-size: 22px;
    filter: drop-shadow(0 2px 6px rgba(212,168,67,.3));
}
.akp-srv-name {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.4;
    letter-spacing: .02em;
}

/* ── TRUST RIBBON ────────────────────────────────────────────── */
.akp-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: akpFadeUp .7s ease both;
    animation-delay: .35s;
}
.akp-trust-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-body);
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: color .25s, border-color .25s;
}
.akp-trust-chip i {
    color: var(--gold);
    font-size: 11px;
}
.akp-trust-chip:hover {
    color: var(--gold-light);
    border-color: rgba(212,168,67,.45);
}

/* ── CTA ROW ─────────────────────────────────────────────────── */
.akp-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: akpFadeUp .7s ease both;
    animation-delay: .4s;
}

.akp-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #c8891e, #e8aa40, #c8891e);
    background-size: 200% auto;
    color: #1a0e00;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: .04em;
    overflow: hidden;
    transition: background-position .4s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow:
        0 4px 20px rgba(200,137,30,.4),
        inset 0 1px 0 rgba(255,255,255,.2);
}
.akp-btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(200,137,30,.55),
        inset 0 1px 0 rgba(255,255,255,.25);
    color: #0f0800;
}
.akp-btn-primary .akp-btn-ring {
    position: absolute;
    inset: -3px;
    border-radius: 13px;
    border: 1.5px solid rgba(200,137,30,.5);
    animation: akpRingPulse 2s ease-out infinite;
    pointer-events: none;
}
@keyframes akpRingPulse {
    0%   { opacity: .8; transform: scale(1); }
    100% { opacity: 0;  transform: scale(1.1); }
}

.akp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 14px 22px;
    border: 1px solid rgba(212,168,67,.35);
    border-radius: 10px;
    text-decoration: none;
    background: rgba(212,168,67,.05);
    transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.akp-btn-secondary:hover {
    background: rgba(212,168,67,.12);
    border-color: rgba(212,168,67,.6);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* ── URGENCY BAR ─────────────────────────────────────────────── */
.akp-urgency {
    margin-top: 22px;
    padding: 12px 18px;
    background: rgba(232,98,42,.08);
    border-left: 3px solid var(--ember);
    border-radius: 0 8px 8px 0;
    font-size: 12.5px;
    font-weight: 500;
    color: #e88a60;
    letter-spacing: .02em;
    animation: akpFadeUp .7s ease both, akpUrgencyBlink 3s ease-in-out infinite;
    animation-delay: .45s, 0s;
}
@keyframes akpUrgencyBlink {
    0%,100% { border-left-color: var(--ember); }
    50%      { border-left-color: rgba(232,98,42,.3); }
}

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
@keyframes akpFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.akp-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s ease, transform .9s ease;
}
.akp-reveal.akp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .akp-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .akp-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .akp-left {
        min-height: 55vw;
        padding: 30px 20px 40px;
        align-items: flex-end;
    }

    /* On mobile: left panel uses logo instead of full bg */
    .akp-aureole {
        width: clamp(120px, 30vw, 180px);
        height: clamp(120px, 30vw, 180px);
    }

    .akp-right {
        padding: 36px 24px 44px;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .akp-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .akp-headline {
        font-size: clamp(24px, 6vw, 34px);
    }

    .akp-stats-row {
        gap: 8px;
    }

    .akp-stat-bubble {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .akp-services {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .akp-cta-row {
        flex-direction: column;
    }

    .akp-btn-primary,
    .akp-btn-secondary {
        justify-content: center;
        text-align: center;
    }

    .akp-left {
        min-height: 60vw;
    }
}