/* style.css - Premium Modern Design for YCTA Download Page */

:root {
  --primary: #34b233;
  --primary-hover: #2ba02a;
  --primary-light: rgba(52, 178, 51, 0.15);
  --gold: #fecb00;
  --gold-hover: #e5b700;
  --red: #ea2839;
  --bg-dark: #090d16;
  --bg-card: #111827;
  --bg-card-glass: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(52, 178, 51, 0.35);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Padauk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Glows */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 178, 51, 0.18) 0%, rgba(52, 178, 51, 0) 70%);
}

.glow-2 {
  top: 400px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(254, 203, 0, 0.08) 0%, rgba(254, 203, 0, 0) 70%);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(9, 13, 22, 0.85);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 14px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 178, 51, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(52, 178, 51, 0.4);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 203, 0, 0.1);
  border: 1px solid rgba(254, 203, 0, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #34b233 0%, #fecb00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #34b233 0%, #2ba02a 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(52, 178, 51, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(52, 178, 51, 0.5);
  background: linear-gradient(135deg, #38c337 0%, #30ad2f 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-main {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-sub {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
  margin-top: 2px;
}

/* Safety Badge */
.safety-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #34b233;
  font-weight: 600;
}

.safety-icon {
  width: 18px;
  height: 18px;
}

/* Phone Card Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 32px 28px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(52, 178, 51, 0.1);
  transition: var(--transition);
}

.phone-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.app-icon-img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
}

.app-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.app-card-ver {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.qr-container {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 24px 0 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.qr-code-img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto;
}

.qr-label {
  font-size: 0.8rem;
  color: #1e293b;
  font-weight: 700;
  margin-top: 8px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-icon-box.green {
  background: rgba(52, 178, 51, 0.15);
  color: #34b233;
}

.feature-icon-box.yellow {
  background: rgba(254, 203, 0, 0.15);
  color: #fecb00;
}

.feature-icon-box.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.feature-icon-box.red {
  background: rgba(234, 40, 57, 0.15);
  color: #ea2839;
}

.feature-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Installation Steps */
.install-section {
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(254, 203, 0, 0.4);
  transform: translateY(-4px);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #090d16;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(254, 203, 0, 0.3);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-desc code {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Support & Hotline */
.support-section {
  padding: 40px 0 80px;
}

.support-card {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 48px 36px;
  text-align: center;
}

.support-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.support-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.support-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.support-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 178, 51, 0.2);
  color: #34b233;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-icon-wrap.viber {
  background: rgba(115, 96, 242, 0.2);
  color: #7360f2;
}

.support-icon-wrap.facebook {
  background: rgba(24, 119, 242, 0.2);
  color: #1877f2;
}

.support-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.support-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.support-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.support-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  background: #060910;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.developed-by {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

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

/* Responsive Media Queries */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .action-buttons {
    justify-content: center;
  }

  .safety-badge {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .phone-card {
    padding: 24px 18px;
  }
}
