/* ============================================
   Risk Ninja Marketing Website
   Modern, Clean, Professional
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --black: #000000;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    transition: color var(--transition);
}

.header.scrolled .logo {
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all var(--transition);
}

/* Logo dark/light variants */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

.header.scrolled .logo-dark {
    display: block;
}

.header.scrolled .logo-light {
    display: none;
}

.header.scrolled .logo-img {
    height: 52px;
}

.footer .logo-img {
    height: 72px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--gray-600);
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.header.scrolled .mobile-menu-toggle span {
    background: var(--gray-700);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.4);
}

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

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

.header.scrolled .btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.header.scrolled .btn-secondary:hover {
    background: var(--gray-200);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.1) 100%);
    filter: blur(60px);
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 30%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
}

.hero-dashboard {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-2xl);
}

.hero-dashboard::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.dashboard-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dot:nth-child(1) { background: #ef4444; }
.dashboard-dot:nth-child(2) { background: #f59e0b; }
.dashboard-dot:nth-child(3) { background: #22c55e; }

.dashboard-content {
    display: grid;
    gap: 1rem;
}

.dashboard-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.dashboard-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.dashboard-card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.dashboard-card.extreme .dashboard-card-value { color: #f87171; }
.dashboard-card.high .dashboard-card-value { color: #fb923c; }
.dashboard-card.medium .dashboard-card-value { color: #facc15; }
.dashboard-card.low .dashboard-card-value { color: #4ade80; }

.dashboard-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1rem;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    min-height: 20px;
    opacity: 0.8;
}

/* Floating elements */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 2s;
}

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

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon.success { background: #dcfce7; color: #16a34a; }
.floating-icon.info { background: #dbeafe; color: #2563eb; }

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

.floating-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}

.floating-subtext {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Problem Section */
.problems {
    background: var(--gray-50);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    stroke: #dc2626;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Benefits Section */
.benefits {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.benefits .section-header h2,
.benefits .section-header p {
    color: var(--white);
}

.benefits .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Frameworks Preview */
.frameworks-preview {
    background: var(--gray-50);
}

.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.framework-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.framework-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.framework-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.framework-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--white);
}

.framework-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.framework-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.framework-controls {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
}

.frameworks-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: #facc15;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.125rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

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

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 5rem 0 2rem;
}

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

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

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

.footer-links a {
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

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

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

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

/* ============================================
   PAGE SPECIFIC STYLES
   ============================================ */

/* Page Hero (for internal pages) */
.page-hero {
    background: var(--gradient-hero);
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section:nth-child(even) {
    background: var(--gray-50);
}

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

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.0625rem;
    color: var(--gray-600);
}

.content-list {
    margin-top: 1.5rem;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    color: var(--gray-700);
}

.content-list li svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.content-image {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.content-image svg {
    width: 200px;
    height: 200px;
    stroke: white;
    opacity: 0.9;
}

/* Frameworks Page */
.frameworks-list {
    display: grid;
    gap: 2rem;
}

.framework-detail {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.framework-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.framework-detail-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.framework-detail-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.framework-detail-content p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.framework-detail-meta {
    text-align: right;
}

.framework-detail-controls {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.framework-detail-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.contact-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: all var(--transition);
    font-family: inherit;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled svg {
    stroke: var(--gray-300);
}

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

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

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    list-style: disc;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .hero-visual {
        display: none;
    }

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

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

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

    .footer-brand {
        grid-column: span 2;
    }

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

    .content-grid.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 3rem auto 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .framework-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .framework-detail-icon {
        margin: 0 auto;
    }

    .framework-detail-meta {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 0 4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .problems-grid,
    .features-grid,
    .testimonials-grid,
    .benefits-grid,
    .frameworks-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

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

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

    section {
        padding: 4rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--gray-700);
}

/* ============================================
   ADDITIONAL PAGE STYLES
   ============================================ */

/* Section helpers */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Nav Links */
.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header.scrolled .nav-links a {
    color: var(--gray-600);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* About Page - Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    padding-right: 2rem;
}

.story-content h2 {
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.visual-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.visual-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.visual-icon.red {
    background: #fee2e2;
    color: #dc2626;
}

.visual-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.visual-icon svg {
    width: 28px;
    height: 28px;
}

.visual-card span {
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.25rem;
}

.visual-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.visual-arrow {
    color: var(--gray-400);
}

.visual-arrow svg {
    width: 32px;
    height: 32px;
}

/* Mission Section */
.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-statement {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar {
    padding: 2rem;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.pillar h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.pillar p {
    color: var(--gray-600);
    margin: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--gray-600);
    margin: 0;
}

/* Stats Showcase */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

/* Framework Detail Pages */
.framework-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.framework-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.framework-grid.reverse .framework-info {
    order: 2;
}

.framework-grid.reverse .framework-visual {
    order: 1;
}

.framework-badge {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.framework-badge.blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.framework-badge.purple { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
.framework-badge.orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }
.framework-badge.green { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }

.framework-badge svg {
    width: 32px;
    height: 32px;
}

.framework-badge.blue svg { stroke: #2563eb; }
.framework-badge.purple svg { stroke: #7c3aed; }
.framework-badge.orange svg { stroke: #ea580c; }
.framework-badge.green svg { stroke: #16a34a; }

.framework-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.framework-tagline {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.framework-info > p {
    color: var(--gray-600);
    line-height: 1.8;
}

.framework-features {
    margin: 2rem 0;
}

.framework-features h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.framework-features ul {
    list-style: none;
    padding: 0;
}

.framework-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.framework-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.framework-functions h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.function-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.function-tag {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.function-tag.govern { background: #fef3c7; color: #92400e; }
.function-tag.identify { background: #dbeafe; color: #1e40af; }
.function-tag.protect { background: #dcfce7; color: #166534; }
.function-tag.detect { background: #fce7f3; color: #9d174d; }
.function-tag.respond { background: #fee2e2; color: #991b1b; }
.function-tag.recover { background: #ede9fe; color: #5b21b6; }
.function-tag.blue { background: #dbeafe; color: #1e40af; }
.function-tag.green { background: #dcfce7; color: #166534; }
.function-tag.orange { background: #ffedd5; color: #9a3412; }
.function-tag.purple { background: #ede9fe; color: #5b21b6; }

/* Framework Card Preview */
.framework-card-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preview-title {
    font-weight: 700;
    color: var(--gray-900);
}

.preview-badge {
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.preview-badge.orange {
    background: #f59e0b;
}

.preview-badge.green {
    background: #10b981;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.preview-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.preview-stat .stat-value.green { color: #10b981; }
.preview-stat .stat-value.yellow { color: #f59e0b; }
.preview-stat .stat-value.red { color: #ef4444; }

.preview-stat .stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.preview-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Maturity Levels */
.maturity-levels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.maturity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.maturity-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.maturity-dots {
    display: flex;
    gap: 0.5rem;
}

.maturity-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-200);
}

.maturity-dots .dot.filled {
    background: var(--primary);
}

.maturity-value {
    font-weight: 600;
    color: var(--gray-900);
}

/* Essential Eight Grid */
.essential-eight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.e8-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.e8-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.e8-item span:last-child {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* Coming Soon Cards */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.coming-soon-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    border-style: dashed;
}

.coming-soon-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.coming-soon-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.coming-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.framework-request {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-600);
}

.framework-request a {
    color: var(--primary);
    font-weight: 600;
}

.framework-request a:hover {
    text-decoration: underline;
}

/* Framework Category Layout */
.framework-category {
    margin-bottom: 3rem;
}

.framework-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.category-colour {
    width: 4px;
    height: 28px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.category-header .category-count {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.fw-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.fw-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.fw-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.fw-card-content {
    flex: 1;
    min-width: 0;
}

.fw-card-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.fw-card-desc {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin: 0;
}

/* SCF Highlight Section */
.scf-highlight {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.scf-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.scf-highlight p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.scf-features {
    list-style: none;
    padding: 0;
}

.scf-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.scf-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.scf-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scf-mapping-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
}

.scf-mapping-preview h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.scf-mapping-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.scf-mapping-row .scf-arrow {
    color: rgba(255, 255, 255, 0.4);
}

.scf-mapping-row .scf-source {
    color: var(--accent);
    font-weight: 500;
}

.scf-mapping-row .scf-target {
    color: rgba(255, 255, 255, 0.8);
}

/* Custom Framework Callout */
.custom-framework-callout {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.custom-framework-callout h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.custom-framework-callout p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Request Framework CTA */
.request-framework {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.request-framework h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.request-framework p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Framework Count Badge (homepage preview) */
.frameworks-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive: Framework Categories */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scf-highlight {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

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

    .scf-highlight {
        padding: 1.5rem;
    }

    .scf-highlight h3 {
        font-size: 1.25rem;
    }
}

/* Cross-mapping Section */
.crossmap-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.crossmap-info h2 {
    margin-bottom: 1rem;
}

.crossmap-info > p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.crossmap-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
}

.crossmap-benefits li svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.mapping-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.control-center {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    box-shadow: var(--shadow-xl);
}

.framework-connections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.connected-framework {
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Pricing Page Additions */
.pricing-section {
    padding-top: 2rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-400);
    transition: color var(--transition);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--gray-900);
}

.save-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #dcfce7;
    color: #166534;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
    transition: background var(--transition);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-slider {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform var(--transition);
    box-shadow: var(--shadow);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--gray-900);
}

.pricing-amount .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-amount.custom {
    padding: 1rem 0;
}

/* Currency Selector */
.currency-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.currency-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
    min-width: 60px;
}

.currency-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.currency-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Prominent Currency Selector (below toggle) */
.currency-selector-prominent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.currency-selector-prominent .currency-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
}

.currency-selector-prominent .currency-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.currency-selector-prominent .currency-btn {
    padding: 0.75rem 1.25rem;
    min-width: 80px;
    font-size: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.currency-selector-prominent .currency-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.currency-selector-prominent .currency-btn.active {
    box-shadow: var(--shadow-md), 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Annual Savings Display */
.annual-savings {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

/* Trust Section */
.trust-section {
    padding: 2rem 0;
    background: var(--gray-50);
}

.trust-content {
    text-align: center;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.payment-logo {
    height: 28px;
    width: auto;
    color: var(--gray-400);
    transition: color var(--transition);
}

.payment-logo:hover {
    color: var(--gray-600);
}

.payment-logo.stripe-logo {
    height: 24px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
}

.security-badge svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
}

.price-custom {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-block {
    width: 100%;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
}

.comparison-table th.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.comparison-table td.featured {
    background: rgba(99, 102, 241, 0.03);
}

.comparison-table tr.category td {
    background: var(--gray-50);
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table .check {
    color: var(--accent);
    font-weight: 700;
}

.comparison-table .cross {
    color: var(--gray-300);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--gray-600);
    margin: 0;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-disclaimer {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1rem;
    text-align: center;
}

.form-disclaimer a {
    color: var(--primary);
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card span {
    color: var(--primary);
    font-weight: 500;
}

.social-links {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.social-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
}

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

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.quick-link-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.quick-link-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.quick-link-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.quick-link-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* Legal Pages */
.legal-hero {
    padding: 8rem 0 3rem;
}

.legal-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.legal-toc {
    position: sticky;
    top: 100px;
    align-self: start;
}

.legal-toc h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.legal-toc ul {
    list-style: none;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: color var(--transition);
}

.legal-toc a:hover {
    color: var(--primary);
}

.legal-body section {
    padding: 0;
    margin-bottom: 2rem;
}

.legal-body h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.legal-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-body h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-body p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-body li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-body a {
    color: var(--primary);
}

.legal-body address {
    font-style: normal;
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius);
    color: var(--gray-700);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

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

/* Responsive Additions */
@media (max-width: 1024px) {
    .story-grid,
    .crossmap-content,
    .framework-grid,
    .framework-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .framework-grid.reverse .framework-info,
    .framework-grid.reverse .framework-visual {
        order: unset;
    }

    .mission-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        display: none;
    }

    .faq-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .story-visual {
        flex-direction: column;
    }

    .visual-arrow {
        transform: rotate(90deg);
    }

    .stats-showcase {
        grid-template-columns: 1fr;
    }

    .essential-eight-grid {
        grid-template-columns: 1fr;
    }

    .coming-soon-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .currency-selector {
        flex-wrap: wrap;
    }

    .currency-btn {
        min-width: 50px;
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }

    .payment-logos {
        gap: 1.5rem;
    }

    .payment-logo {
        height: 24px;
    }

    .security-badges {
        gap: 1rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .nav-actions {
        display: none;
    }
}

/* ============================================
   CAPTCHA Modal Styles
   ============================================ */

.captcha-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.captcha-modal.active {
    display: flex;
}

.captcha-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

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

.captcha-modal-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.captcha-modal-content p {
    margin: 0 0 1.5rem 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.captcha-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--transition);
}

.captcha-close:hover {
    color: var(--gray-700);
}

.captcha-image-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.captcha-image-container img {
    flex: 1;
    max-width: 200px;
    height: 60px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.captcha-refresh {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.captcha-refresh:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.captcha-refresh svg {
    color: var(--gray-500);
}

.captcha-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-align: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.captcha-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 1rem;
}

.captcha-modal .btn-block {
    margin-top: 1rem;
}

/* Subscribe Page */
.billing-period-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.period-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-option:hover {
    border-color: #6366f1;
    background: #faf5ff;
}

.period-option:has(input:checked) {
    border-color: #6366f1;
    background: #f5f3ff;
}

.period-option input[type="radio"] {
    accent-color: #6366f1;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.period-option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.period-option-content strong {
    min-width: 70px;
}

.period-save {
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.period-price {
    margin-left: auto;
    color: #64748b;
    font-size: 0.9rem;
}

.plan-summary-card {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.plan-summary-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.summary-price {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.summary-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.summary-features li svg {
    flex-shrink: 0;
    stroke: #a5f3fc;
}

.summary-note {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.summary-note p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0.25rem 0;
}

@media (max-width: 768px) {
    .period-option-content {
        flex-wrap: wrap;
    }

    .period-price {
        margin-left: 0;
        width: 100%;
        margin-top: 0.25rem;
    }
}
