/* ============================================
   ASTRIUM CAPITAL - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --color-bg-dark: #0a0a0f;
    --color-bg-section: #0d0d14;
    --color-bg-card: #12121a;
    --color-bg-card-hover: #1a1a25;

    --color-gold: #c9a227;
    --color-gold-light: #d4b84a;
    --color-gold-dark: #a68520;

    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0b0;
    --color-text-muted: #6b6b7b;

    --color-border: #2a2a35;
    --color-border-light: #3a3a45;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--color-text-secondary);
}

.gold-text {
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.logo-capital {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-text-primary);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--color-gold);
    color: #000 !important;
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--color-gold-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #0d0d1a 50%, var(--color-bg-dark) 100%);
}

/* Animated Stars */
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 370px 200px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 450px 50px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 520px 180px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 600px 100px, rgba(255,255,255,0.4), transparent);
    background-size: 650px 250px;
    animation: animateStars 100s linear infinite;
}

.stars2 {
    background-image:
        radial-gradient(1px 1px at 100px 200px, rgba(201, 162, 39, 0.6), transparent),
        radial-gradient(1px 1px at 200px 50px, rgba(201, 162, 39, 0.5), transparent),
        radial-gradient(2px 2px at 350px 300px, rgba(201, 162, 39, 0.4), transparent),
        radial-gradient(1px 1px at 500px 150px, rgba(201, 162, 39, 0.5), transparent);
    background-size: 550px 350px;
    animation: animateStars 150s linear infinite;
}

.stars3 {
    background-image:
        radial-gradient(1px 1px at 50px 150px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 150px 250px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 250px 50px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 400px 200px, rgba(255,255,255,0.2), transparent);
    background-size: 450px 300px;
    animation: animateStars 200s linear infinite;
}

@keyframes animateStars {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

/* ============================================
   METRICS STRIP
   ============================================ */
.metrics-strip {
    background: linear-gradient(90deg, var(--color-gold-dark) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    padding: 40px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.metric-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--color-bg-section);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: all var(--transition-medium);
}

.about-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.about-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   PERFORMANCE SECTION
   ============================================ */
.performance {
    background: var(--color-bg-dark);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.performance-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    transition: all var(--transition-medium);
}

.performance-card.featured {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, transparent 100%);
}

.performance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.performance-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
}

.performance-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: rgba(201, 162, 39, 0.15);
    color: var(--color-gold);
    border-radius: 20px;
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.performance-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.performance-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(201, 162, 39, 0.05);
    border-radius: 8px;
}

.performance-note p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   THESIS SECTION
   ============================================ */
.thesis {
    background: var(--color-bg-section);
}

.thesis-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pillar {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    transition: all var(--transition-medium);
}

.pillar:hover {
    border-color: var(--color-border-light);
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.2);
    margin-bottom: 16px;
}

.pillar h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
}

.pillar > p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pillar-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pillar-points li {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-left: 20px;
    position: relative;
}

.pillar-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* ============================================
   STRATEGIES SECTION
   ============================================ */
.strategies {
    background: var(--color-bg-dark);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.strategy-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-medium);
}

.strategy-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.strategy-allocation {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.strategy-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 16px;
}

.strategy-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.strategy-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   TERMS SECTION
   ============================================ */
.terms {
    background: var(--color-bg-section);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.term-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
}

.term-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.term-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.term-note {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    background: var(--color-bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-medium);
}

.team-card:hover {
    border-color: var(--color-border-light);
}

.team-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(201, 162, 39, 0.1);
    border: 2px solid var(--color-border);
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-gold);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 13px;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.team-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-bg-section);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.contact-feature svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ============================================
   CALENDLY SECTION
   ============================================ */
.calendly {
    background: var(--color-bg-dark);
    padding-bottom: 80px;
}

.calendly-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-section);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-gold);
}

.footer-disclaimer {
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 30px;
}

.footer-disclaimer h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.footer-disclaimer p {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

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

    .terms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .metrics-grid .metric:last-child {
        grid-column: span 2;
    }

    .metric-value {
        font-size: 28px;
    }

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

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

    .thesis-pillars {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

    .metrics-grid .metric:last-child {
        grid-column: span 1;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }
}
