@import url('base.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fafbfc;
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.main-header {
  background: #fff;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.nav-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 71, 255, 0.2);
  white-space: nowrap;
  min-height: 44px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 71, 255, 0.3);
}

.nav-btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav-btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 8px 14px;
  box-shadow: none;
}

.nav-btn--secondary:hover {
  background: rgba(0, 71, 255, 0.1);
}

.nav-btn--success {
  background: linear-gradient(135deg, var(--success), #1ab85f);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, rgba(0, 71, 255, 0.08) 0%, rgba(10, 132, 255, 0.04) 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 71, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features .feature-item {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(0, 71, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-features .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 71, 255, 0.12);
  border-color: var(--accent);
}

.hero-features .feature-item i {
  font-size: 2rem;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 71, 255, 0.1), rgba(10, 132, 255, 0.1));
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.hero-features .feature-item span {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  min-height: 50px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 71, 255, 0.25);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 71, 255, 0.35);
}

.btn--success {
  background: linear-gradient(135deg, var(--success), #1ab85f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 199, 111, 0.25);
}

.btn--success:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(40, 199, 111, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(0, 71, 255, 0.08);
  border-color: var(--accent);
}

.btn--large {
  padding: 16px 40px;
  font-size: 1.05rem;
  min-height: 56px;
}

/* ===== MODES SECTION ===== */
.modes-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f6fb 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 900;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.mode-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0, 71, 255, 0.1);
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mode-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 71, 255, 0.12);
  border-color: var(--accent);
}

.mode-card.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(0, 71, 255, 0.02), rgba(10, 132, 255, 0.01));
  position: relative;
}

.mode-card.featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.05;
  pointer-events: none;
}

.mode-badge {
  display: inline-block;
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 71, 255, 0.2);
}

.mode-badge.featured {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.mode-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(0, 71, 255, 0.2);
}

.mode-card.featured .mode-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 16px rgba(251, 191, 36, 0.2);
}

.mode-card h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 800;
}

.mode-card p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
  flex-grow: 1;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 71, 255, 0.08);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li i {
  color: var(--success);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 80px 20px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: linear-gradient(135deg, #fafbfc 0%, rgba(0, 71, 255, 0.02) 100%);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 71, 255, 0.08);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 71, 255, 0.1);
  border-color: var(--accent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 16px rgba(0, 71, 255, 0.2);
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TERMS SECTION ===== */
.terms-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), rgba(255, 107, 107, 0.02));
}

.terms-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.terms-icon {
  font-size: 48px;
  color: #f59e0b;
  margin-bottom: 20px;
  display: inline-block;
}

.terms-card h2 {
  color: var(--text);
  margin: 0 0 24px 0;
  font-size: 1.8rem;
  font-weight: 900;
}

.terms-content {
  text-align: left;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(255, 107, 107, 0.03));
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border-left: 4px solid #f59e0b;
}

.terms-content p {
  margin: 0 0 16px 0;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.terms-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.terms-content li {
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 71, 255, 0.06);
}

.terms-content li:last-child {
  border-bottom: none;
}

.terms-footer {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  padding: 80px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin: 0 0 16px 0;
  font-weight: 900;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn--primary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
}

.cta-buttons .btn--success {
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.cta-buttons .btn--success:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ===== FOOTER ===== */
.main-footer {
  background: linear-gradient(180deg, #0f1419 0%, #0a0f1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 20px 30px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h3,
.footer-section h4 {
  font-size: 0.95rem;
  margin: 0 0 16px 0;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
  }

  .nav-buttons {
    gap: 8px;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .hero-cta {
    gap: 12px;
  }

  .btn {
    padding: 12px 24px;
    min-height: 44px;
  }

  .btn--large {
    width: 100%;
  }

  .modes-section {
    padding: 60px 20px;
  }

  .modes-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .mode-card {
    padding: 24px;
  }

  .mode-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .mode-card h3 {
    font-size: 1.4rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .terms-card {
    padding: 28px;
  }

  .terms-card h2 {
    font-size: 1.4rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    gap: 12px;
  }

  .footer-content {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    padding: 12px 16px;
  }

  .logo-section {
    gap: 8px;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }

  .nav-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .nav-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.75rem;
    min-height: 40px;
  }

  .hero-section {
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-cta {
    gap: 10px;
    flex-direction: column;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
  }

  .btn i {
    display: none;
  }

  .modes-grid {
    gap: 20px;
  }

  .mode-card {
    padding: 20px;
    margin-top: 12px;
  }

  .mode-badge {
    left: 20px;
    font-size: 0.7rem;
  }

  .mode-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  .mode-card h3 {
    font-size: 1.2rem;
  }

  .feature-list li {
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .terms-card {
    padding: 20px;
  }

  .terms-icon {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .terms-card h2 {
    font-size: 1.2rem;
  }

  .terms-content {
    padding: 16px;
  }

  .cta-section {
    padding: 60px 16px;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .cta-content p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 0.85rem;
  }

  .main-footer {
    padding: 40px 16px 20px;
  }
}

.footer-section p{
  font-size:0.9rem;
  color:var(--muted);
  margin:0;
  line-height:1.6;
}

.footer-section ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-section ul li{
  padding:4px 0;
}

.footer-section ul li a{
  color:var(--muted);
  text-decoration:none;
  transition:color .2s;
}

.footer-section ul li a:hover{
  color:var(--accent);
}

.footer-bottom{
  border-top:1px solid rgba(11,18,32,0.04);
  padding-top:20px;
  text-align:center;
  color:var(--muted);
}

.footer-bottom p{
  margin:8px 0 0 0;
  font-size:0.85rem;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .hero-features{
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:12px;
  }
  
  .hero-features .feature-item{
    padding:14px;
    flex-direction:column;
    text-align:center;
  }
  
  .hero-cta{
    gap:12px;
  }
  
  .modes-grid{
    gap:24px;
  }
  
  .features-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }
  
  .cta-buttons{
    gap:12px;
  }
  
  .footer-content{
    gap:24px;
  }
  
  .nav-btn{
    padding:8px 12px;
    font-size:0.85rem;
    min-height:40px;
  }
}

@media(max-width:600px){
  .hero-title{
    font-size:clamp(1.4rem,4vw,1.8rem);
  }
  
  .hero-features{
    grid-template-columns:1fr;
    margin-bottom:24px;
  }
  
  .hero-features .feature-item{
    padding:12px;
  }
  
  .modes-grid{
    gap:16px;
  }
  
  .mode-card{
    padding:20px;
  }
  
  .features-grid{
    grid-template-columns:1fr;
  }
  
  .cta-buttons{
    flex-direction:column;
  }
  
  .cta-buttons .btn{
    width:100%;
  }
  
  .footer-content{
    grid-template-columns:1fr;
    gap:20px;
  }
  
  .nav-btn{
    padding:6px 10px;
    font-size:0.8rem;
    min-height:38px;
    border-radius:8px;
  }
  
  .nav-btn--secondary{
    padding:4px 8px;
  }
}
