/* ==========================================================================
   ARKETIPYA | MODERN OBSIDIAN & GOLD LANDING DESIGN SYSTEM
   Tailored to Cormorant Garamond + Inter, Particle Nebula & Spotlight Cards
   ========================================================================== */

:root {
    --ark-obsidian: #050505;
    --ark-coal: #0a0a0a;
    --ark-gold: #D4AF37;
    --ark-gold-light: #E5C378;
    --ark-gold-dark: #997A15;
}

body.home,
.home body,
body:has(.ark-home-main) {
    background-color: #050505 !important;
    color: #e5e5e5 !important;
    overflow-x: hidden !important;
}

/* Background Particle Canvas */
#mystic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.ark-home-main {
    position: relative;
    z-index: 1;
    background: transparent !important;
    color: #e5e5e5;
}

/* Radial Gold Aura behind Hero */
.radial-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140vw;
    height: 140vh;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(5, 5, 5, 0) 55%);
    z-index: 0;
    pointer-events: none;
}

/* Hero Section */
.ark-home-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 80px 20px;
    text-align: center;
    background: transparent !important;
    overflow: hidden;
}

.ark-hero-content {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ark-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(38px, 6vw, 72px) !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
    color: #f3f3f3 !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.02em;
}

.text-gold {
    color: #D4AF37 !important;
}

.text-glow {
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
}

@keyframes arkHeroWordFade {
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

.hero-word {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
    animation: arkHeroWordFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.ark-hero-lead {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(15px, 2vw, 17px) !important;
    font-weight: 300 !important;
    color: #9ca3af !important;
    max-width: 680px !important;
    margin: 0 auto 40px auto !important;
    line-height: 1.7 !important;
    opacity: 0;
    transform: translateY(10px);
    animation: arkHeroWordFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.ark-hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    animation: arkHeroWordFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

/* Primary Button Sheen & Glow */
.btn-primary,
.ark-btn-primary {
    position: relative;
    overflow: hidden;
    background: #D4AF37 !important;
    color: #050505 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    border-radius: 2px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease !important;
}

.btn-primary:hover,
.ark-btn-primary:hover {
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
    color: #000 !important;
}

.btn-primary::after,
.ark-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    transition: 0.75s ease;
}

.btn-primary:hover::after,
.ark-btn-primary:hover::after {
    left: 150%;
}

/* Secondary Button */
.btn-secondary,
.ark-btn-secondary {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 13px 30px !important;
    border-radius: 2px !important;
    border: 1px solid rgba(156, 163, 175, 0.4) !important;
    color: #d1d5db !important;
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(8px) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover,
.ark-btn-secondary:hover {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.08) !important;
    transform: translateY(-2px);
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-secondary:hover .arrow-icon,
.ark-btn-secondary:hover .arrow-icon {
    animation: breathe 1.5s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Section Common */
.ark-home-works,
.ark-home-hub-preview,
.ark-home-editorial,
.ark-home-final-cta {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: transparent !important;
}

.ark-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.ark-section-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    color: #f3f3f3 !important;
    margin-bottom: 12px !important;
    font-weight: 600;
}

.ark-section-lead {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    max-width: 650px;
    margin: 0 auto;
}

/* Glassmorphism Spotlight Cards */
.glass-card,
.ark-step-card,
.ark-domain-card,
.ark-mockup-card,
.ark-final-cta-card {
    background: rgba(15, 15, 15, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease !important;
}

.glass-card:hover,
.ark-step-card:hover,
.ark-domain-card:hover,
.ark-final-cta-card:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

/* Radial Mouse Spotlight Effect */
.glass-card::before,
.ark-step-card::before,
.ark-domain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(550px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(212, 175, 55, 0.09), transparent 45%);
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.glass-card:hover::before,
.ark-step-card:hover::before,
.ark-domain-card:hover::before {
    opacity: 1;
}

/* Subtle Esoteric Sacred Geometry Pattern on Card Hover */
.card-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0L40 20L20 40L0 20L20 0ZM20 2L2 20L20 38L38 20L20 2Z" fill="rgba(212,175,55,0.03)"/></svg>');
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.glass-card:hover .card-pattern,
.ark-step-card:hover .card-pattern,
.ark-domain-card:hover .card-pattern {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

/* 3-Step Process Grid */
.ark-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

@media (max-width: 860px) {
    .ark-steps-grid {
        grid-template-columns: 1fr;
    }
}

.ark-step-card {
    padding: 38px 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ark-step-num {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 36px !important;
    color: rgba(212, 175, 55, 0.6) !important;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.ark-step-card:hover .ark-step-num {
    color: #D4AF37 !important;
}

.ark-step-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #9ca3af !important;
    border-bottom: 1px solid rgba(75, 85, 99, 0.4);
    padding-bottom: 6px;
    margin-bottom: 16px;
    width: fit-content;
}

.ark-step-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 24px !important;
    color: #e5e7eb !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease;
}

.ark-step-card:hover .ark-step-title {
    color: #ffffff !important;
}

.ark-step-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    color: #9ca3af !important;
    line-height: 1.65 !important;
}

/* 4 Domains Grid */
.ark-domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.ark-domain-card {
    padding: 26px 24px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ark-domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ark-domain-tag {
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    color: #D4AF37;
}

.ark-domain-arrow {
    color: #6b7280;
    font-size: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ark-domain-card:hover .ark-domain-arrow {
    transform: translateX(4px);
    color: #D4AF37;
}

.ark-domain-card h4 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 21px !important;
    color: #f3f4f6 !important;
    margin-bottom: 8px !important;
}

.ark-domain-card p {
    font-size: 13px !important;
    color: #9ca3af !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* Personal Hub Structural Mockup */
.ark-hub-mockup-wrapper {
    background: rgba(10, 10, 10, 0.6) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 14px !important;
    padding: 32px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.ark-hub-mockup-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ark-preview-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
}

.ark-mockup-subtext {
    font-size: 12px;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.ark-hub-mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

.ark-mockup-card {
    padding: 22px;
}

.ark-mockup-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    color: #f3f4f6;
}

.ark-mockup-badge {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
}

.ark-mockup-val {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    color: #D4AF37;
    font-weight: 600;
}

.ark-mockup-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

.ark-mockup-pill small {
    color: #D4AF37;
    font-weight: 600;
}

/* Editorial / Cards Section */
.ark-card-insight,
.ark-card-archetype,
.ark-card-dream {
    background: rgba(15, 15, 15, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    padding: 28px !important;
    transition: all 0.4s ease !important;
}

.ark-card-insight:hover,
.ark-card-archetype:hover,
.ark-card-dream:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
}

.ark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Final CTA Section */
.ark-final-cta-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
    border-color: rgba(212, 175, 55, 0.25) !important;
}

.ark-final-cta-card h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(30px, 4.5vw, 48px) !important;
    color: #f3f3f3 !important;
    margin-bottom: 16px !important;
}

.ark-final-cta-lead {
    font-size: 16px !important;
    color: #9ca3af !important;
    max-width: 580px;
    margin: 0 auto 30px auto;
}
