/*
Theme Name: FundedRocks
Theme URI: https://fundedrocks.com
Author: FundedRocks Team
Author URI: https://fundedrocks.com
Description: Modernes Prop-Trading Theme für FundedRocks - Trade mit bis zu €200.000 Kapital
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fundedrocks
Tags: prop-trading, finance, modern, responsive
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --primary: #7C3AED;
  --primary-light: #A855F7;
  --primary-dark: #6D28D9;
  --primary-bg: #F5F3FF;
  --secondary: #9333EA;
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --danger: #EF4444;
  --dark: #1E1B4B;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-violet: 0 10px 40px -10px rgb(124 58 237 / 0.3);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

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

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

p {
  margin-bottom: 1rem;
  color: var(--gray-500);
}

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

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

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

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

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 50px -10px rgb(124 58 237 / 0.4);
}

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

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

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

.btn-white:hover {
  background: var(--gray-100);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}

.btn-ghost:hover {
  background: var(--gray-100);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 0.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo svg,
.site-logo-svg {
  height: 2rem;
  width: auto;
  display: block;
}

/* Fallback text logo if SVG doesn't render */
.site-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E1B4B;
}

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

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6B7280;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #111827;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hamburger Icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation - Open State */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 5rem 1.5rem 2rem;
  z-index: 1000;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #F3F4F6;
    border-radius: 8px;
  }
  
  .hamburger-line {
    background-color: #1E1B4B !important;
  }
  
  .header-inner {
    justify-content: space-between;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--primary-bg) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

.hero h1 {
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

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

.card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-bg);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

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

.card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

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

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.stat-value.highlight {
  color: var(--primary);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   CHART SECTION
   ============================================ */
.chart-container {
  background: var(--gray-50);
  border-radius: 1.5rem;
  padding: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

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

.chart-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0.75rem;
  padding: 1rem;
}

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

.chart-symbol {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.chart-change {
  font-size: 0.875rem;
  font-weight: 700;
}

.chart-change.positive {
  color: var(--success);
}

.chart-change.negative {
  color: var(--danger);
}

.chart-canvas {
  height: 100px;
  position: relative;
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

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

.section-header p {
  font-size: 1.0625rem;
}

/* ============================================
   STEPS / HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary-bg);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-number span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================
   PRICING / CHALLENGE CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--white) 50%);
}

.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.375rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

.account-size {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
}

.pricing-features {
  margin-bottom: 1.5rem;
}

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

.pricing-features li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success);
  flex-shrink: 0;
}

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

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================
   CHALLENGE CONFIGURATOR
   ============================================ */
.configurator {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.configurator-header {
  text-align: center;
  margin-bottom: 2rem;
}

.configurator-header h3 {
  margin-bottom: 0.5rem;
}

.config-section {
  margin-bottom: 2rem;
}

.config-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.config-options {
  display: grid;
  gap: 0.5rem;
}

.config-options.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.config-options.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.config-option {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-100);
  border-radius: 0.75rem;
  background: var(--gray-50);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.config-option:hover {
  border-color: var(--gray-300);
}

.config-option.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-violet);
}

.config-option.active-green {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.config-summary {
  background: linear-gradient(135deg, var(--primary-bg), var(--white));
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.config-summary-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.config-details h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.config-details p {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.config-price h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
  text-align: right;
}

.config-price .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.config-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.config-trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.config-trust svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 640px) {
  .config-options.cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .config-options.cols-3 {
    grid-template-columns: 1fr;
  }
  
  .configurator {
    padding: 1.5rem;
  }
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-bg);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gray-900);
  color: var(--white);
  text-align: center;
}

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

.cta-section p {
  color: var(--gray-400);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  max-width: 280px;
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

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

.footer-links h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-500);
}

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

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

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gray-100);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

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

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

.social-links svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gray-500);
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
/* Fade In Up */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In */
.animate-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.animate-fade-in.visible {
  opacity: 1;
}

/* Scale In */
.animate-scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease-out;
}

.animate-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide In Left */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In Right */
.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Counter animation */
.counter {
  display: inline-block;
}

/* Chart animation */
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Floating animation */
.float {
  animation: float 6s ease-in-out infinite;
}

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

/* Glow effect */
.glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  }
  to {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
  }
}

/* ============================================
   PAGE SPECIFIC STYLES
   ============================================ */
/* About Page */
.about-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--white) 100%);
}

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

.about-image {
  border-radius: 1.5rem;
  overflow: hidden;
}

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

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

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-member p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

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

.contact-info h3 {
  margin-bottom: 1.5rem;
}

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

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-bg);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9375rem;
  margin: 0;
}

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

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

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}

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

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.single-post-header {
  margin-bottom: 3rem;
}

.single-post-meta {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.single-post h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.single-post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.single-post-content p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.single-post-content h3 {
  font-size: 1.375rem;
  margin: 2rem 0 1rem;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.single-post-content ul li {
  list-style: disc;
}

.single-post-content ol li {
  list-style: decimal;
}

.single-post-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--gray-600);
}

/* Legal Pages */
.legal-page {
  padding: 4rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  color: var(--gray-500);
  margin-bottom: 3rem;
}

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

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

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-500); }

.bg-gray { background: var(--gray-50); }
.bg-primary { background: var(--primary-bg); }
.bg-dark { background: var(--gray-900); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

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

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 1rem; }
.rounded-xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
