/* 1. ADVANCED DESIGN TOKENS (The DNA) */
:root {
    /* Brand Colors */
    --primary-black: #0B0B0D;
    --accent-gold: #F2B705;
    --accent-red: #FF3B30; /* More vibrant 'Apple' red */
    
    /* Surface Colors */
    --bg-white: #ffffff;
    --bg-soft: #FBFBFD; /* The cinematic 'Apple' light gray */
    --neutral-light: #F5F5F7;
    
    /* Typography */
    --text-main: #1D1D1F; 
    --text-muted: #86868B;
    --text-on-dark: #F5F5F7;

    /* Elevation & Glass (The 'Appeal' Logic) */
    --premium-shadow: 0 40px 80px -15px rgba(0,0,0,0.15), 0 20px 40px -20px rgba(0,0,0,0.1);
    --soft-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    --glass-white: rgba(255, 255, 255, 0.75);
    --glass-dark: rgba(11, 11, 13, 0.85);
    
    /* Animation Pipeline */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. CORE RESET & BEAUTY FOUNDATION */
* { box-sizing: border-box; outline: none; }

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body { 
    margin: 0; padding: 0; 
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden; /* Stops horizontal 'scattering' */
}

/* 3. LAYOUT ENGINE (The Arrangement) */
.container {
    max-width: 1320px; /* Tighter container = more professional layout */
    margin: 0 auto;
    padding: 0 30px;
}

.py-160 { padding-top: 160px; padding-bottom: 160px; }
.py-120 { padding-top: 120px; padding-bottom: 120px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }

/* 4. TYPOGRAPHY (Authority & Spacing) */
h1, h2, h3, h4 {
    letter-spacing: -0.05em; 
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    color: var(--primary-black);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 24px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px;
    line-height: 1.6;
}

/* 5. COMPONENTS: CARDS & INTERACTION */
.service-card-premium, 
.product-card-premium, 
.archive-item {
    background: var(--bg-white);
    border-radius: 32px; /* Cinematic rounding */
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--soft-shadow);
}

.service-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--premium-shadow);
    border-color: var(--accent-gold);
}

/* 6. GLOBAL SEARCH (Hero Centerpiece) */
.search-wrap-glass {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.search-wrap-glass:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
}

/* 7. GRID SYSTEMS */
.grid-4 { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

/* 8. BUTTONS & UTILITIES */
.btn-gold-pill {
    background: var(--accent-gold);
    color: var(--primary-black);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(242, 183, 5, 0.3);
}

.text-gold { color: var(--accent-gold) !important; }
.text-white { color: #ffffff !important; }
.bg-soft { background-color: var(--bg-soft); }
.bg-dark { background-color: var(--primary-black); color: var(--text-on-dark); }

/* Fade-In reveal classes for JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- TEXT-BASED BRANDING ENGINE --- */
.text-logo-premium {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between words */
    transition: var(--transition-smooth);
}

.brand-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
}

.brand-suffix {
    color: var(--accent-gold); /* Using your Action Gold */
    font-size: 22px;
    font-weight: 300; /* Thinner weight for high-end contrast */
    letter-spacing: 2px;
    line-height: 1;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin-top: 4px; /* Aligns with the baseline */
    box-shadow: 0 0 10px rgba(242, 183, 5, 0.4);
}

/* Hover Effect: Subtle Scale */
.text-logo-premium:hover {
    transform: scale(1.02);
}

.text-logo-premium:hover .brand-name {
    color: var(--accent-gold);
}

/* Mobile Scaling */
@media (max-width: 768px) {
    .brand-name, .brand-suffix {
        font-size: 18px;
        letter-spacing: 1px;
    }
    .brand-suffix {
        display: none; /* Hide the suffix on mobile to prevent scattering */
    }
}