/* ==========================================
   The Spider Network - EDGE Style Redesign
   Bold, Professional, High-Impact Design
   ========================================== */

/* Import Fonts - Oswald for headlines, Lato for body */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Lato:wght@300;400;700&family=Raleway:wght@400;500;600;700&display=swap');

/* Root Variables - EDGE Style */
:root {
    /* Colors - High Contrast */
    --black: #000000;
    --white: #ffffff;
    --electric-blue: #188bf6;
    --cobalt: #077bce;
    --bright-orange: #ff9800;
    --orange-accent: #f6ad55;
    --green-accent: #9ae6b4;
    --red-primary: #da1e28;
    --red-bright: #fa4d56;
    
    /* Backgrounds */
    --bg-black: #000000;
    --bg-dark-overlay: rgba(0, 0, 0, 0.45);
    --bg-card: #0a0a0a;
    
    /* Text */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-gray: rgba(255, 255, 255, 0.7);
    
    /* Fonts */
    --font-headline: 'Oswald', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-nav: 'Raleway', sans-serif;
    
    /* Spacing - Dramatic */
    --hero-padding-desktop: 260px;
    --hero-padding-mobile: 60px;
    --section-padding: 80px;
}

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

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography - Bold & Dramatic */
h1 {
    font-family: var(--font-headline);
    font-size: 85px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

h2 {
    font-family: var(--font-headline);
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

h3 {
    font-family: var(--font-headline);
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h4 {
    font-family: var(--font-headline);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.lead {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-white);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation - EDGE Style */
.navbar {
    background: var(--black);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-brand {
    font-family: var(--font-headline);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-brand a {
    color: var(--white);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-nav);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 10px 20px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--bright-orange);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Nav CTA Button */
.btn-nav-cta {
    background: var(--bright-orange) !important;
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
}

.btn-nav-cta:hover {
    background: var(--orange-accent) !important;
    transform: translateY(-2px);
}

/* Page Hero (for non-homepage pages) */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--electric-blue);
}

.page-subtitle {
    font-size: 22px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* General Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Hero Section - Dramatic */
.hero {
    position: relative;
    padding: var(--hero-padding-desktop) 0 120px;
    background: var(--black);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark-overlay);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: block;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    background: var(--electric-blue);
    color: var(--white);
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 85px;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Buttons - EDGE Style */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-family: var(--font-nav);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--white);
    border-color: var(--electric-blue);
}

.btn-primary:hover {
    background: var(--cobalt);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(24, 139, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-orange {
    background: var(--bright-orange);
    color: var(--white);
    border-color: var(--bright-orange);
}

.btn-orange:hover {
    background: var(--orange-accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 22px 60px;
    font-size: 18px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.stat-number {
    font-family: var(--font-headline);
    font-size: 48px;
    font-weight: 700;
    color: var(--electric-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections - Modular with Clear Separation */
.content-section {
    padding: var(--section-padding) 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.content-section.alt-bg {
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.left {
    text-align: left;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 20px auto 0;
}

/* Image Sections - Full Width */
.image-section {
    width: 100%;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

/* Grid Layouts */
.benefits-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card,
.feature-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.benefit-card:hover,
.feature-card:hover {
    border-color: var(--electric-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(24, 139, 246, 0.2);
}

.benefit-icon,
.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Footer - Clean */
.footer {
    background: var(--black);
    padding: 60px 0 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    font-family: var(--font-headline);
    font-size: 18px;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--bright-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 14px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 45px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero {
        padding: var(--hero-padding-mobile) 0 60px;
    }
    
    .hero h1 {
        font-size: 45px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================
   Enhanced Responsive & Dynamic Layouts
   ========================================== */

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 38px;
    }

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

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

@media (max-width: 768px) {
    /* Mobile Typography */
    h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    p, .lead {
        font-size: 16px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 20px;
        border-top: 2px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    /* Mobile Hero */
    .hero {
        padding: 60px 0 40px;
    }

    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 8px 15px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }

    .btn-large {
        padding: 18px 40px;
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Mobile Grids */
    .benefits-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card,
    .feature-card {
        padding: 25px;
    }

    /* Mobile Images */
    .network-image {
        height: 250px !important;
    }

    .image-grid {
        grid-template-columns: 1fr !important;
    }

    /* Mobile Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile Sections */
    .content-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 12px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* Container Flexible */
.container {
    width: 100%;
    max-width: 1400px;
}

/* Flexbox Responsive Utilities */
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid Responsive Utilities */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .grid-auto {
        grid-template-columns: 1fr;
    }
}
