/* ==========================================================================
   Adrasis Console - Modern SaaS Landing Page Styles
   Tailwind CSS inspired with shadcn UI aesthetics
   ========================================================================== */

/* CSS Custom Properties - Design Tokens */
:root {
    /* Colors - Dark theme inspired by shadcn/ui */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 221.2 83.2% 53.3%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 221.2 83.2% 53.3%;
    --radius: 0.5rem;

    /* Brand Colors */
    --brand-primary: #2563eb;
    --brand-primary-rgb: 37, 99, 235;
    --brand-secondary: #0f172a;
    --brand-accent: #10b981;
    --brand-accent-rgb: 16, 185, 129;

    /* Semantic Colors */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --surface-primary: #ffffff;
    --surface-secondary: #f8fafc;
    --surface-tertiary: #f1f5f9;
    --border-default: #e2e8f0;
    --border-subtle: #f1f5f9;

    /* Typography */
    --font-sans: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Exo 2', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing Scale */
    --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;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --background: 222.2 84% 4.9%;
        --foreground: 210 40% 98%;
        --card: 222.2 84% 4.9%;
        --card-foreground: 210 40% 98%;
        --primary: 217.2 91.2% 59.8%;
        --primary-foreground: 222.2 47.4% 11.2%;
        --secondary: 217.2 32.6% 17.5%;
        --secondary-foreground: 210 40% 98%;
        --muted: 217.2 32.6% 17.5%;
        --muted-foreground: 215 20.2% 65.1%;
        --accent: 217.2 32.6% 17.5%;
        --accent-foreground: 210 40% 98%;
        --border: 217.2 32.6% 17.5%;
        --input: 217.2 32.6% 17.5%;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--surface-primary);
}

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

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #7c3aed 50%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: 768px;
}

.container-lg {
    max-width: 1440px;
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .md\:grid-cols-1 {
        grid-template-columns: 1fr;
    }
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* ==========================================================================
   Components - Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: var(--radius);
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--surface-tertiary);
    border-color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.btn-outline:hover {
    background: rgba(var(--brand-primary-rgb), 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--surface-secondary);
    color: var(--text-primary);
}

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

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8125rem;
}

.btn-icon {
    padding: var(--space-2);
    width: 40px;
    height: 40px;
}

/* ==========================================================================
   Components - Cards
   ========================================================================== */

.card {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-lg);
}

.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-elevated {
    box-shadow: var(--shadow-md);
    border: none;
}

.card-feature {
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card-feature:hover::before {
    opacity: 1;
}

/* ==========================================================================
   Components - Badge
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.badge-primary {
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    border-color: rgba(var(--brand-primary-rgb), 0.2);
}

.badge-success {
    background: rgba(var(--brand-accent-rgb), 0.1);
    color: var(--brand-accent);
    border-color: rgba(var(--brand-accent-rgb), 0.2);
}

.badge-dark {
    background: var(--brand-secondary);
    color: white;
    border-color: var(--brand-secondary);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 2.25rem;
    color: #0f2a4a;
    letter-spacing: 1px;
}

.logo-text sup {
    font-size: 0.5em;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
}

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

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--surface-secondary);
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1);
    background: var(--surface-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-default);
}

.lang-switch a {
    padding: var(--space-1) var(--space-2);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: calc(var(--radius) - 2px);
    transition: all var(--transition-fast);
}

.lang-switch a:hover {
    color: var(--text-primary);
}

.lang-switch a.active {
    background: var(--surface-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}

.menu-toggle {
    display: none;
    padding: var(--space-2);
    color: var(--text-primary);
}

/* Desktop/Mobile visibility classes */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        gap: 4px;
        z-index: 9999;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 16px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: #f1f5f9;
    }

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

    .nav-actions.mobile-only {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
    }

    .nav-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(var(--brand-primary-rgb), 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(var(--brand-accent-rgb), 0.1), transparent);
}

/* Grid Pattern Background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-16) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge .icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-visual {
    position: relative;
    margin-top: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    border-radius: calc(var(--radius) * 3);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-default);
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Floating Elements */
.hero-float {
    position: absolute;
    pointer-events: none;
}

.hero-float-1 {
    top: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    top: 60%;
    right: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-12);
    }

    .hero-content {
        padding: var(--space-8) 0;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    background: var(--surface-secondary);
}

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

.features-header h2 {
    margin-bottom: var(--space-4);
}

.features-header p {
    font-size: 1.125rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    border-radius: calc(var(--radius) * 1.5);
    color: var(--brand-primary);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Highlight Card */
.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-12) 0;
}

.feature-highlight.reverse {
    direction: rtl;
}

.feature-highlight.reverse > * {
    direction: ltr;
}

.feature-highlight-content {
    max-width: 480px;
}

.feature-highlight-image {
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .feature-highlight.reverse {
        direction: ltr;
    }
}

/* ==========================================================================
   Platform Features (Console Features)
   ========================================================================== */

.platform-features {
    background: linear-gradient(180deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 1024px) {
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.platform-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
    transition: all var(--transition-base);
}

.platform-item:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.3);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--surface-secondary);
    border-radius: var(--radius);
    color: var(--text-secondary);
}

.platform-icon svg {
    width: 20px;
    height: 20px;
}

.platform-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.platform-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   About / Company Section
   ========================================================================== */

.about-section {
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--space-6);
}

.about-text p {
    margin-bottom: var(--space-4);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

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

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    text-align: center;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.1), rgba(var(--brand-accent-rgb), 0.1));
    border-radius: calc(var(--radius) * 2);
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    position: relative;
    background: var(--brand-secondary);
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(var(--brand-primary-rgb), 0.3), transparent),
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(var(--brand-accent-rgb), 0.2), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
}

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

.cta-section .btn-primary {
    background: white;
    color: var(--brand-secondary);
}

.cta-section .btn-primary:hover {
    background: var(--surface-secondary);
}

.cta-section .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Trusted By / Social Proof
   ========================================================================== */

.trusted-section {
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.trusted-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.trusted-icons {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.trusted-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--text-secondary);
}

.trusted-icon:not(:first-child) {
    margin-left: -8px;
}

.trusted-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--brand-secondary);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--brand-primary);
    color: white;
}

.footer-nav h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-hero {
    min-height: 40vh;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #1e3a5f 100%);
}

.contact-hero h1 {
    color: white;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-section {
    padding: var(--space-16) 0;
}

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

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

.contact-info {
    padding: var(--space-8);
}

.contact-info h2 {
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(var(--brand-primary-rgb), 0.1);
    border-radius: var(--radius);
    color: var(--brand-primary);
}

.contact-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-map {
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: var(--space-6);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    padding: var(--space-8);
}

.contact-form h2 {
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Calendly Integration */
.calendly-wrapper {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    padding: var(--space-6);
    overflow: hidden;
}

.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hover animations */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing utilities */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Width utilities */
.w-full { width: 100%; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }

/* Icon utilities */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ==========================================================================
   Responsive Helpers
   ========================================================================== */

@media (max-width: 640px) {
    .sm\:hidden { display: none; }
}

@media (max-width: 768px) {
    .md\:hidden { display: none; }
}

@media (max-width: 1024px) {
    .lg\:hidden { display: none; }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}
