/* assets/css/style.css */
/* Core Premium Brand Styling System — Macrosoft Technology */

/* ============================================
   DESIGN TOKENS & THEME VARIABLES
   ============================================ */
:root {
    /* Backgrounds */
    --bg-primary:        #0A1C3E; /* Logo Navy Blue */
    --bg-secondary:      #040B1A; /* Near Black */
    --bg-surface:        #112A5C; /* Medium Logo Blue */
    --bg-surface-glass:  rgba(10, 28, 62, 0.85);

    /* Accents */
    --color-accent:      #10B981; /* Vibrant Brand Green */
    --color-accent-hover:#059669; /* Brand Green Hover */
    --color-accent-light:#80D040; /* Lime Green */
    --color-accent-faint:rgba(16, 185, 129, 0.05);
    --color-accent-glow: rgba(16, 185, 129, 0.25);

    /* Gold aliases (used by components) */
    --color-gold:        #10B981; /* Mapped to Green */
    --color-gold-hover:  #059669; /* Mapped to Green Hover */
    --color-gold-light:  #A7F3D0; /* Light Mint Green */
    --bg-main:           #0A1C3E;
    --border-gold:       rgba(16, 185, 129, 0.3);

    /* Complementary colors */
    --color-teal:        #4BC8A0;
    --color-blue-teal:   #2A7BBF;
    --color-light-blue:  #4AB8E8;

    /* Text */
    --text-primary:      #FFFFFF;
    --text-muted:        rgba(255, 255, 255, 0.7);
    --text-dark:         rgba(255, 255, 255, 0.5);

    /* Borders */
    --border-luxury:     rgba(255, 255, 255, 0.1);
    --border-accent:     rgba(16, 185, 129, 0.25);

    /* Typography */
    --font-serif:        'Syne', 'Georgia', serif;
    --font-sans:         'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Misc */
    --radius-luxury:     12px;
    --transition-premium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing */
    --section-pad-desktop: 100px 0;
    --section-pad-tablet:  70px 0;
    --section-pad-mobile:  50px 0;
}

/* ============================================
   GLOBAL RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden !important;
    width: 100%;
}

body.luxury-body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ACCESSIBILITY — Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: var(--color-accent);
    color: #000;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--color-accent-hover);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ============================================
   INTERACTIVE CURSOR GLOW
   ============================================ */
.cursor-glow-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.cursor-glow {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--color-accent-faint) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    opacity: 0.85;
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */
.particles-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-premium);
}

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

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.page-wrapper {
    position: relative;
    z-index: 2;
    overflow-x: hidden !important;
    width: 100%;
}

.section-padding {
    padding: 90px 0;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ============================================
   FLEX UTILITIES
   ============================================ */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-center { text-align: center; }

/* ============================================
   BODY STATES
   ============================================ */
body.overflow-hidden { overflow: hidden; }

/* ============================================
   INNER PAGE HERO BANNER
   ============================================ */
.inner-hero {
    padding: 140px 0 80px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}
.inner-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}
.inner-hero .container { position: relative; z-index: 2; }
.inner-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin: 16px 0;
}
.inner-hero .card-desc {
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

/* ============================================
   WHITE THEME SECTION OVERRIDES
   ============================================ */
.bg-white {
    background-color: #FFFFFF !important;
    color: #1A2E6E !important;
}
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5,
.bg-white h6 {
    color: #1A2E6E !important;
}
.bg-white .text-muted,
.bg-white .card-desc { color: #64748B !important; }
.bg-white .card-subtitle { color: var(--color-accent) !important; }

.bg-white .luxury-card {
    background: #F8FAFF !important;
    border: 1px solid rgba(26, 46, 110, 0.08) !important;
    box-shadow: 0 4px 20px rgba(26, 46, 110, 0.06) !important;
    color: #1A2E6E !important;
}
.bg-white .luxury-card h3,
.bg-white .luxury-card h4 { color: #1A2E6E !important; }
.bg-white .luxury-card p,
.bg-white .luxury-card .card-desc { color: #475569 !important; }
.bg-white .luxury-card:hover {
    box-shadow: 0 12px 40px rgba(26, 46, 110, 0.14) !important;
    transform: translateY(-4px);
    border-color: rgba(26, 46, 110, 0.18) !important;
}
.bg-white .section-header h2 { color: #1A2E6E !important; }
.bg-white .accent-link-btn { color: #1A2E6E !important; }
.bg-white .accent-link-btn:hover { color: var(--color-accent) !important; }

/* ============================================
   SECTION TRANSITIONS
   ============================================ */
.section-about-dark {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}
.section-about-dark::before {
    content: '';
    display: block;
    position: absolute;
    top: -48px; left: 0;
    width: 100%; height: 50px;
    background: var(--bg-secondary);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 5;
}
.stats-partners-block { position: relative; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .section-padding { padding: 70px 0; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .inner-hero { padding: 120px 0 60px; }
}

/* Mobile Large */
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
    .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .inner-hero { padding: 100px 0 50px; }
    .inner-hero h1 { font-size: clamp(28px, 8vw, 40px); }
    .section-about-dark::before {
        height: 30px;
        top: -28px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container { width: 94%; }
    .section-padding { padding: 40px 0; }
    .inner-hero { padding: 90px 0 40px; }
}
