/* ===============================================
   KISEO AGENTUR - Premium Brand Design System
   Version: 2.0
   Brand: Modern Japanese Heritage
   =============================================== */

/* ===============================================
   1. IMPORTS & FONT DEFINITIONS
   =============================================== */

/* Optimized Font Loading - All fonts with display=swap for better performance */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* For true Futura, use Adobe Fonts */
/* @import url('https://use.typekit.net/YOUR-KIT-ID.css'); */

/* ===============================================
   2. CSS VARIABLES - KISEO BRAND SYSTEM
   =============================================== */

:root {
    /* Primary Brand Colors - Enhanced for Impact */
    --kiseo-red: #D32F2F;
    --kiseo-red-dark: #B71C1C;
    --kiseo-red-light: #EF5350;
    --ivory-white: #FAFAFA;
    --charcoal-ink: #0D0D0D;
    
    /* Secondary Accent Colors - Vibrant & Bold */
    --sakura-pink: #FF6B9D;
    --matcha-green: #00C853;
    --kumiko-gold: #FFB300;
    --electric-blue: #2196F3;
    --deep-purple: #7B1FA2;
    
    /* Semantic Colors */
    --color-primary: var(--kiseo-red);
    --color-background: var(--ivory-white);
    --color-text: var(--charcoal-ink);
    --color-accent: var(--kumiko-gold);
    --color-success: var(--matcha-green);
    --color-soft: var(--sakura-pink);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-100: #F8F7F5;
    --gray-200: #EDEBE8;
    --gray-300: #D4D1CC;
    --gray-400: #B8B4AD;
    --gray-500: #8B8680;
    --gray-600: #5C5852;
    --gray-700: #3D3A36;
    --gray-800: #2A2826;
    --gray-900: var(--charcoal-ink);
    
    /* Typography - Font Families - BOLD & IMPACTFUL */
    --font-headline: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Typography - Font Sizes (Desktop) - BIGGER & BOLDER */
    --text-xxl: 5.5rem;    /* 88px - Hero H1 */
    --text-xl: 4rem;       /* 64px - Page H1 */
    --text-lg: 3rem;       /* 48px - H2 */
    --text-md: 2rem;       /* 32px - H3 */
    --text-base: 1.25rem;  /* 20px - Body */
    --text-sm: 1.125rem;   /* 18px - Small Text */
    --text-xs: 1rem;       /* 16px - Captions */
    
    /* Typography - Line Heights - Optimized for Readability */
    --leading-tight: 1.05;
    --leading-snug: 1.25;
    --leading-normal: 1.65;
    --leading-relaxed: 1.85;
    
    /* Typography - Letter Spacing - Enhanced for Impact */
    --tracking-tight: -0.03em;
    --tracking-normal: -0.01em;
    --tracking-wide: 0.03em;
    --tracking-wider: 0.08em;
    --tracking-widest: 0.15em;
    
    /* Spacing System (8px base) */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 5rem;     /* 80px */
    --space-3xl: 7.5rem;   /* 120px */
    
    /* Layout */
    --max-width: 1200px;
    --gutter: 2rem;
    --gutter-mobile: 1.25rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;
    
    /* Shadows - Dramatic & Layered */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.20);
    --shadow-brand: 0 8px 32px rgba(211, 47, 47, 0.35);
    --shadow-glow: 0 0 40px rgba(211, 47, 47, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-overlay: 100;
    --z-modal: 200;
    --z-popover: 300;
    --z-tooltip: 400;
    --z-notification: 500;
}

/* ===============================================
   3. GLOBAL RESET & BASE STYLES
   =============================================== */

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    font-weight: 400;
    color: var(--charcoal-ink);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--ivory-white) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Colors */
::selection {
    background-color: rgba(165, 72, 54, 0.2);
    color: var(--charcoal-ink);
}

::-moz-selection {
    background-color: rgba(165, 72, 54, 0.2);
    color: var(--charcoal-ink);
}

/* ===============================================
   4. TYPOGRAPHY SYSTEM
   =============================================== */

/* Headings - BOLD & POWERFUL */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--charcoal-ink);
    margin: 0;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    font-weight: 900;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--kiseo-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
    font-weight: 800;
    color: var(--charcoal-ink);
}

h3 {
    font-size: var(--text-md);
    margin-bottom: var(--space-md);
    margin-top: var(--space-lg);
    font-weight: 700;
    color: var(--kiseo-red);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
}

/* Hero Typography - MASSIVE & STRIKING */
.hero-title {
    font-size: var(--text-xxl);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--deep-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

/* Body Text - Enhanced Readability */
p {
    margin-bottom: var(--space-md);
    color: var(--charcoal-ink);
    max-width: 70ch;
    line-height: var(--leading-relaxed);
    font-weight: 400;
}

.lead-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #2C2C2C;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    max-width: 75ch;
    letter-spacing: -0.01em;
}

/* Better paragraph spacing in content */
.content p + p {
    margin-top: var(--space-md);
}

/* Improved readability for long content */
article p,
.article-content p {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

/* Links */
a {
    color: var(--kiseo-red);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover,
a:focus-visible {
    color: var(--kumiko-gold);
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
    line-height: var(--leading-relaxed);
}

li::marker {
    color: var(--kiseo-red);
}

/* ===============================================
   5. HEADER & NAVIGATION
   =============================================== */

header {
    background: var(--white);
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ===============================================
   BURGER MENU BUTTON
   =============================================== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal-ink);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
}

.burger-menu span:nth-child(1) {
    transform: translateY(-7px);
}

.burger-menu span:nth-child(2) {
    transform: translateY(0);
}

.burger-menu span:nth-child(3) {
    transform: translateY(7px);
}

/* Burger menu active state - X animation */
.burger-menu.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/* Main Navigation */
.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--charcoal-ink);
    text-decoration: none;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-base);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--kiseo-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--kiseo-red);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header CTA Button */
.header-cta {
    background-color: var(--kiseo-red);
    color: var(--ivory-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-brand);
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(165, 72, 54, 0.35);
    background-color: #923f30;
}

/* Mobile Menu Overlay - HIDDEN on Desktop */
.mobile-menu-overlay {
    display: none;
}

/* Mobile-only elements - HIDDEN on Desktop */
.mobile-nav-close,
.mobile-nav-cta {
    display: none;
}

/* ===============================================
   6. MAIN CONTENT AREAS
   =============================================== */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem var(--gutter) 8rem;
    min-height: calc(100vh - 200px);
}

/* Sections - MASSIVE BREATHING ROOM & VISUAL INTEREST */
section {
    position: relative;
    margin-bottom: 8rem;
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 32px;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Content sections with better organization */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Clean content blocks */
.content-block {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.content-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--kiseo-red) 0%, var(--electric-blue) 50%, var(--deep-purple) 100%);
    background-size: 200% 100%;
    border-radius: 32px 32px 0 0;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--kiseo-red), transparent);
    opacity: 0.3;
}

/* Hero Section - STUNNING & IMMERSIVE */
#hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    border-radius: 24px;
    margin-bottom: var(--space-xl);
    border: none;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--kiseo-red) 0%, var(--deep-purple) 50%, var(--electric-blue) 100%);
}

#hero h1 {
    font-size: var(--text-xxl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--deep-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.04em;
}

#hero h1 span {
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--kiseo-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero .hero-subtitle {
    font-size: 1.5rem;
    color: #2C2C2C;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-weight: 500;
    line-height: 1.6;

/* Trust Signals Styling */
.trust-signals {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 179, 0, 0.08);
    border-radius: 12px;
    border: 2px solid rgba(255, 179, 0, 0.2);
}

.trust-text {
    font-size: 1.125rem;
    color: var(--charcoal-ink);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
}
}

/* ===============================================
   7. BUTTONS & CTA COMPONENTS
   =============================================== */

.cta-button {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    text-decoration: none;
    border-radius: 12px;
    padding: 1.25rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid transparent;
    font-size: 1.125rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

/* Primary Button - BOLD & STRIKING */
.cta-button.primary {
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--kiseo-red-dark) 100%);
    color: #FFFFFF;
    border-color: var(--kiseo-red);
    box-shadow: var(--shadow-brand), var(--shadow-glow);
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.primary:hover,
.cta-button.primary:focus-visible {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.5), var(--shadow-glow);
    background: linear-gradient(135deg, var(--kiseo-red-light) 0%, var(--kiseo-red) 100%);
}

/* Secondary Button */
.cta-button.secondary {
    background-color: transparent;
    color: var(--kiseo-red);
    border-color: var(--kiseo-red);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus-visible {
    background-color: var(--kiseo-red);
    color: var(--ivory-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

/* Large Button */
.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    border-radius: 14px;
}

/* Huge Button - MAXIMUM IMPACT */
.cta-button.huge {
    padding: 2rem 4rem;
    font-size: 1.5rem;
    border-radius: 16px;
    font-weight: 900;
}

/* ===============================================
   8. CARDS & CONTAINERS
   =============================================== */

/* Enhanced Cards - MODERN & ELEGANT */
.card {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--kiseo-red);
}

/* Clean card headers */
.card h3,
.card h4 {
    color: var(--charcoal-ink);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--ivory-white);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kiseo-red) 0%, var(--electric-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::after {
    transform: scaleX(1);
}

/* Service Cards - STUNNING WITH ANIMATIONS */
.service-card {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gray-100) 100%);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--kiseo-red), var(--electric-blue), var(--deep-purple));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

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

.service-card h4 {
    color: var(--kiseo-red);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--charcoal-ink);
    font-size: 1.125rem;
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* Stats Cards */
.stat-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 168, 120, 0.2);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--kumiko-gold);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.stat-label {
    color: #2C2C2C;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: var(--tracking-normal);
    line-height: 1.4;
}

/* ===============================================
   9. GRIDS & LAYOUTS
   =============================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Service Grid */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

/* Stats Grid */
.hero-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

/* Two Column Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* Three Column Layout */
.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* ===============================================
   10. FORMS & INPUTS
   =============================================== */

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--charcoal-ink);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid rgba(26, 26, 26, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-family: var(--font-body);
    background: var(--white);
    color: var(--charcoal-ink);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--kiseo-red);
    box-shadow: 0 0 0 3px rgba(165, 72, 54, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: var(--leading-relaxed);
}

/* ===============================================
   11. TABLES
   =============================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

th,
td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

th {
    background: var(--gray-100);
    font-weight: 700;
    color: var(--charcoal-ink);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-size: var(--text-xs);
}

tr:hover {
    background: rgba(165, 72, 54, 0.03);
}

/* ===============================================
   12. FOOTER
   =============================================== */

footer {
    background: linear-gradient(135deg, var(--charcoal-ink) 0%, var(--gray-900) 100%);
    color: var(--ivory-white);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
    border-top: 6px solid var(--kiseo-red);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--kiseo-red) 0%, var(--electric-blue) 50%, var(--kumiko-gold) 100%);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

.footer-brand {
    padding-right: var(--space-xl);
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
}

footer h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ivory-white);
    margin-bottom: var(--space-md);
    letter-spacing: var(--tracking-normal);
}

footer h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--kumiko-gold);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid rgba(255, 179, 0, 0.3);
}

.footer-tagline {
    color: var(--kumiko-gold);
    font-size: 1.125rem;
    font-style: italic;
    margin-top: var(--space-sm);
    font-weight: 500;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin-bottom: var(--space-sm);
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-base);
    display: inline-block;
}

footer a:hover {
    color: var(--kumiko-gold);
    text-decoration: none;
    transform: translateX(4px);
}

.contact-info {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-info p {
    margin-bottom: var(--space-xs);
    color: var(--gray-300);
}

.contact-info strong {
    color: var(--ivory-white);
}

.contact-info a {
    color: var(--kumiko-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom-content {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-bottom-content p {
    margin-bottom: var(--space-sm);
    color: var(--gray-400);
}

.copyright {
    color: var(--gray-300);
    font-weight: 600;
}

.footer-meta {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.footer-disclaimer {
    color: var(--gray-500);
    font-size: 0.8rem;
    font-style: italic;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 179, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    color: var(--charcoal-ink);
    background: var(--kumiko-gold);
    border-color: var(--kumiko-gold);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 179, 0, 0.4);
}

/* ===============================================
   13. MODALS & OVERLAYS
   =============================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(4px);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.contact-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(600px, calc(100% - 2rem));
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.contact-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kiseo-red), var(--kumiko-gold));
}

.contact-modal__content {
    padding: var(--space-xl);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(26, 26, 26, 0.1);
    background: var(--white);
    color: var(--charcoal-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-base);
    z-index: 2;
}

.modal-close:hover {
    transform: rotate(90deg);
    border-color: var(--kiseo-red);
    color: var(--kiseo-red);
}

/* ===============================================
   14. UTILITY CLASSES
   =============================================== */

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

/* Text Colors */
.text-primary { color: var(--kiseo-red); }
.text-gold { color: var(--kumiko-gold); }
.text-ink { color: var(--charcoal-ink); }
.text-light { color: var(--gray-500); }

/* Background Colors */
.bg-primary { background-color: var(--kiseo-red); }
.bg-ivory { background-color: var(--ivory-white); }
.bg-white { background-color: var(--white); }
.bg-soft { background-color: var(--sakura-pink); }
.bg-gold { background-color: var(--kumiko-gold); }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

/* Display Utilities */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* Flexbox Utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }
.gap-4 { gap: var(--space-lg); }

/* Special Components */
.highlight {
    background: linear-gradient(135deg, var(--kiseo-red), var(--kumiko-gold));
    color: var(--ivory-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-size: var(--text-xs);
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border-radius: var(--radius-full);
    background: var(--kiseo-red);
    color: var(--ivory-white);
}

/* iPhone Frame Styles (from original) */
.iphone-frame {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 9 / 19.5;
    background: #1c1c1e;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px #2c2c2e,
        0 0 0 4px #1c1c1e,
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 2px rgba(255, 255, 255, 0.1);
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1c1c1e;
    border-radius: 0 0 18px 18px;
    z-index: 2;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.iphone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #2d2d2f;
    border-radius: 50%;
}

.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
}

.iphone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============================================
   15. ANIMATIONS & TRANSITIONS
   =============================================== */

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

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

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===============================================
   16. RESPONSIVE DESIGN
   =============================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --text-xxl: 4rem;
        --text-xl: 3rem;
        --text-lg: 2.5rem;
        --text-md: 1.75rem;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-nav ul {
        gap: var(--space-md);
    }
    
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .three-columns {
        grid-template-columns: 1fr;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    :root {
        --text-xxl: 2.25rem;
        --text-xl: 1.875rem;
        --text-lg: 1.5rem;
        --text-md: 1.25rem;
        --text-base: 1rem;
        --text-sm: 0.9375rem;
        --gutter: var(--gutter-mobile);
    }

    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Better text wrapping globally */
    h1, h2, h3, h4, h5, h6, p, li, a, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    #hero {
        padding: 2rem 1rem;
    }

    #hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }

    .hero-subtitle,
    .hero-subtitle-large {
        font-size: 1rem !important;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        letter-spacing: 0.05em;
    }

    /* ===============================================
       MOBILE HEADER & BURGER MENU
       =============================================== */
    .header-container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem var(--gutter-mobile);
        gap: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    /* Show burger menu on mobile */
    .burger-menu {
        display: flex;
    }

    /* Mobile menu overlay - hidden by default, shown only when .active */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        display: block;
        pointer-events: auto;
    }

    /* Hide header actions on mobile (moves into nav) */
    .header-actions {
        display: none;
    }

    /* Mobile Navigation Slide-in */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        padding: 80px 1.5rem 2rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.0625rem;
        font-weight: 500;
    }

    .main-nav a::after {
        display: none;
    }

    /* Mobile CTA in nav */
    .main-nav .mobile-nav-cta {
        display: block;
        margin-top: 1.5rem;
        padding: 1rem 1.5rem;
        background: var(--kiseo-red);
        color: white;
        text-align: center;
        border-radius: var(--radius-md);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.9375rem;
    }

    /* Close button inside mobile nav */
    .mobile-nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--charcoal-ink);
        transition: all 0.2s ease;
    }

    .mobile-nav-close:hover {
        background: var(--kiseo-red);
        color: white;
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
        border-radius: 16px;
    }

    section::before {
        height: 4px;
        border-radius: 16px 16px 0 0;
    }

    .services-overview,
    .hero-stats,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-brand {
        padding-right: 0;
        text-align: center;
    }

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

    footer h4 {
        text-align: center;
    }

    footer ul {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: var(--space-sm);
    }

    /* Responsive tables */
    table {
        font-size: 0.8125rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th, td {
        padding: 0.5rem;
        min-width: 100px;
    }

    /* Card improvements */
    .card, .service-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    /* Feature boxes */
    .feature-box {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    /* Results highlights */
    .results-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlight-stat-box {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .highlight-stat-number {
        font-size: 2rem;
    }

    /* Info panels */
    .info-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-panel-icon {
        margin: 0 auto;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    :root {
        --text-xxl: 1.75rem;
        --text-xl: 1.5rem;
        --text-lg: 1.25rem;
        --text-md: 1.125rem;
        --text-base: 0.9375rem;
        --text-sm: 0.875rem;
    }

    #hero {
        padding: 1.5rem 0.75rem;
    }

    #hero h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .hero-subtitle,
    .hero-subtitle-large {
        font-size: 0.9375rem !important;
    }

    .cta-button.huge {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .cta-button.large {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    /* Even smaller sections */
    section {
        padding: 1.5rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    /* Logo smaller */
    .logo img {
        height: 36px;
    }

    /* Card adjustments */
    .card, .service-card {
        padding: 1rem;
    }

    .service-card h4 {
        font-size: 1.125rem;
    }

    .service-card p {
        font-size: 0.9375rem;
    }

    /* Footer */
    footer {
        padding: var(--space-lg) 0 var(--space-md);
    }

    .footer-container {
        padding: 0 1rem;
    }

    footer h3 {
        font-size: 1.25rem;
    }

    footer h4 {
        font-size: 1rem;
    }

    /* Main content */
    main {
        padding: 2rem 0.75rem 3rem;
    }

    /* Lead text */
    .lead-text {
        font-size: 1.0625rem;
        line-height: 1.6;
    }

    /* Lists */
    ul, ol {
        padding-left: 1.25rem;
    }
}

/* Hover Effects Only on Non-Touch Devices */
@media (hover: hover) {
    .card:hover {
        transform: translateY(-4px);
    }
    
    .cta-button:hover {
        transform: translateY(-2px);
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .modal-overlay,
    .contact-modal,
    .header-cta,
    .cta-button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ===============================================
   17. ACCESSIBILITY IMPROVEMENTS
   =============================================== */

/* Focus Visible Styles */
*:focus-visible {
    outline: 2px solid var(--kiseo-red);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--kiseo-red);
    color: var(--ivory-white);
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none;
    z-index: var(--z-tooltip);
}

.skip-to-content: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-width: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --kiseo-red: #CC0000;
        --charcoal-ink: #000000;
        --ivory-white: #FFFFFF;
    }
    
    .card,
    section {
        border-width: 2px;
    }
}

/* Dark Mode Support (Optional) */
/* ===============================================
   18. ENHANCED CONTENT ORGANIZATION
   =============================================== */

/* Section Headers - BOLD & STRIKING */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--kiseo-red) 0%, var(--electric-blue) 100%);
    border-radius: 2px;
}

.section-header h2 {
    font-size: var(--text-xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--charcoal-ink) 0%, var(--kiseo-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.section-header p {
    color: #2C2C2C;
    font-size: 1.375rem;
    font-weight: 500;
    max-width: 70ch;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content grid for organized layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.content-grid-item {
    background: var(--gray-100);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.content-grid-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Clean lists for content */
.clean-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.clean-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
}

.clean-list li:last-child {
    border-bottom: none;
}

.clean-list li:hover {
    padding-left: var(--space-sm);
    color: var(--kiseo-red);
}

.clean-list li::before {
    content: '→';
    color: var(--kiseo-red);
    margin-right: var(--space-sm);
    font-weight: 700;
}

/* Feature boxes for highlighting content */
.feature-box {
    background: linear-gradient(135deg, var(--ivory-white), var(--white));
    border: 1px solid rgba(165, 72, 54, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--kiseo-red), var(--kumiko-gold));
}

.feature-box h3 {
    color: var(--kiseo-red);
    margin-bottom: var(--space-md);
}

/* Info panels for organized information */
.info-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    margin: var(--space-md) 0;
}

.info-panel-icon {
    width: 48px;
    height: 48px;
    background: var(--kiseo-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory-white);
    font-size: 1.5rem;
    font-weight: 700;
}

.info-panel-content h4 {
    color: var(--charcoal-ink);
    margin-bottom: var(--space-xs);
}

.info-panel-content p {
    color: var(--gray-600);
    margin: 0;
}

/* Clean dividers */
.divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(165, 72, 54, 0.2), 
        transparent
    );
    margin: var(--space-2xl) 0;
}

/* Highlight boxes for important content */
.highlight-box {
    background: var(--sakura-pink);
    border-left: 4px solid var(--kiseo-red);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: var(--radius-md);
}

.highlight-box strong {
    color: var(--kiseo-red);
}

/* Clean blockquotes */
blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    background: var(--gray-100);
    border-left: 4px solid var(--kiseo-red);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--gray-700);
}

blockquote cite {
    display: block;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-style: normal;
}


/* Case Study Results Summary Box */
.results-summary-box {
    background: linear-gradient(135deg, var(--matcha-green) 0%, var(--kumiko-gold) 100%);
    padding: 3rem;
    border-radius: 24px;
    margin: 3rem 0;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.results-summary-box h4 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.results-summary-box p {
    color: #FFFFFF;
    font-size: 1.25rem;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Highlight Stat Boxes */
.results-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-stat-box {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--ivory-white) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--kiseo-red);
}

.highlight-stat-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.highlight-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-stat-label {
    color: var(--charcoal-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}
/* Case Study Results Summary Box */
.results-summary-box {
    background: linear-gradient(135deg, var(--matcha-green) 0%, var(--kumiko-gold) 100%);
    padding: 3rem;
    border-radius: 24px;
    margin: 3rem 0;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.results-summary-box h4 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.results-summary-box p {
    color: #FFFFFF;
    font-size: 1.25rem;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Highlight Stat Boxes */
.results-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-stat-box {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--ivory-white) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--kiseo-red);
}

.highlight-stat-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.highlight-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-stat-label {
    color: var(--charcoal-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Organized FAQ sections */
.faq-section {
    margin: var(--space-2xl) 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, 0.05);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(165, 72, 54, 0.2);
}

.faq-question {
    padding: var(--space-lg);
    background: var(--gray-100);
    font-weight: 600;
    color: var(--charcoal-ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: var(--space-lg);
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

/* Clean numbered steps */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: calc(var(--space-xl) + var(--space-md));
    margin-bottom: var(--space-lg);
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: var(--space-xl);
    height: var(--space-xl);
    background: var(--kiseo-red);
    color: var(--ivory-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Better spacing for dense content */
.dense-content {
    line-height: 1.8;
}

.dense-content > * {
    margin-bottom: var(--space-lg);
}

.dense-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-lg);
}

.dense-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* Clean data presentation */
.data-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    margin: var(--space-xl) 0;
}

.data-table th {
    background: var(--kiseo-red);
    color: var(--ivory-white);
    padding: var(--space-md);
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-size: var(--text-xs);
}

.data-table td {
    padding: var(--space-md);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.data-table tr:hover {
    background: rgba(165, 72, 54, 0.02);
}

/* Clean navigation breadcrumbs - HIDDEN */
.breadcrumb {
    display: none;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    margin: 0;
}

.breadcrumb li::after {
    content: '/';
    margin: 0 var(--space-sm);
    color: var(--gray-400);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--kiseo-red);
}

/* Additional spacing utilities for better organization */
.spacer-sm { height: var(--space-md); }
.spacer-md { height: var(--space-lg); }
.spacer-lg { height: var(--space-xl); }
.spacer-xl { height: var(--space-2xl); }

/* Content wrapper for consistent padding */
.content-wrapper {
    padding: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: var(--space-lg) var(--space-md);
    }
}
@media (prefers-color-scheme: dark) {
    /* Dark mode variables can be added here if needed */
/* ===============================================
   NUMBERED LIST ENHANCEMENTS - ATTRACTIVE DESIGN
   =============================================== */

/* Enhanced pillar numbers with gradient backgrounds */
.pillar-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kiseo-red) 0%, var(--deep-purple) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.3), 
                0 0 0 4px rgba(211, 47, 47, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.pillar-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kumiko-gold), var(--electric-blue));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar:hover .pillar-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(211, 47, 47, 0.4),
                0 0 0 6px rgba(211, 47, 47, 0.15);
}

.pillar:hover .pillar-number::before {
    opacity: 1;
}

/* Enhanced saeule numbers with modern badges */
.saeule-number {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--deep-purple) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.saeule-number::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.saeule-item:hover .saeule-number {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 28px rgba(33, 150, 243, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.saeule-item:hover .saeule-number::after {
    left: 100%;
}

/* Make saeule items more interactive */
.saeule-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gray-100) 100%);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.saeule-item:hover {
    transform: translateX(8px);
    border-color: var(--electric-blue);
    box-shadow: var(--shadow-md);
}

/* Enhanced step badges */
.step-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--kumiko-gold) 0%, var(--kiseo-red) 100%);
    color: white;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.step-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 179, 0, 0.4);
}

/* Reason numbers with modern design */
.reason-number {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--matcha-green) 0%, var(--electric-blue) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.reason-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--kumiko-gold), var(--sakura-pink));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason-item:hover .reason-number {
    transform: rotate(-5deg) scale(1.1);
}

.reason-item:hover .reason-number::before {
    opacity: 1;
}

/* Make reason items more engaging */
.reason-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--matcha-green);
}

/* General ordered list enhancement */
ol.enhanced-list {
    counter-reset: enhanced-counter;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

ol.enhanced-list li {
    counter-increment: enhanced-counter;
    position: relative;
    padding-left: 4.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

ol.enhanced-list li:last-child {
    border-bottom: none;
}

ol.enhanced-list li::before {
    content: counter(enhanced-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--kiseo-red), var(--sakura-pink));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}
}