/*
Theme Name: GladiuxTech
Theme URI: https://gladiuxtech.com.au
Author: GladiuxTech Enterprise Pty Ltd
Author URI: https://gladiuxtech.com.au
Description: Australia's First AI-Native MSP - Enterprise-grade IT with break-fix pricing. Pure AI Magic.
Version: 4.0.0
License: Proprietary
License URI: https://gladiuxtech.com.au/terms
Text Domain: gladiuxtech
Tags: business, corporate, technology, ai, msp

GladiuxTech - Where AI Meets Excellence

V4 FIXES (Surgical Updates - Design Unchanged):
- Added asterisk with "conditions apply" tooltip
- Fixed workflow count references
- Updated SLA response times by plan
- Added Privacy Policy page template
- Added Terms of Service page template
- Mobile hero optimization
- Smart form fallback
- Minor text corrections per audit
*/

/* ========================================
   CSS VARIABLES - DESIGN SYSTEM
   ======================================== */
:root {
    /* Primary Colors */
    --gold: #D4AF37;
    --gold-light: #E5C76B;
    --gold-dark: #B8960C;
    --gold-muted: rgba(212, 175, 55, 0.15);
    
    --black: #000013;
    --black-soft: #0D0D1A;
    --black-hover: #1A1A2E;
    
    --white: #FFFFFF;
    --white-off: #F8F8F8;
    --white-cream: #FFFDF5;
    
    /* Accent Colors */
    --purple: #6B21A8;
    --purple-light: #9333EA;
    --electric-blue: #0077FF;
    --cyber-green: #00FF8F;
    --silver: #C0C0C0;
    --rose-gold: #B76E79;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Golden Ratio Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.618rem;
    --text-3xl: 2.618rem;
    --text-4xl: 4.236rem;
    --text-5xl: 6.854rem;
    
    /* Spacing (8px grid) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-gold-lg: 0 0 60px rgba(212, 175, 55, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: var(--space-6);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* ========================================
   UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.gold { color: var(--gold) !important; }
.purple { color: var(--purple) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
    color: var(--black);
}

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

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

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

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

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 19, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(0, 0, 19, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
}

.site-logo:hover {
    color: var(--gold);
}

.site-logo svg {
    flex-shrink: 0;
}

.site-logo-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-2) 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-24) 0 var(--space-16);
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(107, 33, 168, 0.05) 0%, transparent 50%),
        var(--black);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--gold-muted);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gold);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, var(--text-5xl));
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin-bottom: var(--space-8);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.trust-item svg {
    color: var(--gold);
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--gold-muted);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-lg);
}

/* ========================================
   PROBLEMS SECTION
   ======================================== */
.problems {
    background: var(--black-soft);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.problem-card {
    padding: var(--space-8);
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.problem-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.problem-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--error) 0%, #DC2626 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.problem-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.problem-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
}

.solution-card {
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--black-soft) 0%, var(--black) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.solution-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    color: var(--gold);
}

.solution-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.solution-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-4);
}

.solution-features {
    list-style: none;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2);
}

.solution-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    background: var(--black-soft);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: var(--space-8);
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold);
    color: var(--black);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-6);
}

.pricing-name {
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.pricing-price {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--gold);
}

.pricing-price span {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.pricing-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--gold);
}

.pricing-card .btn {
    width: 100%;
}

/* Founders Advantage Banner */
.founders-banner {
    background: linear-gradient(135deg, var(--purple) 0%, var(--gold-dark) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-12);
    position: relative;
    overflow: hidden;
}

.founders-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l4 3.5-4 3.5z' fill='%23fff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.founders-banner h3 {
    position: relative;
    z-index: 1;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.founders-banner p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-4);
}

.founders-price {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.founders-price .original {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.founders-price .discounted {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
}

.founders-price .savings {
    background: var(--gold);
    color: var(--black);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
}

.founders-slots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.founders-slots span {
    width: 24px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
}

.founders-slots span.filled {
    background: var(--gold);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    padding: var(--space-12) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        var(--black-soft);
    text-align: center;
    padding: var(--space-24) 0;
}

.cta-section h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-hero {
    padding: var(--space-24) 0 var(--space-12);
    text-align: center;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
}

.service-card {
    padding: var(--space-8);
    background: var(--black-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-4);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-hero {
    padding: var(--space-24) 0 var(--space-12);
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-form {
    padding: var(--space-8);
    background: var(--black-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4);
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.info-card {
    padding: var(--space-6);
    background: var(--black-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.info-card-icon svg {
    color: var(--gold);
}

.info-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.info-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.info-card a {
    color: var(--gold);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    margin-top: var(--space-4);
    max-width: 300px;
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-sm);
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-4xl: 2.5rem;
        --text-5xl: 3rem;
    }
    
    .main-nav,
    .header-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        padding: var(--space-6);
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .problems-grid,
    .solutions-grid,
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   V4 ADDITIONS - MINIMAL FIXES ONLY
   ======================================== */

/* Asterisk styling for conditions apply */
.hero-asterisk {
    font-size: 0.7em;
    vertical-align: super;
    color: var(--gold);
}

/* Conditions apply tooltip */
.conditions-note {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.conditions-note a {
    color: var(--gold);
    text-decoration: underline;
}

/* Tooltip on hover */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--gold);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    white-space: nowrap;
    border: 1px solid var(--gold-muted);
    z-index: 100;
}

/* Form fallback message */
.form-fallback {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
    display: none;
}

.form-fallback.visible {
    display: block;
}

.form-fallback h4 {
    color: var(--gold);
    margin-bottom: var(--space-2);
}

.form-fallback a {
    color: var(--gold);
}

/* Privacy & Terms page styles */
.legal-page {
    padding: var(--space-24) 0 var(--space-16);
    background: var(--black);
}

.legal-page h1 {
    color: var(--gold);
    margin-bottom: var(--space-8);
}

.legal-page h2 {
    color: var(--white);
    font-size: var(--text-2xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.legal-page p,
.legal-page li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-4);
}

.legal-page ul {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.legal-last-updated {
    color: var(--gold);
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
}
