/* ==================== Variables ==================== */
:root {
  --primary-orange: #ff7300;
  --primary-yellow: #ff6a07;
  --white: #ffffff;
  --gray-50:  #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --warm-bg:  #fff8f2;
  --green:    #22c55e;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

/* ==================== Reset ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ==================== Layout ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(255,115,0,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,115,0,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1100px;
}

/* ===== LEFT ===== */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Background decorative shapes */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.45;
}
.bg-shape-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,115,0,0.22) 0%, transparent 70%);
  top: -80px; right: -80px;
}
.bg-shape-2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,180,50,0.18) 0%, transparent 70%);
  bottom: -60px; left: -60px;
}
.bg-shape-3 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,115,0,0.15) 0%, transparent 70%);
  top: 50%; right: 10%;
  transform: translateY(-50%);
  filter: blur(40px);
}

.hero-left-inner {
  position: relative;
  z-index: 1;
}

.hero-left-inner {
  width: 100%;
  max-width: 520px;
}

/* Logo */
.logo { margin-bottom: 20px; }
.logo-image { height: 48px; width: auto; object-fit: contain; }


/* ==================== Title & Desc ==================== */
.hero-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.hero-title .highlight { color: var(--primary-orange); }

.hero-description {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 22px;
}
.hero-description strong { color: var(--gray-900); }

/* ==================== Form Card ==================== */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Labels */
.input-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

/* Inputs */
.form-group { position: relative; }

.form-group input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255,115,0,0.12);
}

.form-group input::placeholder { color: var(--gray-300); }

/* Phone */
.phone-input {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-input:focus-within {
  background: var(--white);
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255,115,0,0.12);
}
.phone-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 12px;
  border-right: 1.5px solid var(--gray-200);
  flex-shrink: 0;
}
.phone-code .fi { width: 20px; height: 15px; border-radius: 2px; flex-shrink: 0; }
.phone-code .code { font-size: 15px; font-weight: 600; color: var(--gray-900); }
.phone-input input {
  background: transparent;
  border: none;
  padding: 13px 14px;
  font-size: 15px;
  width: 100%;
}
.phone-input input:focus { outline: none; box-shadow: none; }

/* ==================== Course Tabs ==================== */
#course { display: none; }

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.course-tab {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  line-height: 1.4;
}
.course-tab:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: rgba(255, 115, 0, 0.05);
}
.course-tab.selected {
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 115, 0, 0.3);
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(255,115,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-btn 2.8s ease-in-out infinite;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(255,115,0,0.28); animation: none; }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; animation: none; }

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 12px rgba(255,115,0,0.25); }
  50%       { box-shadow: 0 4px 18px rgba(255,115,0,0.4); }
}

.form-note {
  font-size: 11px;
  color: var(--gray-300);
  text-align: center;
  margin-top: -4px;
}

/* ==================== Trust Signals ==================== */
.trust-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 0;
  margin-bottom: 16px;
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.trust-num {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1.2;
}

.trust-lbl {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  text-align: center;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ==================== Language Selector ==================== */
.language-selector { display: flex; gap: 8px; }

.lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.lang-btn .fi { width: 18px; height: 13px; border-radius: 2px; }
.lang-btn:hover { border-color: var(--gray-300); }
.lang-btn.active { background: var(--gray-900); color: var(--white); border-color: var(--gray-900); }

/* ==================== RIGHT — Slider ==================== */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-right-inner {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-orange);
  margin-bottom: 14px;
}

.slider-container { position: relative; width: 100%; max-width: 460px; }

.slider-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide { min-width: 100%; }
.slide img { width: 100%; height: auto; display: block; border-radius: var(--radius-xl); }

/* Slider nav buttons — hidden */
.slider-btn { display: none; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dots .dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dots .dot.active {
  width: 20px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
}

/* ==================== Success Card ==================== */
.success-card {
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  animation: fadeInUp 0.4s ease-out;
}
.success-icon {
  width: 56px; height: 56px;
  border: 2.5px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--green);
  margin: 0 auto 16px;
}
.success-title { font-size: 28px; font-weight: 900; color: var(--gray-900); margin-bottom: 10px; }
.success-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 8px; }
.success-sub strong { color: var(--gray-900); }
.success-phone { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; }
.success-phone strong { font-size: 16px; color: var(--green); display: block; margin-top: 2px; }
.success-back {
  font-size: 13px; font-weight: 600;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  transition: all 0.2s;
}
.success-back:hover { border-color: var(--gray-300); color: var(--gray-900); }

/* ==================== Animations ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100px); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-left { animation: fadeInUp 0.6s ease-out; }

/* ==================== Responsive ==================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero { padding: 32px 16px; }

  .hero-container {
    flex-direction: column;
    gap: 32px;
  }

  .hero-left {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-left-inner {
    max-width: 500px;
    width: 100%;
    text-align: left;
  }

  .hero-right {
    width: 100%;
  }

  .hero-right-inner { max-width: 460px; }

  .logo { margin-bottom: 14px; }
  .logo-image { height: 42px; }

  .hero-title, .hero-description { text-align: center; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero { padding: 24px 16px; }

  .hero-container { gap: 24px; }

  .hero-title { font-size: 24px; }
  .hero-description { font-size: 13px; margin-bottom: 16px; }

  .form-card { padding: 18px 16px; }

  .trust-num { font-size: 15px; }
  .trust-lbl { font-size: 10px; }

  .slider-container { max-width: 100%; }
}
