/* ============================================
   DIGICRYPSIS.COM — Complete Design System
   Palette: #545863 #D16014 #FFC914 #59C3C3 #BFDBF7
   Clean & Professional — No Frameworks
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Primary palette */
    --charcoal: #545863;
    --charcoal-dark: #3D4049;
    --burnt-orange: #D16014;
    --burnt-orange-dark: #B85210;
    --burnt-orange-glow: rgba(209, 96, 20, 0.18);
    --amber: #FFC914;
    --amber-dark: #E5B400;
    --amber-glow: rgba(255, 201, 20, 0.20);
    --teal: #59C3C3;
    --teal-dark: #45A8A8;
    --teal-glow: rgba(89, 195, 195, 0.18);
    --lavender: #BFDBF7;
    --lavender-light: #E4EFF9;

    /* Semantic aliases */
    --primary: #D16014;
    --primary-dark: #B85210;
    --secondary: #59C3C3;
    --dark: #545863;
    --light-bg: #F7F9FC;
    --white: #FFFFFF;

    /* Neutrals */
    --gray-100: #F4F5F7;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #545863;

    /* Gradients — clean & subtle */
    --hero-gradient: linear-gradient(135deg, #1a2a4a 0%, #2c4a7c 40%, #4a7ab5 70%, #7ab0d4 100%);
    --accent-gradient: linear-gradient(135deg, #D16014, #B85210);
    --gold-text-gradient: linear-gradient(135deg, #FFC914, #D16014);
    --teal-gradient: linear-gradient(135deg, #59C3C3, #45A8A8);

    /* Shadows & transitions */
    --card-shadow: 0 4px 24px rgba(84, 88, 99, 0.08);
    --card-shadow-hover: 0 12px 40px rgba(84, 88, 99, 0.14);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.75;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--burnt-orange);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

strong {
    font-weight: 700;
}

code,
pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

pre {
    background: var(--charcoal);
    color: #E2E8F0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

code {
    background: rgba(209, 96, 20, 0.08);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--burnt-orange);
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    padding: 6rem 0;
    background: var(--light-bg);
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Gold Gradient Text --- */
.text-gold {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-crimson {
    color: var(--burnt-orange);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--burnt-orange), var(--burnt-orange));
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--burnt-orange-glow);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--amber), var(--burnt-orange));
    color: var(--charcoal);
    box-shadow: 0 8px 32px var(--amber-glow);
    transform: translateY(-2px) scale(1.03);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
}

.btn-primary.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--burnt-orange);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--burnt-orange);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--burnt-orange);
    color: var(--white);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px var(--burnt-orange-glow);
}

.btn-secondary.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(84, 88, 99, 0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    width: 100%;
}

.navbar-logo img {
    height: 52px;
    width: auto;
    transition: transform var(--transition-base);
}

.navbar-logo:hover img {
    transform: scale(1.08);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-menu a {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--charcoal);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--burnt-orange);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-menu a:hover {
    color: var(--burnt-orange);
}

.navbar-menu a:hover::after {
    width: 60%;
}

.navbar-menu a.active {
    color: var(--burnt-orange);
}

.navbar-menu a.active::after {
    width: 60%;
}

.navbar-cta {
    margin-left: 1.5rem;
    padding: 2px 1.5rem !important;
    font-size: 0.875rem !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    padding: 0.75rem 2rem;
}

.mobile-menu a:hover {
    color: var(--burnt-orange);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--hero-gradient);
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

/* Spline 3D Background */
.hero-spline-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-spline-bg iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Dark overlay for text readability on top of Spline */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(61, 64, 73, 0.55);
    z-index: 0;
    pointer-events: none;
}

/* Remove the old ::before overlay since we now have Spline + ::after overlay */
.hero::before {
    display: none;
}

@keyframes binaryFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.08;
    }

    50% {
        transform: translateY(-20px);
        opacity: 0.15;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn-group {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    background: var(--hero-gradient);
    padding: 8rem 0 5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(89, 195, 195, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero h1 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.25rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a:hover {
    color: var(--white);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--hero-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(209, 96, 20, 0.08), rgba(89, 195, 195, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--burnt-orange);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 1rem;
    transition: gap var(--transition-base);
}

.card-link:hover {
    gap: 0.75rem;
}

/* ============================================
   FEATURE SECTIONS
   ============================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-visual {
    background: linear-gradient(135deg, var(--light-bg), var(--gray-100));
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--hero-gradient);
    opacity: 0.08;
    filter: blur(60px);
}

.feature-visual-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--charcoal);
    position: relative;
    z-index: 1;
}

.feature-content h2 {
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-600);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--burnt-orange);
    font-weight: 700;
}

/* ============================================
   WORKFLOW / STEPS
   ============================================ */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.workflow-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.workflow-step::after {
    content: '→';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--gray-300);
    font-weight: 700;
}

.workflow-step:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.workflow-step h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.workflow-step p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--burnt-orange);
    transform: scale(1.05);
    box-shadow: 0 12px 48px var(--burnt-orange-glow);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hero-gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.pricing-price span:not(.amount) {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--burnt-orange);
    font-weight: 700;
}

.pricing-features li.disabled {
    color: var(--gray-400);
    text-decoration: line-through;
}

.pricing-features li.disabled::before {
    content: '—';
    color: var(--gray-400);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.comparison-table thead {
    background: var(--charcoal);
    color: var(--white);
}

.comparison-table th {
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: left;
}

.comparison-table td {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table tbody tr {
    transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
    background: var(--light-bg);
}

.comparison-table .check {
    color: var(--burnt-orange);
    font-weight: 700;
    font-size: 1.25rem;
}

.comparison-table .cross {
    color: var(--gray-400);
    font-size: 1.25rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--burnt-orange);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--burnt-orange-glow);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--charcoal);
    cursor: pointer;
    background: var(--white);
    transition: background var(--transition-fast);
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question .faq-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-base);
    color: var(--burnt-orange);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-600);
}

/* ============================================
   INTEGRATION GRID
   ============================================ */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.integration-badge {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal);
    transition: all var(--transition-base);
}

.integration-badge:hover {
    border-color: var(--burnt-orange);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--hero-gradient);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--white);
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--gray-100);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-group {
    position: relative;
    z-index: 1;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
    transition: border-color var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--burnt-orange);
    box-shadow: 0 0 0 4px var(--burnt-orange-glow);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 5rem 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 100%;
}

.footer-brand img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    object-position: left;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--burnt-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.footer-legal a {
    color: var(--gray-400);
    font-size: 0.8125rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--burnt-orange);
}

.footer-legal span {
    color: var(--white);
    font-size: 0.8125rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .workflow-step:nth-child(3)::after {
        display: none;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .section,
    .section-alt {
        padding: 4rem 0;
    }

    .navbar-menu,
    .navbar-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .workflow-step::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .page-hero {
        padding: 6rem 0 3rem;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary.btn-lg,
    .btn-secondary.btn-lg,
    .btn-outline-white.btn-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-logo {
        height: 56px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 3rem;
}

.mb-8 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-6 {
    margin-top: 3rem;
}

.mt-8 {
    margin-top: 4rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.opacity-90 {
    opacity: 0.9;
}

.text-sm {
    font-size: 0.875rem;
}

/* Decorative chip */
.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    background: rgba(209, 96, 20, 0.08);
    color: var(--burnt-orange);
    margin-bottom: 1rem;
}

/* Section subtitle */
.section-subtitle {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: -0.5rem auto 3rem;
}

/* Stat cards */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card .stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Legal page styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.legal-content .effective-date {
    color: var(--gray-500);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Additions for new design */
.navbar-right-group {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navbar-center-logo {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    z-index: 1001;
    pointer-events: none;
}

.navbar-center-logo img {
    height: 110px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.navbar-logo img {
    height: 35px !important;
    width: auto;
    object-fit: contain;
}

.footer-legal a {
    color: var(--white) !important;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--gray-200);
}

.billing-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.3s;
}

.billing-label.active {
    color: var(--charcoal);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-500);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--burnt-orange);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.resizegridimg {
    max-width: 100%;
    width: 1100px;
    /* span 3 columns */
    margin: 0 auto;
    display: block;
}

.resizegridimg {
    max-width: 800px;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-200);
    margin: 0 auto;
}