/* Variables */
:root {
  --blue: #1B78E2;
  --blue-light: #3B8DE8;
  --orange: #F47A31;
  --dark: #2D3748;
  --gray: #4E4E4E;
  --light: #F7FAFC;
  --white: #FFFFFF;
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 16px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  z-index: 1000; padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.25rem; color: var(--dark); }
.logo-icon { font-size: 1.5rem; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--gray); font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.lang-toggle {
  background: var(--light); border: none; padding: 8px 16px;
  border-radius: 20px; cursor: pointer; font-weight: 600;
}
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-btn span { width: 25px; height: 2px; background: var(--dark); }

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--white); padding: 20px; gap: 15px; box-shadow: var(--shadow); }
  .nav.active { display: flex; }
  .menu-btn { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #e06a24; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(244,122,49,0.3); }
.btn-secondary { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); }
.btn.full { width: 100%; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,120,226,0.05), white, rgba(244,122,49,0.05));
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; }
.hero-text p { font-size: 1.15rem; color: var(--gray); margin-bottom: 25px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  background: var(--white); border-radius: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-size: 0.9rem; font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 15px; }

.dashboard-mockup {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px; border: 1px solid #eee;
}
.mockup-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.mockup-title { margin-left: 10px; color: #999; font-size: 0.85rem; }
.mockup-bar { height: 30px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 8px; width: 75%; margin-bottom: 15px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 15px; }
.metric { background: var(--light); border-radius: 10px; padding: 12px; text-align: center; }
.metric-value { display: block; font-size: 1.5rem; font-weight: 700; }
.metric-value.blue { color: var(--blue); }
.metric-value.green { color: #22c55e; }
.metric-value.orange { color: var(--orange); }
.metric-label { font-size: 0.75rem; color: #999; }
.chart-bars { height: 100px; background: var(--light); border-radius: 10px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; }
.bar { flex: 1; background: linear-gradient(180deg, var(--blue), var(--blue-light)); border-radius: 4px 4px 0 0; }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .badges { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
}

/* Section Header */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  border-radius: 30px; font-weight: 500; margin-bottom: 20px; font-size: 0.9rem;
}
.section-badge.blue { background: rgba(27,120,226,0.1); color: var(--blue); }
.section-badge.red { background: rgba(239,68,68,0.2); color: #ef4444; }
.section-badge.orange { background: rgba(244,122,49,0.2); color: var(--orange); }

/* Problem Section */
.problem { background: var(--dark); padding: 80px 0; color: var(--white); }
.problem h2 { color: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; margin-bottom: 40px; }
.problem-item {
  display: flex; align-items: center; gap: 15px; padding: 18px;
  background: rgba(255,255,255,0.05); border-radius: 12px;
}
.problem-icon {
  width: 40px; height: 40px; background: rgba(239,68,68,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #f87171; font-weight: 700;
}
.problem-stat {
  background: linear-gradient(135deg, rgba(244,122,49,0.2), rgba(27,120,226,0.2));
  border-radius: var(--radius); padding: 30px; text-align: center;
}
.problem-stat p { font-size: 1.25rem; font-weight: 500; }

/* Solution Section */
.solution { background: var(--light); padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 1.75rem;
}
.feature-icon.blue { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: var(--white); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* Algorithms Section */
.algorithms { background: var(--white); padding: 80px 0; }
.algo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.algo-card {
  background: var(--light); border-radius: var(--radius); padding: 30px;
}
.algo-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--dark); }
.algo-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.formula {
  font-family: 'Courier New', monospace; font-size: 1.25rem;
  background: var(--white); padding: 12px 20px; border-radius: 8px;
  margin-bottom: 15px; text-align: center; color: var(--blue); font-weight: 600;
}
.algo-demo { margin-top: 20px; }
.algo-demo label { display: block; font-size: 0.85rem; margin-bottom: 5px; color: var(--gray); }
.algo-demo input[type="range"] { width: 100%; margin-bottom: 15px; accent-color: var(--blue); }
.result { background: var(--blue); color: var(--white); padding: 15px; border-radius: 10px; text-align: center; font-size: 1.1rem; }

.risk-indicator { margin-top: 20px; }
.risk-bar { height: 20px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
.risk-fill { height: 100%; background: linear-gradient(90deg, #22c55e, #eab308, #ef4444); transition: width 0.5s; }
.risk-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--gray); margin-top: 5px; }
.risk-value { text-align: center; margin-top: 15px; font-size: 1rem; }

.projection-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 20px; }
.proj-bar {
  flex: 1; background: linear-gradient(180deg, var(--orange), #ff9a5c);
  border-radius: 8px 8px 0 0; height: var(--h); display: flex;
  align-items: flex-end; justify-content: center; padding-bottom: 10px;
}
.proj-bar span { font-size: 0.7rem; color: var(--white); font-weight: 600; }

/* Market Section */
.market { background: var(--light); padding: 80px 0; }
.market-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 40px; }
.market-card {
  border-radius: var(--radius); padding: 25px; text-align: center; color: var(--white);
}
.market-card.blue { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.market-card.lightblue { background: linear-gradient(135deg, var(--blue-light), #5ba0f0); }
.market-card.orange { background: linear-gradient(135deg, var(--orange), #ff9a5c); }
.market-card.green { background: linear-gradient(135deg, #22c55e, #4ade80); }
.market-label { display: block; font-size: 0.85rem; opacity: 0.8; margin-bottom: 5px; }
.market-value { display: block; font-size: 1.75rem; font-weight: 700; }

.segments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.segment {
  display: flex; align-items: center; gap: 15px; background: var(--white);
  border-radius: 12px; padding: 18px; box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.segment i {
  width: 45px; height: 45px; background: rgba(27,120,226,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--blue);
}

/* Pricing Section */
.pricing { background: var(--white); padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; align-items: start; }
.plan-card {
  background: var(--light); border-radius: var(--radius); padding: 35px;
  position: relative; transition: transform 0.3s;
}
.plan-card:hover { transform: translateY(-5px); }
.plan-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white); transform: scale(1.05); box-shadow: 0 20px 60px rgba(27,120,226,0.3);
}
.plan-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); padding: 6px 16px;
  border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}
.plan-card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.plan-price { margin-bottom: 10px; }
.plan-price .price { font-size: 2.5rem; font-weight: 700; }
.plan-price .period { font-size: 0.9rem; opacity: 0.8; }
.plan-athletes { font-size: 0.9rem; opacity: 0.8; margin-bottom: 25px; }
.plan-features { list-style: none; margin-bottom: 30px; }
.plan-features li { padding: 8px 0; font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px; }
.plan-features li::before { content: '✓'; color: var(--blue); font-weight: 700; }
.plan-card.featured .plan-features li::before { color: var(--white); }
.plan-card.featured h3 { color: var(--white); }

/* Invest Form Section */
.invest { background: var(--dark); padding: 80px 0; color: var(--white); }
.invest h2, .invest p { color: var(--white); }
.invest-form {
  max-width: 700px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); padding: 40px; color: var(--dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1px solid #ddd; border-radius: 10px;
  font-size: 1rem; font-family: inherit; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,120,226,0.1);
}
.form-group.checkbox { flex-direction: row; align-items: center; gap: 10px; margin: 20px 0; }
.form-group.checkbox input { width: auto; accent-color: var(--blue); }
.form-message { padding: 15px; border-radius: 10px; margin-top: 20px; text-align: center; }
.form-message.success { background: #dcfce7; color: #166534; }
.form-message.error { background: #fee2e2; color: #991b1b; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: #1a202c; padding: 60px 0 30px; color: var(--white); }
.footer-content { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; margin-bottom: 40px; }
.footer-brand .logo { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.6); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 15px; color: rgba(255,255,255,0.8); }
.footer-col a { display: block; color: rgba(255,255,255,0.6); padding: 5px 0; font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Icons (simple CSS icons) */
.icon-target::before { content: '🎯'; }
.icon-baby::before { content: '👶'; }
.icon-brain::before { content: '🧠'; }
.icon-shield::before { content: '🛡️'; }
.icon-alert::before { content: '⚠️'; }
.icon-sparkles::before { content: '✨'; }
.icon-chart::before { content: '📊'; }
.icon-globe::before { content: '🌍'; }
.icon-trending::before { content: '📈'; }
.icon-building::before { content: '🏢'; }
.icon-trophy::before { content: '🏆'; }
.icon-users::before { content: '👥'; }
.icon-health::before { content: '🏥'; }
.icon-rocket::before { content: '🚀'; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text, .hero-visual { animation: fadeInUp 0.8s ease-out; }
.hero-visual { animation-delay: 0.2s; }
