/* ============================================
   Page-Specific Styles — Swipetify
   Hero section + page-specific overrides
   ============================================ */

/* ═══════════════════════════════════════════
   HOMEPAGE HERO
   ═══════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero__content {
    max-width: 620px;
}

.hero__heading {
    font-size: var(--text-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
}

.hero__heading .char {
    display: inline-block;
}

.hero__subheading {
    font-size: var(--text-body);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ── Hero visual (abstract glass badge) ── */
.hero__visual {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero__card {
    width: 360px;
    height: 228px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    transform: rotate(-5deg);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(201, 168, 106, 0.08);
    overflow: hidden;
}

.hero__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%, rgba(201,168,106,0.05) 100%);
    border-radius: var(--radius-xl);
}

.hero__card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(201, 168, 106, 0.06) 0%, transparent 50%);
}

/* Floating decorative elements around card */
.hero__float-element {
    position: absolute;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 2;
}

.hero__float-element--1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -10px;
    border-radius: 50%;
    background: rgba(201, 168, 106, 0.06);
    border: 1px solid rgba(201, 168, 106, 0.1);
}

.hero__float-element--2 {
    width: 120px;
    height: 40px;
    bottom: 20px;
    left: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-caption);
    color: var(--color-accent);
    font-weight: 600;
    gap: var(--space-2);
}

.hero__float-element--3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: -40px;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .hero__visual {
        display: flex;
    }

    .hero__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .hero__card {
        width: 400px;
        height: 252px;
    }
}

/* ── Background orb positions (homepage) ── */
.hero .bg-orb--1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -200px;
}

.hero .bg-orb--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -150px;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION (on homepage)
   ═══════════════════════════════════════════ */

.about-preview__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

.about-preview__text p {
    margin-bottom: var(--space-4);
}

.about-preview__text p:last-of-type {
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .about-preview__content {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* ── About page image/illustration placeholder ── */
.about-preview__visual {
    display: none;
    position: relative;
}

.about-preview__visual-card {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    overflow: hidden;
    position: relative;
}

.about-preview__visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 106, 0.03) 0%, transparent 60%);
}

.about-visual__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background: var(--color-accent-subtle);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.about-visual__icon svg {
    width: 32px;
    height: 32px;
}

.about-visual__text {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-text-primary);
    position: relative;
    z-index: 1;
}

.about-visual__subtext {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .about-preview__visual {
        display: block;
    }
}

/* ═══════════════════════════════════════════
   ABOUT PAGE — Story section
   ═══════════════════════════════════════════ */

.story__content {
    max-width: 750px;
}

.story__content p {
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE — Layout
   ═══════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

.contact-form-wrapper, .contact-info-wrapper {
    background-color: white;
    border: none;
    border-radius: 38px;
    padding: var(--space-8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .contact-form-wrapper, .contact-info-wrapper {
        padding: 4rem;
    }
}
