/**
 * Syncifyr Theme Styles
 * 
 * @package Syncifyr
 */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
    /* Colors - matching original React/Tailwind design using HSL values */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222, 47%, 11%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 47%, 11%);
    
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(222, 47%, 11%);
    
    --primary: hsl(217, 91%, 60%);
    --primary-foreground: hsl(0, 0%, 100%);
    
    --secondary: hsl(214, 95%, 93%);
    --secondary-foreground: hsl(217, 91%, 40%);
    
    --muted: hsl(214, 32%, 96%);
    --muted-foreground: hsl(215, 16%, 47%);
    
    --accent: hsl(217, 91%, 60%);
    --accent-foreground: hsl(0, 0%, 100%);
    
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);
    --ring: hsl(217, 91%, 60%);
    
    /* Hex equivalents for easier use */
    --primary-hex: #3B82F6;
    --primary-dark: #2563EB;
    --foreground-hex: #0F172A;
    --muted-foreground-hex: #64748B;
    --border-hex: #E2E8F0;
    --secondary-hex: #DBEAFE;
    --destructive-hex: #EF4444;
    
    /* Gradients - matching original exactly */
    --gradient-hero: linear-gradient(135deg, hsla(217, 91%, 60%, 0.08) 0%, hsla(217, 91%, 60%, 0.02) 50%, transparent 100%);
    --gradient-cta: linear-gradient(135deg, hsl(217, 91%, 55%) 0%, hsl(217, 91%, 50%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(214, 95%, 97%) 0%, hsl(0, 0%, 100%) 100%);
    --gradient-text: linear-gradient(135deg, hsl(217, 91%, 50%) 0%, hsl(217, 91%, 65%) 100%);
    
    /* Shadows - matching original */
    --shadow-sm: 0 1px 2px 0 hsla(217, 91%, 60%, 0.05);
    --shadow-md: 0 4px 6px -1px hsla(217, 91%, 60%, 0.1), 0 2px 4px -2px hsla(217, 91%, 60%, 0.1);
    --shadow-lg: 0 10px 15px -3px hsla(217, 91%, 60%, 0.1), 0 4px 6px -4px hsla(217, 91%, 60%, 0.1);
    --shadow-xl: 0 20px 25px -5px hsla(217, 91%, 60%, 0.1), 0 8px 10px -6px hsla(217, 91%, 60%, 0.1);
    --shadow-2xl: 0 25px 50px -12px hsla(217, 91%, 60%, 0.25);
    --shadow-glow: 0 0 40px hsla(217, 91%, 60%, 0.25);
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max-width: 1280px;
    --container-narrow-width: 1024px;  /* max-w-5xl = 64rem */
    --container-padding: 1rem;
    
    /* Border Radius - matching original */
    --radius: 0.75rem;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 1.875rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-all: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    opacity: 0.8;
}

/* Text sizes */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

/* Font weights */
.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

/* Text colors */
.text-foreground {
    color: var(--foreground);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

.text-primary-foreground {
    color: var(--primary-foreground);
}

.text-secondary-foreground {
    color: var(--secondary-foreground);
}

.text-primary-foreground-muted {
    color: hsla(0, 0%, 100%, 0.8);
}

.text-primary-foreground-90 {
    color: hsla(0, 0%, 100%, 0.9);
}

.text-destructive {
    color: var(--destructive);
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Letter spacing */
.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

/* Line height */
.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Uppercase */
.uppercase {
    text-transform: uppercase;
}


/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container-wide {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section-padding {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Max width utilities */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-sm {
    max-width: 24rem;
}

/* Margin utilities */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.pt-4 { padding-top: 1rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-16 { padding-top: 4rem; }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flexbox utilities */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Width/Height utilities */
.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.w-5 { width: 1.25rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }

.h-2 { height: 0.5rem; }
.h-5 { height: 1.25rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   Gradient Utilities
   ========================================================================== */

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-cta {
    background: var(--gradient-cta);
}

.bg-gradient-subtle {
    background: var(--gradient-subtle);
}

/* Background colors */
.bg-background { background-color: var(--background); }
.bg-foreground { background-color: var(--foreground); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }
.bg-destructive { background-color: var(--destructive); }

.bg-primary\/5 { background-color: hsla(217, 91%, 60%, 0.05); }
.bg-primary\/10 { background-color: hsla(217, 91%, 60%, 0.1); }
.bg-destructive\/10 { background-color: hsla(0, 84%, 60%, 0.1); }

/* Border utilities */
.border { border: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.border-primary { border-color: var(--primary); }
.border-primary\/30 { border-color: hsla(217, 91%, 60%, 0.3); }
.border-border\/50 { border-color: hsla(214, 32%, 91%, 0.5); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-4 { border-width: 4px; }

/* Border radius */
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-glow { box-shadow: var(--shadow-glow); }

/* Blur utilities */
.blur-3xl { filter: blur(64px); }
.backdrop-blur { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }

/* Object fit */
.object-cover { object-fit: cover; }

/* Padding */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* Space utilities */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }


/* ==========================================================================
   Button Styles - EXACT MATCH TO REACT
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 300ms ease, background-color 300ms ease, border-color 300ms ease, color 300ms ease;
    border: none;
}

.btn:focus-visible {
    outline: 2px solid hsl(217, 91%, 60%);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================
   HERO BUTTON - EXACT REACT MATCH
   React: bg-gradient-cta text-primary-foreground shadow-lg 
          hover:shadow-xl hover:-translate-y-1 animate-pulse-glow
   Size xl: h-16 rounded-xl px-10 text-lg
   ============================================ */
.btn-hero {
    height: 4rem;                    /* h-16 = 64px */
    padding: 0 2.5rem;               /* px-10 = 40px */
    font-size: 1.125rem;             /* text-lg */
    font-weight: 600;                /* font-semibold */
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(135deg, hsl(217, 91%, 55%) 0%, hsl(217, 91%, 50%) 100%);
    border: none;
    border-radius: 0.75rem;          /* rounded-xl */
    animation: pulseGlow 1.5s ease-in-out infinite;
    -webkit-animation: pulseGlow 1.5s ease-in-out infinite;
}

.btn-hero:hover {
    transform: translateY(-0.25rem); /* -translate-y-1 = -4px */
    color: #ffffff;
}

/* ============================================
   HERO OUTLINE BUTTON - EXACT REACT MATCH
   React: border-2 border-primary/30 bg-background/80 
          backdrop-blur-sm text-foreground 
          hover:border-primary hover:bg-primary/5
   ============================================ */
.btn-hero-outline {
    height: 4rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    color: hsl(222, 47%, 11%);       /* foreground */
    background: hsla(0, 0%, 100%, 0.8);  /* bg-background/80 */
    backdrop-filter: blur(4px);      /* backdrop-blur-sm */
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid hsla(217, 91%, 60%, 0.3);  /* border-primary/30 */
    border-radius: 0.75rem;
}

.btn-hero-outline:hover {
    border-color: hsl(217, 91%, 60%);  /* border-primary */
    background: hsla(217, 91%, 60%, 0.05);  /* bg-primary/5 */
    color: hsl(222, 47%, 11%);
}

/* ============================================
   DEFAULT BUTTON - EXACT REACT MATCH
   React: bg-primary text-primary-foreground 
          hover:bg-primary/90 hover:shadow-lg hover:-translate-y-0.5
   Size default: h-11 px-6
   ============================================ */
.btn-default,
.btn-primary {
    height: 2.75rem;                 /* h-11 = 44px */
    padding: 0 1.5rem;               /* px-6 = 24px */
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: hsl(217, 91%, 60%);  /* primary */
    border: none;
    border-radius: 0.5rem;
}

.btn-default:hover,
.btn-primary:hover {
    background-color: hsla(217, 91%, 60%, 0.9);  /* primary/90 */
    box-shadow: 0 10px 15px -3px hsla(217, 91%, 60%, 0.1), 
                0 4px 6px -4px hsla(217, 91%, 60%, 0.1);  /* shadow-lg */
    transform: translateY(-0.125rem);  /* -translate-y-0.5 = -2px */
    color: #ffffff;
}

/* ============================================
   OUTLINE BUTTON - EXACT REACT MATCH
   React: border-2 border-primary bg-transparent text-primary 
          hover:bg-primary hover:text-primary-foreground
   ============================================ */
.btn-outline {
    height: 2.75rem;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(217, 91%, 60%);       /* primary */
    background: transparent;
    border: 2px solid hsl(217, 91%, 60%);  /* border-primary */
    border-radius: 0.5rem;
}

.btn-outline:hover {
    background: hsl(217, 91%, 60%);  /* bg-primary */
    color: #ffffff;                   /* text-primary-foreground */
}

/* ============================================
   SECONDARY BUTTON - EXACT REACT MATCH
   React: bg-secondary text-secondary-foreground hover:bg-secondary/80
   ============================================ */
.btn-secondary {
    height: 2.75rem;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(217, 91%, 40%);       /* secondary-foreground */
    background-color: hsl(214, 95%, 93%);  /* secondary */
    border: none;
    border-radius: 0.5rem;
}

.btn-secondary:hover {
    background-color: hsla(214, 95%, 93%, 0.8);  /* secondary/80 */
}

/* ============================================
   GHOST BUTTON - EXACT REACT MATCH
   React: hover:bg-accent hover:text-accent-foreground
   ============================================ */
.btn-ghost {
    height: 2.75rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(222, 47%, 11%);       /* foreground */
    background: transparent;
    border: none;
    border-radius: 0.5rem;
}

.btn-ghost:hover {
    background: hsl(217, 91%, 60%);  /* accent */
    color: #ffffff;                   /* accent-foreground */
}

/* Button sizes */
.btn-sm {
    height: 2.25rem;                 /* h-9 */
    padding: 0 1rem;                 /* px-4 */
    font-size: 0.875rem;
    border-radius: 0.375rem;         /* rounded-md */
}

.btn-lg {
    height: 3.5rem;                  /* h-14 */
    padding: 0 2rem;                 /* px-8 */
    font-size: 1rem;                 /* text-base */
    border-radius: 0.75rem;          /* rounded-xl */
}

.btn-xl {
    height: 4rem;                    /* h-16 */
    padding: 0 2.5rem;               /* px-10 */
    font-size: 1.125rem;             /* text-lg */
    border-radius: 0.75rem;          /* rounded-xl */
}

/* Icon in button - React: [&_svg]:size-4 */
.btn svg {
    width: 1rem;                     /* size-4 = 16px */
    height: 1rem;
    flex-shrink: 0;
    pointer-events: none;
}

.btn-hero svg,
.btn-xl svg,
.btn-lg svg {
    width: 1.25rem;                  /* size-5 = 20px */
    height: 1.25rem;
}

/* ==========================================================================
   Card Styles
   ========================================================================== */

.card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    transition: var(--transition-all);
}

.card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-xl);
}

/* Feature card specific */
.feature-card {
    padding: 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    transition: var(--transition-all);
}

.feature-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-xl);
}

.feature-card .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-all);
}

.feature-card:hover .icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
}

.feature-card .icon-wrapper svg {
    color: var(--primary);
    transition: color var(--transition-normal);
}

.feature-card:hover .icon-wrapper svg {
    color: var(--primary-foreground);
}

/* Problem card */
.problem-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: var(--background);
    border: 1px solid hsla(214, 32%, 91%, 0.5);
    transition: var(--transition-all);
}

.problem-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-md);
}

.problem-card .icon-wrapper {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background: hsla(0, 84%, 60%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card .icon-wrapper svg {
    color: var(--destructive);
}

/* Solution card */
.solution-card {
    position: relative;
    background: var(--background);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.solution-card .badge {
    position: absolute;
    top: -1rem;
    left: 2rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Testimonial card */
.testimonial-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    background: var(--background);
    border: 1px solid var(--border);
    transition: var(--transition-all);
}

.testimonial-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-xl);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: hsla(217, 91%, 60%, 0.1);
}

/* Pricing card */
.pricing-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    background: var(--background);
    transition: var(--transition-all);
}

.pricing-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-card.popular .text-muted-foreground {
    color: hsla(0, 0%, 100%, 0.8);
}

.pricing-card.popular .text-foreground {
    color: var(--primary-foreground);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}


/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Contact form card */
.contact-form {
    padding: 2rem;
    border-radius: var(--radius-2xl);
    background: var(--background);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

/* Contact info item */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-item .icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item .icon-wrapper svg {
    color: var(--primary);
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px 2px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px 8px rgba(59, 130, 246, 0.6);
    }
    100% {
        box-shadow: 0 0 15px 2px rgba(59, 130, 246, 0.3);
    }
}

@-webkit-keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px 2px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px 8px rgba(59, 130, 246, 0.6);
    }
    100% {
        box-shadow: 0 0 15px 2px rgba(59, 130, 246, 0.3);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-spin {
    animation: spin 0.8s linear infinite;
}

/* Animation delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-800 { animation-delay: 0.8s; }

/* Transition utilities */
.transition-all {
    transition: var(--transition-all);
}

.transition-colors {
    transition: color var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
}

/* Hover transform */
.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

/* ==========================================================================
   Section-Specific Styles
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 8rem; /* pt-32 */
    padding-bottom: 5rem; /* pb-20 */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-blob {
    position: absolute;
    border-radius: 9999px;
    background: hsla(217, 91%, 60%, 0.05);
    filter: blur(64px);
}

.hero-blob-right {
    top: 25%;
    right: 0;
    width: 24rem;
    height: 24rem;
}

.hero-blob-left {
    bottom: 0;
    left: 0;
    width: 20rem;
    height: 20rem;
}

.hero-content {
    position: relative;
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-badge .badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--primary);
}

.hero-headline {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    line-height: 1.1; /* leading-tight */
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-subheadline {
    font-size: 1.125rem; /* text-lg */
    color: var(--muted-foreground);
    max-width: 42rem; /* max-w-2xl */
    margin: 0 auto 2.5rem;
    line-height: 1.625;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-trust {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid hsla(214, 32%, 91%, 0.5);
}

.hero-trust-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.hero-trust-companies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0.6;
}

.hero-trust-companies span {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsla(222, 47%, 11%, 0.4);
}

/* ==========================================================================
   How It Works Section Styles
   ========================================================================== */

.how-it-works-section {
    position: relative;
}

.steps-container {
    position: relative;
}

.steps-connection-line {
    display: none;
    position: absolute;
    top: 2.5rem; /* Half of step-circle height (5rem / 2) */
    left: 16.67%; /* Start from center of first step */
    right: 16.67%; /* End at center of last step */
    height: 2px;
    background: var(--border);
}

.step-item {
    position: relative;
    text-align: center;
}

.step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background: var(--background);
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    transition: var(--transition-all);
}

.step-item:hover .step-circle {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.step-circle svg {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.step-number {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(3rem) translateY(-0.5rem);
    font-size: 3.75rem;
    font-weight: 700;
    color: hsla(217, 91%, 60%, 0.1);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.step-item h3 {
    margin-bottom: 1rem;
}

.step-item p {
    margin: 0;
    line-height: 1.625;
}

/* How It Works Section Responsive */
@media (min-width: 768px) {
    .step-number {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .steps-connection-line {
        display: block;
    }
    
    .step-number {
        font-size: 3.75rem;
    }
}

/* Testimonials Section */
.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-rating svg {
    color: #FBBF24;
    fill: #FBBF24;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Pricing Section */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--primary);
}

.pricing-card.popular .pricing-features li svg {
    color: var(--primary-foreground);
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 700;
}

.pricing-period {
    color: var(--muted-foreground);
}

.pricing-card.popular .pricing-period {
    color: hsla(0, 0%, 100%, 0.8);
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
    overflow: hidden;
}

.final-cta-background {
    position: absolute;
    inset: 0;
    background: hsla(217, 91%, 60%, 0.05);
}

.final-cta-blob {
    position: absolute;
    border-radius: 9999px;
    background: hsla(217, 91%, 60%, 0.1);
    filter: blur(64px);
}

.final-cta-blob-left {
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
}

.final-cta-blob-right {
    bottom: 0;
    right: 25%;
    width: 20rem;
    height: 20rem;
}

.final-cta-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-3xl);
    background: var(--background);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-2xl);
}

.final-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-2xl);
    background: var(--secondary);
    margin-bottom: 2rem;
}

.final-cta-icon svg {
    color: var(--primary);
}

.final-cta-headline {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta-subheadline {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.625;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.final-cta-trust {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Final CTA Section Responsive */
@media (min-width: 640px) {
    .final-cta-headline {
        font-size: 2.25rem;
    }
    
    .final-cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .final-cta-card {
        padding: 4rem;
    }
    
    .final-cta-headline {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .final-cta-card {
        padding: 4rem;
    }
    
    .final-cta-headline {
        font-size: 3rem;
    }
}

/* Solution bullets */
.solution-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.solution-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.solution-bullets li .bullet-dot {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: hsla(217, 91%, 60%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-bullets li .bullet-dot-inner {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--primary);
}

/* Section headers */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap var(--transition-normal);
}

.link-arrow:hover {
    gap: 0.75rem;
}


/* ==========================================================================
   Problem Section Styles
   ========================================================================== */

.problem-section {
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Problem Side */
.problem-content {
    /* Content wrapper */
}

.problem-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.problem-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.problem-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: var(--background);
    border: 1px solid hsla(214, 32%, 91%, 0.5);
    transition: var(--transition-all);
}

.problem-item:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-md);
}

.problem-item-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background: hsla(0, 84%, 60%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-item-icon svg {
    color: var(--destructive);
    width: 24px;
    height: 24px;
}

.problem-item-content {
    flex: 1;
}

.problem-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.problem-item-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

/* Solution Side */
.solution-content {
    /* Content wrapper */
}

.solution-card {
    position: relative;
    background: var(--background);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.solution-badge {
    position: absolute;
    top: -1rem;
    left: 2rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.solution-card-content {
    padding-top: 1rem;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.solution-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.solution-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.solution-bullet-dot-wrapper {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: hsla(217, 91%, 60%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-bullet-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--primary);
}

.solution-bullet-item span {
    color: var(--foreground);
    font-size: 1rem;
}

.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-normal);
}

.solution-cta:hover {
    gap: 0.75rem;
}

.solution-cta svg {
    width: 18px;
    height: 18px;
}

/* Problem Section Responsive */
@media (min-width: 640px) {
    .problem-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }
    
    .problem-title {
        font-size: 2.5rem;
    }
    
    .solution-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(214, 32%, 91%, 0.5);
}

.navbar {
    position: relative;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.navbar-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-lg);
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Desktop Navigation */
.navbar-menu {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--muted-foreground);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--foreground);
}

/* Desktop CTAs */
.navbar-ctas {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.hamburger-icon,
.close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
}

.hamburger-icon svg,
.close-icon svg {
    color: var(--foreground);
}

/* Show hamburger icon by default, hide close icon */
.mobile-menu-toggle .hamburger-icon {
    display: flex;
}

.mobile-menu-toggle .close-icon {
    display: none;
}

/* When menu is open, show close icon and hide hamburger */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
    display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .close-icon {
    display: flex;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-menu[aria-hidden="false"] {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-menu-inner {
    padding-top: 0.5rem;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu li a {
    display: block;
    padding: 1rem 0;
    min-height: 44px;
    color: var(--muted-foreground);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-nav-menu li a:hover {
    color: var(--foreground);
}

.mobile-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.mobile-menu-ctas .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
}

/* Body when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background: var(--foreground);
    color: var(--background);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-logo .logo-text {
    color: var(--background);
}

.footer-tagline {
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.footer-column {
    /* Column styles */
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--background);
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu li a {
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-menu li a:hover {
    color: var(--background);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.copyright {
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: hsla(0, 0%, 100%, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--background);
}

.social-links svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Toast Notifications and Loading Spinner styles are defined in the Contact Section */

/* ==========================================================================
   Accessibility
   ========================================================================== */

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px;
    background: var(--primary);
    color: var(--primary-foreground);
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Small devices (640px and up) */
@media (min-width: 640px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .section-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    h1, .hero-headline {
        font-size: 3rem;
    }
    
    h2, .section-title {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .hero-ctas {
        flex-direction: row;
    }
    
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    .section-padding {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    h1, .hero-headline {
        font-size: 3.5rem;
    }
    
    h2, .section-title {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 2fr repeat(4, 1fr);
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-value {
        font-size: 2.25rem;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
    .navbar-inner {
        height: 80px;
    }
    
    .navbar-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .navbar-ctas {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    h1, .hero-headline {
        font-size: 3.75rem; /* lg:text-6xl */
    }
    
    h2, .section-title {
        font-size: 3rem;
    }
    
    .hero-section {
        padding-top: 10rem; /* lg:pt-40 */
        padding-bottom: 8rem; /* lg:pb-32 */
    }
    
    .hero-subheadline {
        font-size: 1.25rem; /* sm:text-xl */
    }
    
    .hero-ctas {
        flex-direction: row;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lg\:gap-8 {
        gap: 2rem;
    }
    
    .lg\:gap-12 {
        gap: 3rem;
    }
    
    .lg\:gap-20 {
        gap: 5rem;
    }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
    h1, .hero-headline {
        font-size: 4.5rem; /* xl:text-7xl */
    }
}



/* ==========================================================================
   Features Section Styles
   ========================================================================== */

.features-section {
    position: relative;
    background: var(--background);
}

.features-header {
    /* Header container */
}

.features-grid {
    /* Grid container - uses utility classes */
}

/* Feature Card Enhancements */
.feature-card {
    padding: 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    transition: var(--transition-all);
}

.feature-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-xl);
}

.feature-card .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-all);
}

.feature-card:hover .icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
}

.feature-card .icon-wrapper svg {
    color: var(--primary);
    transition: color var(--transition-normal);
}

.feature-card:hover .icon-wrapper svg {
    color: var(--primary-foreground);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.feature-card-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.625;
    margin: 0;
}

/* Features Section Responsive */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-card {
        padding: 2rem;
    }
}


/* ==========================================================================
   Testimonials Section Styles
   ========================================================================== */

.testimonials-section {
    position: relative;
    background: var(--background);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    background: var(--background);
    border: 1px solid var(--border);
    transition: var(--transition-all);
}

.testimonial-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-xl);
}

/* Quote Icon */
.testimonial-card .quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: hsla(217, 91%, 60%, 0.1);
}

.testimonial-card .quote-icon svg {
    width: 48px;
    height: 48px;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-rating svg {
    color: #FBBF24;
    fill: #FBBF24;
    width: 18px;
    height: 18px;
}

/* Testimonial Content */
.testimonial-content {
    margin-bottom: 1.5rem;
    line-height: 1.625;
    position: relative;
    z-index: 10;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
}

.testimonial-author p {
    margin: 0;
}

/* Statistics Section */
.testimonials-stats {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    /* Individual stat item */
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Testimonials Section Responsive */
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-value {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 2.5rem;
    }
}


/* ==========================================================================
   Pricing Section Styles
   ========================================================================== */

.pricing-section {
    position: relative;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Pricing Card Enhancements */
.pricing-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    background: var(--background);
    transition: var(--transition-all);
}

.pricing-card:hover {
    border-color: hsla(217, 91%, 60%, 0.3);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

/* Popular Badge */
.pricing-card .popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Plan Header */
.pricing-card h3 {
    margin-bottom: 0.5rem;
}

/* Price Display */
.pricing-price {
    font-size: 2.25rem;
    font-weight: 700;
}

.pricing-period {
    color: var(--muted-foreground);
}

.pricing-card.popular .pricing-period {
    color: hsla(0, 0%, 100%, 0.8);
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--primary);
}

.pricing-card.popular .pricing-features li svg {
    color: var(--primary-foreground);
}

/* Text colors for popular card */
.pricing-card.popular .text-muted-foreground,
.pricing-card.popular .text-primary-foreground-muted {
    color: hsla(0, 0%, 100%, 0.8);
}

.pricing-card.popular .text-foreground,
.pricing-card.popular .text-primary-foreground {
    color: var(--primary-foreground);
}

.pricing-card.popular .text-primary-foreground-90 {
    color: hsla(0, 0%, 100%, 0.9);
}

/* Pricing Section Responsive */
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        align-items: stretch;
    }
    
    .pricing-card.popular {
        transform: scale(1.05);
        z-index: 10;
    }
}

@media (min-width: 1024px) {
    .pricing-price {
        font-size: 3rem;
    }
}


/* ==========================================================================
   Contact Section Styles
   ========================================================================== */

.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.625;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-item .icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon-wrapper svg {
    color: var(--primary);
}

.contact-info-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.contact-info-value {
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form {
    padding: 2rem;
    border-radius: var(--radius-2xl);
    background: var(--background);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Form Button */
.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* Loading spinner for form submission */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--foreground);
    color: var(--background);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
    max-width: 90vw;
}

.toast-notification.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: hsl(142, 76%, 36%);
    color: white;
}

.toast-error {
    background: var(--destructive);
    color: white;
}

/* Contact Section Responsive */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .contact-title {
        font-size: 2.25rem;
    }
}
