/*
    ╔══════════════════════════════════════════════════════════════════╗
    ║  QUANIX - PROFESSIONAL DESIGN SYSTEM                             ║
    ║  Enterprise-grade styling with advanced typography & spacing     ║
    ╚══════════════════════════════════════════════════════════════════╝
*/

:root {
    /* Primary Color Palette */
    --qx-primary: #0d6efd;
    --qx-accent: #00d4ff;
    --qx-success: #10b981;
    --qx-warning: #f59e0b;
    --qx-danger: #ef4444;
    
    /* Background & Surfaces */
    --qx-dark: #031027;
    --qx-surface: #071a2b;
    --qx-surface-light: #0a2340;
    --qx-surface-elevated: #0d2d4a;
    
    /* Typography */
    --qx-heading: #eaf4ff;
    --qx-text: #e6f3ff;
    --qx-muted: #94a3b8;
    --qx-subtle: #64748b;
    
    /* Borders & Dividers */
    --qx-border: rgba(255, 255, 255, 0.06);
    --qx-border-strong: rgba(255, 255, 255, 0.12);
    
    /* Shadows & Elevations */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.16);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.24);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.32);
    
    /* Spacing Scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════════════ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, var(--qx-dark), #021428 60%);
    color: var(--qx-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    text-rendering: optimizeLegibility;
}


/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    color: var(--qx-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-lg);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--qx-text);
    line-height: 1.7;
}

.text-muted { color: var(--qx-muted) !important; }
.text-subtle { color: var(--qx-subtle) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ═══════════════════════════════════════════════════════════════════
   CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION BAR
   ═══════════════════════════════════════════════════════════════════ */
.navbar {
    background: rgba(3, 16, 39, 0.85);
    backdrop-filter: blur(12px);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--qx-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--qx-heading);
}

.navbar-logo {
    height: 48px;
    width: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--qx-text);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: var(--qx-accent);
    transform: translateY(-2px);
}

.nav-link.btn {
    border-radius: 8px;
    border: 1px solid var(--qx-border);
}

.nav-link.btn:hover {
    border-color: var(--qx-accent);
    background: rgba(0, 212, 255, 0.1);
}

/* Hamburger Menu Icon - Make it visible on dark backgrounds */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: var(--spacing-3xl) 0;
    background-image: linear-gradient(
        180deg,
        rgba(3, 8, 18, 0.50) 0%,
        rgba(3, 8, 18, 0.75) 100%
    ), url('../bg_images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 212, 255, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
    color: var(--qx-heading);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--qx-muted);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.btn-primary-cta,
.btn-secondary-cta {
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: 12px;
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary-cta {
    background: linear-gradient(135deg, var(--qx-accent) 0%, #0099cc 100%);
    color: #042033;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.btn-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.4);
}

.btn-secondary-cta {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--qx-heading);
}

.btn-secondary-cta:hover {
    border-color: var(--qx-accent);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.trust-line {
    margin-top: var(--spacing-2xl);
    color: var(--qx-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
    text-align: center;
}

.trust-line span {
    color: var(--qx-accent);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════════════════════════════════ */
.section-title,
.comparison-section-title,
.contact-section-title {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title h2,
.comparison-section-title h2,
.contact-section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--qx-heading);
}

.section-title h2 span,
.comparison-section-title h2 span,
.contact-section-title h2 span {
    background: linear-gradient(135deg, var(--qx-accent), #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p,
.comparison-section-title p,
.contact-section-title p {
    font-size: var(--text-lg);
    color: var(--qx-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   WHAT IS QUANIX SECTION
   ═══════════════════════════════════════════════════════════════════ */
.what-is-quanix {
    background: linear-gradient(180deg, 
        rgba(7, 26, 43, 0.3) 0%,
        rgba(13, 45, 74, 0.2) 100%
    );
}

.what-is-quanix-content {
    padding: var(--spacing-2xl) 0;
}

.what-is-quanix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
    margin-bottom: var(--spacing-3xl);
}

.what-is-main-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-3xl);
    text-align: center;
    color: var(--qx-heading);
}

.what-is-main-heading span {
    background: linear-gradient(135deg, var(--qx-accent), #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-is-left h2 span {
    background: linear-gradient(135deg, var(--qx-accent), #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-is-highlight,
.problem-statement,
.solution-statement,
.campaign-duration {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--qx-border);
    border-radius: 16px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    transition: all 0.3s ease;
}

.what-is-highlight:hover,
.problem-statement:hover,
.solution-statement:hover,
.campaign-duration:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--qx-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.what-is-highlight h3,
.problem-statement h3,
.solution-statement h3,
.campaign-duration h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    color: var(--qx-heading);
}

.what-is-highlight p,
.problem-statement p,
.solution-statement p {
    color: var(--qx-muted);
    line-height: 1.7;
    margin: 0;
}

/* Campaign Duration Wrapper */
.campaign-duration-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.campaign-duration {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

/* Campaign Duration Options */
.duration-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.duration-box {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 153, 204, 0.05) 100%
    );
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.duration-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--qx-accent);
}

.duration-time {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--qx-accent);
    margin-bottom: var(--spacing-sm);
}

.duration-label {
    font-size: var(--text-sm);
    color: var(--qx-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benefits List */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    padding: var(--spacing-xl);
    border-radius: 16px;
    align-items: flex-start;
    border: 1px solid var(--qx-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--qx-accent);
    transform: translateX(8px);
    box-shadow: -4px 0 20px rgba(0, 212, 255, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--qx-heading);
}

.benefit-text p {
    color: var(--qx-muted);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════════════════════════════ */
.how-it-works {
    background: rgba(3, 16, 39, 0.5);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--qx-accent) 20%,
        var(--qx-accent) 80%,
        transparent 100%
    );
    opacity: 0.2;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
}

.step-card {
    background: linear-gradient(135deg, 
        rgba(7, 26, 43, 0.9) 0%,
        rgba(13, 45, 74, 0.7) 100%
    );
    padding: var(--spacing-2xl);
    border-radius: 20px;
    border: 1px solid var(--qx-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--qx-accent), #0099cc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.25);
    border-color: var(--qx-accent);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--qx-accent), #0099cc);
    color: #042033;
    font-weight: 900;
    font-size: var(--text-xl);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.step-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--qx-heading);
    margin-bottom: var(--spacing-md);
}

.step-description {
    color: var(--qx-muted);
    line-height: 1.7;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════
   WHY CHOOSE US - COMPARISON SECTION
   ═══════════════════════════════════════════════════════════════════ */
.why-choose-us {
    background: linear-gradient(180deg, 
        rgba(3, 16, 39, 0.3) 0%,
        rgba(7, 26, 43, 0.5) 100%
    );
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.comparison-card {
    background: linear-gradient(135deg, 
        rgba(7, 26, 43, 0.8) 0%,
        rgba(13, 45, 74, 0.6) 100%
    );
    padding: var(--spacing-2xl);
    border-radius: 20px;
    border: 1px solid var(--qx-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.comparison-card:hover::before {
    opacity: 1;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--qx-border-strong);
}

.comparison-card.best {
    border: 2px solid var(--qx-accent);
    box-shadow: 0 20px 80px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.15) 0%,
        rgba(0, 153, 204, 0.10) 100%
    );
}

.comparison-card.best:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 100px rgba(0, 212, 255, 0.4);
}

.best-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.comparison-platform {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--qx-heading);
    margin-bottom: var(--spacing-xl);
}

.comparison-platform-icon {
    font-size: 2rem;
}

.comparison-metric {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.comparison-metric.negative {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.comparison-metric-label {
    font-size: var(--text-sm);
    color: var(--qx-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.comparison-metric-value {
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--qx-accent);
    line-height: 1;
}

.comparison-metric.negative .comparison-metric-value {
    color: #ef4444;
}

.comparison-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.comparison-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    color: var(--qx-muted);
    line-height: 1.6;
}

.comparison-feature-icon {
    flex-shrink: 0;
    font-size: var(--text-lg);
    line-height: 1;
}

/* Comparison Table */
.comparison-table {
    background: rgba(7, 26, 43, 0.5);
    border-radius: 20px;
    padding: var(--spacing-2xl);
    border: 1px solid var(--qx-border);
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table thead {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.15) 0%,
        rgba(0, 153, 204, 0.10) 100%
    );
}

.comparison-table th {
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--qx-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--qx-accent);
    width: 25%;
}

.comparison-table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--qx-border);
    color: var(--qx-text);
    font-size: var(--text-base);
    width: 25%;
    text-align: center;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table .metric-name {
    font-weight: 600;
    color: var(--qx-heading);
    text-align: left;
}

.comparison-table .value-good {
    color: var(--qx-success);
    font-weight: 700;
}

.comparison-table .value-bad {
    color: var(--qx-danger);
    font-weight: 700;
}

.comparison-table .value-neutral {
    color: var(--qx-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT US SECTION
   ═══════════════════════════════════════════════════════════════════ */
.contact-us {
    background: linear-gradient(180deg, 
        rgba(7, 26, 43, 0.3) 0%,
        rgba(3, 16, 39, 0.8) 100%
    );
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.contact-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    padding: var(--spacing-2xl);
    border-radius: 16px;
    border: 1px solid var(--qx-border);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--qx-accent);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.contact-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--qx-heading);
    margin-bottom: var(--spacing-md);
}

.contact-info {
    color: var(--qx-muted);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    color: var(--qx-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.1);
}

.contact-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--qx-border);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--qx-accent);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

/* CTA Bottom */
.cta-bottom {
    text-align: center;
    padding: var(--spacing-3xl);
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 153, 204, 0.05) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.cta-bottom h3 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--qx-heading);
    margin-bottom: var(--spacing-xl);
}

.btn-cta-contact {
    padding: var(--spacing-lg) var(--spacing-3xl);
    background: linear-gradient(135deg, var(--qx-accent) 0%, #0099cc 100%);
    color: #042033;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.btn-cta-contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   MODAL STYLING
   ═══════════════════════════════════════════════════════════════════ */
.modal-content {
    background: linear-gradient(135deg, 
        rgba(7, 26, 43, 0.98) 0%,
        rgba(3, 16, 39, 0.98) 100%
    );
    color: var(--qx-text);
    border-radius: 20px;
    border: 1px solid var(--qx-border-strong);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom: 1px solid var(--qx-border);
    padding: var(--spacing-xl) var(--spacing-2xl);
}

.modal-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--qx-heading);
}

.btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: var(--spacing-2xl);
}

.modal-footer {
    border-top: 1px solid var(--qx-border);
    padding: var(--spacing-xl) var(--spacing-2xl);
}

/* Form Styling */
.form-label {
    color: var(--qx-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--qx-border);
    color: var(--qx-text);
    padding: var(--spacing-md);
    border-radius: 10px;
    font-size: var(--text-base);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--qx-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    color: var(--qx-heading);
    outline: none;
}

.form-control::placeholder {
    color: var(--qx-subtle);
}

.form-text {
    color: var(--qx-muted);
    font-size: var(--text-sm);
    margin-top: var(--spacing-sm);
}

.btn-close-modal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--qx-border);
    color: var(--qx-text);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--qx-border-strong);
}

.btn-submit-campaign {
    background: linear-gradient(135deg, var(--qx-accent) 0%, #0099cc 100%);
    color: #042033;
    border: none;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.btn-submit-campaign:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.5);
}

/* Alert Styling */
.alert-success {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.15) 0%,
        rgba(5, 150, 105, 0.10) 100%
    );
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    border-radius: 12px;
    padding: var(--spacing-lg);
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS & TRANSITIONS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }
    
    .what-is-quanix-grid {
        grid-template-columns: 1fr;
    }
    
    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container-fluid {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
    
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 2.5rem;
        --spacing-2xl: 2rem;
    }
    
    .hero {
        min-height: 60vh;
        padding: var(--spacing-2xl) 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
    }
    
    .duration-options {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: scroll;
    }
    
    .comparison-table table {
        min-width: 600px;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .hero-content {
        padding: var(--spacing-md);
    }
    
    .section-title h2,
    .comparison-section-title h2,
    .contact-section-title h2 {
        font-size: 1.75rem;
    }
    
    .navbar-logo {
        height: 40px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════ */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }

/* ═══════════════════════════════════════════════════════════════════
   PERFORMANCE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════ */
* {
    will-change: auto;
}

.step-card,
.benefit-item,
.comparison-card,
.contact-card {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   END OF PROFESSIONAL STYLESHEET
   ═══════════════════════════════════════════════════════════════════ */
