/* ============================================
   서울비디치과 Design System v3.0
   Modern Trendy + Warm Brown Luxury
   2024 Redesign - Glassmorphism + Bento + Large Typography
   ============================================ */

/* ■ Import Pretendard Font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ■ CSS Variables (Design Tokens) */
:root {
  /* === Brand Colors - Warm Brown Luxury === */
  --brand-primary: #8B5A2B;          /* 메인 브라운 */
  --brand-secondary: #A67C52;        /* 밝은 브라운 */
  --brand-dark: #5D3A1A;             /* 다크 브라운 */
  --brand-gold: #C9A962;             /* 골드 액센트 */
  --brand-gold-light: #E5D4A8;       /* 라이트 골드 */
  --brand-light: #D4B896;            /* 라이트 베이지 */
  --brand-cream: #F5F0E6;            /* 크림 베이지 */
  --brand-warm-black: #1A1512;       /* 웜 블랙 */
  --brand-warm-gray: #2D2420;        /* 웜 그레이 */
  
  /* Gradients - Modern Trendy */
  --gradient-primary: linear-gradient(135deg, #8B5A2B 0%, #C9A962 100%);
  --gradient-premium: linear-gradient(135deg, #5D3A1A 0%, #8B5A2B 50%, #C9A962 100%);
  --gradient-gold: linear-gradient(135deg, #C9A962 0%, #E5D4A8 50%, #C9A962 100%);
  --gradient-dark: linear-gradient(180deg, #0A0908 0%, #1A1512 50%, #0A0908 100%);
  --gradient-warm: linear-gradient(135deg, #1A1512 0%, #2D2420 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
  --gradient-hero: linear-gradient(180deg, 
    rgba(10, 9, 8, 0.95) 0%,
    rgba(26, 21, 18, 0.9) 30%,
    rgba(26, 21, 18, 0.95) 70%,
    rgba(10, 9, 8, 1) 100%
  );
  
  /* === Surface Colors === */
  --surface-base: #0A0908;
  --surface-elevated: #1A1512;
  --surface-card: rgba(26, 21, 18, 0.85);
  --surface-glass: rgba(26, 21, 18, 0.6);
  --surface-hover: rgba(45, 36, 32, 0.8);
  
  /* === Text Colors === */
  --text-primary: #FFFFFF;
  --text-secondary: #D4C4B0;
  --text-muted: #9A8B7A;
  --text-accent: #C9A962;
  --text-inverse: #0A0908;
  
  /* === Semantic Colors === */
  --color-success: #4ADE80;
  --color-warning: #FBBF24;
  --color-error: #F87171;
  --color-info: #60A5FA;
  
  /* === Glassmorphism === */
  --glass-bg: rgba(26, 21, 18, 0.7);
  --glass-bg-dark: rgba(10, 9, 8, 0.85);
  --glass-bg-light: rgba(45, 36, 32, 0.5);
  --glass-border: rgba(201, 169, 98, 0.15);
  --glass-border-hover: rgba(201, 169, 98, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-blur: blur(20px);
  
  /* === Typography - Large & Bold === */
  --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Pretendard', sans-serif;
  
  /* Font Sizes - Larger for Modern Feel */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 2rem;        /* 32px */
  --text-4xl: 2.5rem;      /* 40px */
  --text-5xl: 3.5rem;      /* 56px */
  --text-6xl: 4.5rem;      /* 72px */
  --text-7xl: 6rem;        /* 96px */
  
  /* Responsive Font Sizes */
  --font-display-hero: clamp(2.5rem, 8vw, 5rem);
  --font-display-section: clamp(2rem, 5vw, 3.5rem);
  --font-heading-1: clamp(1.75rem, 4vw, 3rem);
  --font-heading-2: clamp(1.5rem, 3vw, 2.5rem);
  --font-heading-3: clamp(1.25rem, 2.5vw, 2rem);
  --font-body-lg: clamp(1.0625rem, 1.2vw, 1.25rem);
  --font-body: clamp(0.9375rem, 1vw, 1.0625rem);
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 2;
  
  /* === Spacing - More Generous === */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  
  /* Section Padding */
  --section-padding-y: clamp(4rem, 8vw, 8rem);
  --section-padding-x: clamp(1rem, 5vw, 3rem);
  
  /* === Border Radius - Softer, More Modern === */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 3rem;
  --radius-full: 9999px;
  
  /* === Shadows - Layered Depth === */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(201, 169, 98, 0.2);
  --shadow-glow-strong: 0 0 60px rgba(201, 169, 98, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(201, 169, 98, 0.1);
  --shadow-card-hover: 0 20px 60px rgba(139, 90, 43, 0.25), 0 0 0 1px rgba(201, 169, 98, 0.2);
  
  /* === Transitions - Smooth & Elegant === */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* === Z-Index === */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-toast: 700;
  
  /* === Container Widths === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  --container-full: 1600px;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--surface-base);
  letter-spacing: var(--tracking-wide);
  overflow-x: hidden;
}

/* ■ Selection Style */
::selection {
  background: var(--brand-gold);
  color: var(--surface-base);
}

/* ■ Focus Styles - Accessibility */
:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

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

/* Display - Hero Headlines */
.text-display {
  font-size: var(--font-display-hero);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
}

.text-display-section {
  font-size: var(--font-display-section);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* Headings */
.text-h1 {
  font-size: var(--font-heading-1);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.text-h2 {
  font-size: var(--font-heading-2);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
}

.text-h3 {
  font-size: var(--font-heading-3);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
}

.text-h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
}

/* Body Text */
.text-body-lg {
  font-size: var(--font-body-lg);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
}

.text-body {
  font-size: var(--font-body);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
}

.text-body-sm {
  font-size: var(--text-sm);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
}

/* Caption & Label */
.text-caption {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}

.text-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
}

/* Text Gradient - Premium Feel */
.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-animated {
  background: linear-gradient(90deg, #C9A962, #E5D4A8, #C9A962, #E5D4A8);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease infinite;
}

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

/* ============================================
   Container & Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.container-lg {
  max-width: var(--container-2xl);
}

.container-sm {
  max-width: var(--container-lg);
}

.container-full {
  max-width: var(--container-full);
}

/* ============================================
   Section Styles - Modern Sections
   ============================================ */
.section {
  padding: var(--section-padding-y) 0;
  position: relative;
}

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

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

/* Section Header - Centered, Elegant */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--brand-gold);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.section-badge i {
  font-size: 0.9em;
}

.section-title {
  font-size: var(--font-display-section);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.section-title .highlight,
.section-title .text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-body-lg);
  color: var(--text-secondary);
  font-weight: var(--font-regular);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* ============================================
   Cards - Glassmorphism Style
   ============================================ */

/* Base Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: 
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

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

/* Premium Glass Card */
.glass-card-premium {
  background: linear-gradient(
    145deg,
    rgba(45, 36, 32, 0.8) 0%,
    rgba(26, 21, 18, 0.9) 100%
  );
  border: 1px solid rgba(201, 169, 98, 0.2);
  box-shadow: var(--shadow-card);
}

.glass-card-premium:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}

/* Dark Glass Card */
.glass-card-dark {
  background: var(--glass-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Feature Card */
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-glow);
}

.feature-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-6);
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.3);
}

.feature-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   Buttons - Modern Style
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 52px;
  white-space: nowrap;
}

/* Primary Button - Gradient */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 90, 43, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 90, 43, 0.5);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Secondary Button - Outline */
.btn-secondary {
  background: transparent;
  color: var(--brand-gold);
  border: 2px solid rgba(201, 169, 98, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(201, 169, 98, 0.1);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}

/* Accent Button - Glass */
.btn-accent {
  background: rgba(201, 169, 98, 0.15);
  color: var(--brand-light);
  border: 1px solid rgba(201, 169, 98, 0.3);
  backdrop-filter: blur(10px);
}

.btn-accent:hover {
  background: rgba(201, 169, 98, 0.25);
  border-color: rgba(201, 169, 98, 0.5);
  color: var(--brand-gold);
}

/* Button Sizes */
.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  min-height: 60px;
  border-radius: var(--radius-2xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  min-height: 40px;
  border-radius: var(--radius-lg);
}

/* Button with Icon Animation */
.btn i {
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

/* Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s;
}

.btn-ripple:active::after {
  opacity: 1;
  transform: scale(2);
  transition: 0s;
}

/* ============================================
   Bento Grid System
   ============================================ */
.bento-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(4, 1fr);
}

.bento-cell {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  overflow: hidden;
}

.bento-cell:hover {
  transform: scale(1.02);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

/* Bento Cell Sizes */
.bento-1x1 { grid-column: span 1; grid-row: span 1; }
.bento-2x1 { grid-column: span 2; grid-row: span 1; }
.bento-1x2 { grid-column: span 1; grid-row: span 2; }
.bento-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-3x1 { grid-column: span 3; grid-row: span 1; }
.bento-4x1 { grid-column: span 4; grid-row: span 1; }

/* ============================================
   Tags & Badges
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  background: rgba(201, 169, 98, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2);
  font-size: 0.7rem;
  font-weight: var(--font-bold);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-hot {
  background: var(--gradient-primary);
  color: white;
}

.badge-new {
  background: var(--color-success);
  color: var(--surface-base);
}

/* ============================================
   Animations
   ============================================ */

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 98, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 169, 98, 0.5); }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease forwards;
  opacity: 0;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   Utility Classes
   ============================================ */

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

/* Text Colors */
.text-white { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--text-accent); }

/* Backgrounds */
.bg-dark { background: var(--surface-base); }
.bg-elevated { background: var(--surface-elevated); }
.bg-gradient { background: var(--gradient-dark); }
.bg-gradient-warm { background: var(--gradient-warm); }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Gap */
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }

/* Margin */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

/* Width */
.w-full { width: 100%; }
.max-w-sm { max-width: var(--container-sm); }
.max-w-md { max-width: var(--container-md); }
.max-w-lg { max-width: var(--container-lg); }

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

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Visibility */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* ============================================
   Responsive Breakpoints
   ============================================ */
@media (max-width: 1280px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bento-4x1 {
    grid-column: span 3;
  }
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-3x1,
  .bento-4x1 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: clamp(3rem, 6vw, 5rem);
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-2x1,
  .bento-2x2,
  .bento-3x1,
  .bento-4x1 {
    grid-column: span 1;
  }
  
  .bento-1x2,
  .bento-2x2 {
    grid-row: span 1;
  }
  
  .section-header {
    margin-bottom: var(--space-10);
  }
  
  .glass-card {
    padding: var(--space-6);
  }
  
  .btn {
    min-height: 48px;
    padding: var(--space-3) var(--space-6);
  }
  
  .btn-lg {
    min-height: 52px;
    padding: var(--space-4) var(--space-8);
  }
}

@media (max-width: 480px) {
  .section-badge {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }
  
  .feature-card {
    padding: var(--space-6);
  }
  
  .feature-card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

/* ============================================
   Header Spacer
   ============================================ */
.header-spacer {
  height: 72px;
}

@media (max-width: 768px) {
  .header-spacer {
    height: 64px;
  }
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-base);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-secondary);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-primary) var(--surface-base);
}
