/* ============================================================
   JFT Mock Test - Professional Stylesheet
   Primary Brand Color: #E98C38 (Orange)
   ============================================================ */

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

:root {
  --primary: #E98C38;
  --primary-dark: #D4782A;
  --primary-light: #F5A623;
  --primary-soft: #FFF3E6;
  --secondary: #2C3E50;
  --accent: #27AE60;
  --accent-blue: #3498DB;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-body: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(233,140,56,0.08);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.5px;
}

.navbar-brand img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px;
  transition: var(--transition);
  margin: 0 0.15rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-soft);
}

.navbar-toggler { border: none; box-shadow: none !important; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #FFF8F0 0%, #FFF3E6 30%, #F9FAFB 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -250px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233,140,56,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,140,56,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo {
  max-width: 180px;
  margin-bottom: 1.8rem;
  animation: floatIn 0.8s ease-out;
  filter: drop-shadow(0 8px 20px rgba(233,140,56,0.2));
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(233,140,56,0.3);
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  animation: fadeInUp 0.7s ease-out;
  letter-spacing: -0.8px;
}

.hero-section h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.9s ease-out;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.1s ease-out;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  transition: var(--transition);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #F5A623);
  border: none;
  color: white;
  box-shadow: 0 6px 25px rgba(233,140,56,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(233,140,56,0.45);
  color: white;
}

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

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

.btn-light {
  background: white;
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 0.9rem 2.4rem;
  font-size: 1.05rem;
}

.btn i { margin-right: 0.4rem; }

.btn-icon-right i { margin-right: 0; margin-left: 0.5rem; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   PACKAGE / PRICING CARDS
   ============================================================ */
.package-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.package-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 40px rgba(233,140,56,0.12);
}

.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 0.3rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(233,140,56,0.3);
}

.package-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.badge-free { background: #E8F5E9; color: #2E7D32; }
.badge-paid { background: var(--primary-soft); color: var(--primary); }

.package-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.package-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 1rem 0;
}

.package-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.package-features li {
  padding: 0.55rem 0;
  color: var(--text-body);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.package-features li:last-child { border-bottom: none; }

.package-features li i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.package-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.package-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--bg-light);
  color: var(--text-body);
}

/* ============================================================
   PAYMENT METHODS
   ============================================================ */
.payment-method {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.payment-method:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.payment-method img {
  height: 40px;
  margin-bottom: 0.8rem;
  object-fit: contain;
}

.payment-method .method-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary), #D4782A);
  padding: 3.5rem 0;
  color: white;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

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

.testimonial-stars {
  color: #F5A623;
  margin-bottom: 0.8rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-section {
  background: linear-gradient(170deg, var(--text-dark) 0%, #16213E 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,140,56,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.download-section h2 {
  color: white;
  font-weight: 800;
}

.download-section p {
  color: rgba(255,255,255,0.7);
}

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.store-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.store-btn i {
  font-size: 2rem;
}

.store-btn .store-text small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.8;
}

/* ============================================================
   SUPPORT CHANNELS
   ============================================================ */
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-icon.whatsapp { background: #E8F5E9; color: #25D366; }
.contact-icon.messenger { background: #E3F2FD; color: #0084FF; }
.contact-icon.email { background: #FFF3E0; color: #E98C38; }
.contact-icon.phone { background: #E8F5E9; color: #27AE60; }
.contact-icon.tiktok { background: #F5F5F5; color: #000000; }
.contact-icon.instagram { background: #FCE4EC; color: #E4405F; }

.contact-card h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,140,56,0.1);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #F5A623, var(--accent));
}

.footer h6 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

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

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li i {
  width: 16px;
  margin-right: 0.5rem;
  color: var(--primary);
  font-size: 0.7rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================================
   APP PREVIEW / MOCKUP
   ============================================================ */
.app-preview {
  position: relative;
  display: inline-block;
}

.app-preview img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 100%;
}

.app-preview::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed var(--primary-soft);
  border-radius: calc(var(--radius-xl) + 12px);
  z-index: -1;
  animation: rotate 20s linear infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NOTIFICATION TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast-custom {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  margin-bottom: 0.5rem;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
}

.toast-custom.error { border-left-color: #E74C3C; }

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.privacy-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.privacy-content h1 { color: var(--text-dark); font-weight: 800; }
.privacy-content h2 { color: var(--text-dark); font-weight: 700; font-size: 1.5rem; margin-top: 2rem; }
.privacy-content h3 { color: var(--text-dark); font-weight: 600; font-size: 1.2rem; margin-top: 1.5rem; }
.privacy-content h4 { color: var(--text-body); font-weight: 600; }
.privacy-content a { color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
  }

  .hero-section { padding: 3rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
  .hero-section h1 { font-size: 1.8rem; }
}

@media (max-width: 767px) {
  .hero-section h1 { font-size: 1.6rem; }
  .hero-section p.lead { font-size: 1rem; }
  .section-header h2 { font-size: 1.5rem; }
  .feature-card { padding: 1.5rem; }
  .package-card { padding: 1.5rem; }
  .stat-number { font-size: 2rem; }

  .btn-lg { padding: 0.7rem 1.8rem; font-size: 0.95rem; }

  .footer { text-align: center; }
  .social-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-section { padding: 2rem 0 2rem; }
  .hero-section h1 { font-size: 1.4rem; }
  .hero-logo { max-width: 130px; }
}
