﻿/* ============================================
   EMANATE SOFTWARE - CYBER-DARK LUXURY STYLES
   ============================================ */

:root {
    --obsidian: #050507;
    --silver: #e8e8e8;
    --silver-muted: #9a9a9a;
    --gold: #D4AF37;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-syncopate: 'Syncopate', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--obsidian);
    color: var(--silver);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY & FONT UTILITIES
   ============================================ */

.font-syncopate {
    font-family: var(--font-syncopate);
    font-weight: 700;
}

.font-inter {
    font-family: var(--font-inter);
}

.font-mono {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-syncopate);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
}

/* ============================================
   COLOR & CONTRAST
   ============================================ */

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

.text-silver-muted {
    color: var(--silver-muted);
}

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

.bg-obsidian {
    background-color: var(--obsidian);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, rgba(5, 5, 7, 1) 0%, rgba(15, 23, 42, 0.4) 100%);
    position: relative;
}

.hero-headline {
    opacity: 0;
    font-size: clamp(2.5rem, 12vw, 7rem);
    line-height: 1.1;
    letter-spacing: var(--tracking-tight);
    margin-bottom: clamp(1rem, 3vw, 2.5rem);
}

.hero-subheadline {
    opacity: 0;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--silver-muted);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.cta-button {
    position: relative;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: transparent;
    letter-spacing: 0.1em;
}

.cta-button:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.arsenal-section {
    background: radial-gradient(ellipse 80% 80% at 50% 20%, rgba(15, 23, 42, 0.3), transparent);
}

.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-lg);
}

.service-card p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.8;
    color: var(--silver-muted);
}

.service-card ul li {
    transition: all 0.3s ease;
}

.service-card ul li:hover {
    color: var(--gold);
    transform: translateX(4px);
}

/* ============================================
   METRICS / PROOF SECTION
   ============================================ */

.proof-section {
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.2));
}

.metric-card {
    opacity: 0;
    transform: scale(0.95);
}

.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    min-width: 2em;
}

.counter::after {
    content: '';
}

/* ============================================
   CONTACT / GATEWAY SECTION
   ============================================ */

.gateway-section {
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(15, 23, 42, 0.3), transparent);
}

#contactForm input,
#contactForm textarea {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--silver);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 0.5rem;
    font-family: var(--font-inter);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: var(--silver-muted);
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

#contactForm button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-weight: 600;
    letter-spacing: 0.05em;
}

#contactForm button:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
}

footer a {
    color: var(--silver-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ============================================
   RESPONSIVE & ACCESSIBILITY
   ============================================ */

@media (max-width: 768px) {
    .hero-headline {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .hero-section {
        min-height: 70vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SCROLL REVEAL UTILITIES
   ============================================ */

.reveal {
    opacity: 1;
}

/* ============================================
   DIVIDERS
   ============================================ */

.divider-gold {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
    width: 100%;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.max-w-container {
    max-width: 1400px;
    margin: 0 auto;
}

.text-clamp-heading {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
}

.text-clamp-subheading {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.gap-spacing {
    gap: clamp(1rem, 3vw, 2.5rem);
}

.padding-section {
    padding: clamp(2rem, 8vw, 4rem) clamp(1rem, 5vw, 3rem);
}

/* Smooth backdrop filter */
.glass-dark {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Gold glow effect */
.glow-gold {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.1);
}

/* Ultra-thin dividing lines */
.divider-thin {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
