/* ===================================
   Blue Streak Software - Main Styles
   Brand Colors inspired by bluestreakgrp.com
   Design inspiration from synadia.com & contentstack.com
   =================================== */

/* === CSS Variables - Brand Colors === */
:root {
    /* Blue Streak Brand Colors */
    --primary-blue: #0066CC;
    --dark-blue: #003D7A;
    --light-blue: #4A90E2;
    --accent-blue: #00A3FF;
    
    /* Neutral Colors - Dark Theme */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --bg-primary: #0A0E1A;
    --bg-secondary: #111827;
    --bg-tertiary: #1A1F35;
    --bg-card: #141B2D;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B8C5;
    --text-muted: #6B7280;
    --border-color: #1F2937;
    --border-hover: #2D3748;
    
    /* Gradient Colors */
    --gradient-1: linear-gradient(135deg, #0066CC 0%, #00A3FF 100%);
    --gradient-2: linear-gradient(135deg, #003D7A 0%, #0066CC 100%);
    --gradient-3: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 163, 255, 0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar .container {
    max-width: 100%;
    padding: 0 4rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* === Navigation === Premium Glass Morphism Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 20, 40, 0.85) 0%, rgba(10, 15, 30, 0.95) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(0, 102, 204, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.08) 0%, rgba(10, 15, 30, 0.95) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 102, 204, 0.2);
    border-bottom: 1px solid rgba(0, 102, 204, 0.25);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7875rem 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 42px;
}

.logo-icon {
    height: 32px;
    width: auto;
}

.logo-full {
    height: 32px;
    width: auto;
}

.logo-text-img {
    height: 11px;
    width: auto;
}

.logo-blue {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    color: var(--text-primary);
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-cta .btn-primary {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    white-space: nowrap;
    min-width: 180px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width var(--transition-normal);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    grid-column: 3;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* === Buttons === Modern Clean Design */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.35);
    background: linear-gradient(135deg, #0052A3 0%, #004080 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-large {
    padding: 1.125rem 2.75rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Hero Section === Premium SaaS-Style Design */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 0;
    padding-bottom: 6rem;
    min-height: 90vh;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0.65) 100%),
        url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(10, 14, 26, 0.8) 70%, #0a0e1a 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 1) 100%);
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-blue);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    bottom: -100px;
    left: -100px;
    animation-delay: 7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--light-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-3);
    border: 1px solid var(--light-blue);
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero text container - Replaces image */
.hero-image-container-fullwidth {
    width: 100%;
    margin: 0 auto;
    padding: 10rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-image-container-fullwidth {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
}

/* Hero main heading - Replaces image */
.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.5px;
    max-width: 900px;
    text-shadow: 0 4px 30px rgba(0, 102, 204, 0.4), 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-company-name {
    font-size: 1.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 3px 20px rgba(0, 102, 204, 0.3), 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive hero text */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-company-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.75rem;
    }
    
    .hero-company-name {
        font-size: 1.25rem;
    }
}

/* Hero text content below image - Modern Clean */
.hero-text-below {
    margin-top: -1.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle-below {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle-below .highlight {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-subtitle-below {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle-below {
        font-size: 0.9rem;
    }
    
    .hero-text-below {
        margin-top: 2rem;
    }
}

/* Legacy styles - keeping for backward compatibility */
.hero-image-container {
    position: relative;
    margin-top: 50px;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3);
    display: block;
    aspect-ratio: 2752 / 700;
    content-visibility: auto;
}

@media (max-width: 768px) {
    .hero-banner-img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-banner-img {
        max-height: 250px;
    }
}

/* Legacy text overlay styles - hidden by default with new layout */
.hero-text-overlay {
    display: none;
}

.hero-subtitle {
        text-align: center;
        font-size: 1rem;
        line-height: 1.6;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    max-width: 100%;
    text-align: left;
}

.hero-subtitle .highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 12rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-top: 3rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-3);
    border: 1px solid var(--light-blue);
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* === Services Section === */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    border: 2px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.3);
    border-color: var(--primary-blue);
    background: var(--bg-tertiary);
}

.service-card.featured {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 163, 255, 0.1) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features i {
    color: var(--primary-blue);
    font-size: 0.85rem;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 1rem;
}

/* === Features Section === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    background: var(--bg-tertiary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card > p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.feature-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === Solutions Section === */
.solutions {
    background: var(--bg-secondary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 6px rgba(0, 102, 204, 0.3);
    background: var(--bg-tertiary);
}

.solution-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.solution-card h4 {
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* === CTA Section === */
.cta {
    background: var(--gradient-2);
    color: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-benefits {
    list-style: none;
}

.cta-benefits li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.cta-benefits i {
    color: var(--accent-blue);
    font-size: 1.25rem;
}

.cta-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.cta-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

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

/* === Footer === */
.footer {
    background: linear-gradient(90deg, #2d4a7c 0%, #1a2b4a 50%, #111827 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
}

.footer-logo-icon {
    height: 40px;
    width: auto;
}

.footer-logo-full {
    height: 24px;
    width: auto;
}

.footer-logo-text {
    height: 16px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a,
.footer-section ul li {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

/* === SuiteDash Embedded Forms === */
/* Keep original width, just adjust height */
#suitedash-contact-form iframe {
    border: none;
    width: 100%;
    height: 1300px;
    min-height: 1300px;
}

/* Style the form container to match site design */
#suitedash-contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .navbar .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
        overflow-x: hidden;
    }

    .nav-wrapper {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        border-right: 1px solid var(--border-color);
        transform: translateX(0);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-right: 0;
    }
    
    .logo {
        margin-left: 0;
    }
    
    /* Ensure no horizontal overflow on mobile */
    * {
        max-width: 100%;
    }
    
    .hero-image-container-fullwidth {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

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

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

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    /* Mobile hero image adjustments */
    .hero-image-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-banner-img {
        border-radius: 12px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .features-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
        text-align: center;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-image-container {
        margin-top: 1.5rem;
    }

    .hero-text-overlay {
        padding: 1.25rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

/* === Newsletter Section === */
.newsletter-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.newsletter-form-container {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.newsletter-cta {
    text-align: center;
}

.newsletter-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.newsletter-input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.newsletter-input-group .btn-primary {
    white-space: nowrap;
    padding: 1rem 2rem;
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

.newsletter-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.newsletter-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* === Cookie Consent Popup === */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.98) 0%, rgba(15, 20, 40, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-blue);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cookie-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.cookie-text h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-actions .btn-primary,
.cookie-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.cookie-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Mobile responsiveness for newsletter and cookie popup */
@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-text h2 {
        font-size: 2rem;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group .btn-primary {
        width: 100%;
    }

    .cookie-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-icon {
        justify-content: center;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-actions .btn-primary,
    .cookie-actions .btn-secondary {
        flex: 1;
        min-width: 120px;
    }
}

/* ==========================================
   Newsletter Popup Styles
   ========================================== */

.newsletter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.newsletter-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.newsletter-popup-container {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.98) 0%, rgba(20, 27, 45, 0.98) 100%);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3),
                0 0 0 1px rgba(0, 102, 204, 0.1) inset;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.newsletter-popup-overlay.active .newsletter-popup-container {
    transform: translateY(0) scale(1);
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.newsletter-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

.newsletter-popup-close:focus {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}

.newsletter-popup-content {
    position: relative;
    text-align: center;
}

.newsletter-popup-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066CC 0%, #003D7A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.newsletter-popup-icon i {
    font-size: 32px;
    color: #fff;
}

.newsletter-popup-content h3 {
    color: #00A3FF;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.newsletter-popup-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.newsletter-popup-footer {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .newsletter-popup-container {
        padding: 30px 20px;
        width: 95%;
    }
    
    .newsletter-popup-content h3 {
        font-size: 24px;
    }
    
    .newsletter-popup-content p {
        font-size: 15px;
    }
}

@media print {
    .newsletter-popup-overlay {
        display: none !important;
    }
}

