@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Color Palette - Serene & Healing */
  --primary: #0088CC;
  --primary-dark: #006699;
  --primary-light: #E0F2FE;
  --secondary: #0D9488; /* Calm Teal */
  --accent: #F59E0B; /* Subtle Amber */
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --bg-serene: #F0F9FF;
  
  --border-color: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 30px 60px -12px rgba(15, 23, 42, 0.08);
  
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-max: 1100px;
  --section-pad: 10rem;
}

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

html {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg-white);
}

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

ul, ol {
  list-style: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 2rem; }
h3 { font-size: 1.75rem; margin-bottom: 1.25rem; }
p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 1.75rem; text-wrap: pretty; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-pad) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--bg-white); }
.bg-dark h2, .bg-dark h3, .bg-dark p { color: var(--bg-white); }
.bg-dark p { opacity: 0.8; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 136, 204, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-group.center {
  justify-content: center;
}

/* Header / Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.875rem 0;
  box-shadow: var(--shadow-md);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}

.logo svg {
  width: 28px;
  height: 28px;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-links a:hover {
  color: var(--text-main);
}

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

.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: white;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--section-pad) + 4rem);
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 { margin-bottom: 1.5rem; max-width: 1000px; }
.hero p { max-width: 800px; margin: 0 auto 2.5rem; font-size: 1.25rem; text-wrap: balance; }

.hero-visual {
  margin-top: 4rem;
  width: 100%;
  max-width: 1000px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.hero-visual .split-half {
  flex: 1;
  width: 100%;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.hero-visual .arrow {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.split-half.executed {
  background: var(--primary-light);
  border: 1px solid var(--primary);
}

.split-half h4 {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--text-main);
}
.split-half.executed h4 {
  color: var(--primary);
}
.visual-icons {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Section Components */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

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

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

/* Cards */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Compare Table/List */
.compare-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.compare-box.bad {
  border-top: 4px solid var(--text-muted);
}

.compare-box.good {
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.compare-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
}

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

.compare-list.bad li::before {
  content: '✗';
  color: #ef4444;
  font-weight: bold;
}

.compare-list.good li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
}

/* Horizontal Flow (How it works) */
.flow-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.flow-container::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: transparent;
  z-index: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 10px var(--shadow-color, var(--bg-white));
  transition: all 0.3s ease;
}

.bg-dark .step-number {
  --shadow-color: var(--bg-dark);
}

.flow-step:hover .step-number {
  background: var(--primary);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: 0 0 0 15px var(--shadow-color, var(--bg-white));
}

.flow-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.flow-step p {
  font-size: 0.875rem;
}

/* Simple Output Diagram */
.diagram-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

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

.diagram-node {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.diagram-node.highlight {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.diagram-arrow {
  color: var(--text-muted);
  font-weight: bold;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Footer CTA */
.cta-section {
  text-align: center;
  padding: 8rem 0;
}

.cta-section h2 {
  font-size: 3.5rem;
}

/* Utilities */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* New Section Styles */
.serene-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Enhancements */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  background: radial-gradient(circle at top right, var(--bg-serene) 0%, white 100%);
}

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

.hero-visual-wrapper {
  margin-top: 5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.hero-visual-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pulse Animation */
@keyframes pulse-wave {
  0% { transform: scale(0.95); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 0.3; }
}

.pulse-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
  animation: pulse-wave 8s infinite ease-in-out;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 6rem 0 3rem;
}

footer .logo {
  color: white;
  margin-bottom: 2rem;
}

footer p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
  :root { --section-pad: 6rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; }
}
