:root{
  --gold:#D4AF37;
  --gold-dark:#b68f2a;
  --bg:#07060a;
  --white:#ffffff;
  --glass: rgba(255,255,255,0.06);
  --glass-2: rgba(255,255,255,0.03);
  --radius:16px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #050507 0%, #0a0a10 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(212,175,55,0.3);
  animation: logoPulse 2s ease-in-out infinite;
  margin-bottom: 20px;
}

.loading-logo span {
  color: #0a0a0a;
  font-size: 24px;
  font-weight: 800;
}

.loading-text {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  opacity: 0.8;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  animation: loadingProgress 2s ease-out forwards;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes loadingProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Particle Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:#07060a;color:var(--white);-webkit-font-smoothing:antialiased}

/* Container */
.wrap{max-width:1200px;margin:calc(4vh) auto;padding:24px}

/* Header */
header{display:flex;align-items:center;justify-content:space-between;gap:16px;animation: slideDown 0.8s ease-out}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,var(--gold),var(--gold-dark));display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(212,175,55,0.18);font-weight:700;transition: all 0.3s ease;cursor: pointer}
.logo:hover{transform: scale(1.1) rotate(5deg);box-shadow:0 8px 25px rgba(212,175,55,0.3)}
.logo span{color:#0a0a0a;font-size:14px;transition: transform 0.3s ease}
.logo:hover span{transform: scale(1.1)}
.brand h1{font-size:18px;margin:0;animation: fadeInUp 0.8s ease-out 0.2s both}
nav{display:flex;gap:18px;align-items:center}
nav a{color:rgba(255,255,255,0.85);text-decoration:none;padding:8px 12px;border-radius:10px;transition: all 0.3s ease;position: relative;overflow: hidden}
nav a::before{content:'';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);transition: left 0.5s ease}
nav a:hover::before{left: 100%}
nav a:hover{color: var(--white);transform: translateY(-2px)}
nav a.cta{background:linear-gradient(90deg,var(--gold),var(--gold-dark));color:#080808;font-weight:700;position: relative;overflow: hidden}
nav a.cta::before{content:'';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);transition: left 0.5s ease}
nav a.cta:hover::before{left: 100%}
nav a.cta:hover{transform: translateY(-2px) scale(1.05);box-shadow: 0 8px 25px rgba(212,175,55,0.4)}

/* Language Selector */
.language-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: #0b0b0b;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lang-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.lang-btn:hover::before {
  left: 100%;
}

.lang-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.language-selector:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.language-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lang-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  transition: left 0.5s ease;
}

.lang-option:hover::before {
  left: 100%;
}

.lang-option:hover {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  transform: translateX(5px);
}

.lang-option span {
  font-size: 16px;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hero */
.hero{display:grid;grid-template-columns:1fr 380px;gap:36px;align-items:flex-start;margin-top:32px;animation: fadeInUp 1s ease-out 0.4s both}
.hero-left{padding:28px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));border-radius:var(--radius);backdrop-filter:blur(6px);position:relative;overflow:hidden;transition: all 0.3s ease}
.hero-left:hover{transform: translateY(-5px);box-shadow: 0 20px 40px rgba(0,0,0,0.3)}
.kicker{display:inline-block;padding:6px 10px;background:rgba(212,175,55,0.12);color:var(--gold);border-radius:999px;font-weight:600;font-size:13px;animation: slideInLeft 0.8s ease-out 0.6s both}
.headline{font-size:38px;line-height:1.02;margin:14px 0 8px;animation: slideInUp 0.8s ease-out 0.8s both}
.headline strong{background:linear-gradient(90deg,var(--gold),var(--gold-dark));-webkit-background-clip:text;background-clip:text;color:transparent;animation: textShine 3s ease-in-out infinite}
.desc{color:rgba(255,255,255,0.75);margin-bottom:18px;animation: fadeInUp 0.8s ease-out 1s both}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes textShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.badges{display:flex;gap:12px;margin-top:12px;animation: fadeInUp 0.8s ease-out 1.2s both}
.badge{background:var(--glass);padding:10px 14px;border-radius:12px;font-weight:700;display:flex;flex-direction:column;transition: all 0.3s ease;cursor: pointer;position: relative;overflow: hidden}
.badge::before{content:'';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);transition: left 0.5s ease}
.badge:hover::before{left: 100%}
.badge:hover{transform: translateY(-3px) scale(1.05);box-shadow: 0 10px 25px rgba(212,175,55,0.2)}
.badge small{font-size:12px;color:rgba(255,255,255,0.65);transition: color 0.3s ease}
.badge:hover small{color: var(--gold)}
.cta-row{display:flex;gap:12px;margin-top:18px;animation: fadeInUp 0.8s ease-out 1.4s both}
.btn{padding:12px 18px;border-radius:12px;border:0;font-weight:700;cursor:pointer;transition: all 0.3s ease;position: relative;overflow: hidden;text-transform: uppercase;letter-spacing: 0.5px}
.btn::before{content:'';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);transition: left 0.5s ease}
.btn:hover::before{left: 100%}
.btn.primary{background:linear-gradient(90deg,var(--gold),var(--gold-dark));color:#0b0b0b;box-shadow: 0 4px 15px rgba(212,175,55,0.3)}
.btn.primary:hover{transform: translateY(-2px) scale(1.05);box-shadow: 0 8px 25px rgba(212,175,55,0.5)}
.btn.ghost{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,0.08)}
.btn.ghost:hover{background: rgba(255,255,255,0.05);border-color: var(--gold);transform: translateY(-2px) scale(1.05);box-shadow: 0 8px 25px rgba(255,255,255,0.1)}

/* Animated blobby shapes */
.floaters{position:absolute;right:-60px;top:-30px;pointer-events:none}
.blob{width:180px;height:180px;border-radius:50%;background:radial-gradient(circle at 30% 30%, rgba(212,175,55,0.28), rgba(212,175,55,0.08));filter:blur(24px);animation:floaty 8s ease-in-out infinite}
.blob.b2{width:120px;height:120px;left:-40px;top:40%;animation-duration:10s}
@keyframes floaty{0%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-18px) rotate(8deg)}100%{transform:translateY(0) rotate(0deg)}}

/* Right card */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 30px rgba(2,2,6,0.6);
  transition: all 0.3s ease;
  animation: slideInRight 0.8s ease-out 0.6s both;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.card:hover{transform: translateY(-5px);box-shadow: 0 20px 40px rgba(2,2,6,0.8)}
.plan-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.plan-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 2s ease-in-out infinite;
}

.plan-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.plan-opts {
  display: grid;
  gap: 18px;
  margin-top: 16px;
  animation: fadeInUp 0.8s ease-out 1s both;
  position: relative;
  height: calc(100% - 180px); /* Adjust based on other elements */
}

.mini {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.mini::before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
}

.mini:hover {
  color: var(--gold);
  transform: translateX(5px);
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* counters */
.counters{display:flex;gap:12px;margin-top:22px}
.counter{background:linear-gradient(90deg, rgba(212,175,55,0.06), rgba(255,255,255,0.01));padding:12px;border-radius:12px;min-width:120px;text-align:center}
.counter strong{display:block;font-size:20px}
.marquee{margin-top:18px;overflow:hidden;border-radius:12px;padding:8px;background:var(--glass-2)}
.marquee p{white-space:nowrap;display:inline-block;padding-left:100%;animation:marquee 18s linear infinite}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}

/* Sections */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px}
.feature{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:18px;border-radius:14px;transition: all 0.3s ease;cursor: pointer;position: relative;overflow: hidden;animation: fadeInUp 0.8s ease-out both}
.feature:nth-child(1){animation-delay: 0.2s}
.feature:nth-child(2){animation-delay: 0.4s}
.feature:nth-child(3){animation-delay: 0.6s}
.feature::before{content:'';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);transition: left 0.5s ease}
.feature:hover::before{left: 100%}
.feature:hover{transform: translateY(-8px) scale(1.02);box-shadow: 0 15px 35px rgba(212,175,55,0.2);border: 1px solid rgba(212,175,55,0.3)}
.feature h3{margin:8px 0 6px;transition: color 0.3s ease}
.feature:hover h3{color: var(--gold)}
.feature p{margin:0;color:rgba(255,255,255,0.7);transition: color 0.3s ease}
.feature:hover p{color: rgba(255,255,255,0.9)}

/* Pricing */
.pricing{display:flex;gap:14px;margin-top:28px}
.price-card{flex:1;padding:18px;border-radius:14px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.03);transition: all 0.3s ease;cursor: pointer;position: relative;overflow: hidden;animation: fadeInUp 0.8s ease-out both}
.price-card:nth-child(1){animation-delay: 0.2s}
.price-card:nth-child(2){animation-delay: 0.4s}
.price-card:nth-child(3){animation-delay: 0.6s}
.price-card::before{content:'';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);transition: left 0.5s ease}
.price-card:hover::before{left: 100%}
.price-card:hover{transform: translateY(-5px) scale(1.02);box-shadow: 0 15px 35px rgba(0,0,0,0.3)}
.best{box-shadow:0 8px 30px rgba(2,2,6,0.6);border:1px solid rgba(255,255,255,0.03)}
.best:hover{box-shadow:0 20px 40px rgba(2,2,6,0.8);transform: translateY(-5px)}


/* Footer */
footer{margin-top:38px;padding:18px;border-radius:12px;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));display:flex;justify-content:space-between;align-items:center}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(7,6,10,0.95), rgba(10,10,16,0.95));
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 80px 30px 30px;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
  transition: right 0.3s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(5px);
}

.mobile-language-selector {
  margin-top: 20px;
  position: relative;
}

.mobile-lang-btn {
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: #0b0b0b;
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.mobile-lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.mobile-lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* Responsiveness */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .mobile-overlay {
    display: block;
  }
  
  .wrap {
    padding: 16px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  
  .hero-left {
    padding: 20px;
  }
  
  .headline {
    font-size: 28px;
    line-height: 1.1;
  }
  
  .desc {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .badges {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .badge {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
  }
  
  .cta-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
  }
  
  .counters {
    flex-direction: column;
    gap: 8px;
  }
  
  .counter {
    min-width: auto;
    padding: 10px;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  
  .feature {
    padding: 20px;
  }
  
  .pricing {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  
  .price-card {
    padding: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .form-row input {
    padding: 14px;
    font-size: 16px;
  }
  
  .plan-opts {
    gap: 8px;
  }
  
  .mini {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .marquee p {
    font-size: 12px;
  }
  
  .logo {
    width: 48px;
    height: 48px;
  }
  
  .logo span {
    font-size: 12px;
  }
  
  .brand h1 {
    font-size: 16px;
  }
  
  .plan-price {
    font-size: 24px;
  }
  
  .floaters {
    display: none;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 12px;
  }
  
  .hero-left {
    padding: 16px;
  }
  
  .headline {
    font-size: 24px;
  }
  
  .desc {
    font-size: 13px;
  }
  
  .badge {
    padding: 6px 10px;
  }
  
  .badge small {
    font-size: 10px;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .counter strong {
    font-size: 18px;
  }
  
  .feature {
    padding: 16px;
  }
  
  .price-card {
    padding: 16px;
  }
  
  .plan-price {
    font-size: 20px;
  }
  
  .mobile-nav {
    width: 100%;
    right: -100%;
  }
  
  .mobile-nav.active {
    right: 0;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn, .badge, .feature, .price-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .btn:active, .badge:active, .feature:active, .price-card:active {
    transform: scale(0.98);
  }
  
  nav a {
    padding: 12px 16px;
  }
  
  .lang-btn, .mobile-lang-btn {
    padding: 12px 16px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  /* Improve text selection */
  ::selection {
    background: var(--gold);
    color: #0b0b0b;
  }
  
  /* Better focus states for accessibility */
  .btn:focus, .badge:focus, .feature:focus, .price-card:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  
  /* Improve form input focus */
  input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-color: var(--gold);
  }
  
  /* Better button spacing for touch */
  .cta-row .btn {
    margin-bottom: 8px;
  }
  
  /* Improve card hover states for touch devices */
  .card, .feature, .price-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .card:active, .feature:active, .price-card:active {
    transform: scale(0.98);
  }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    margin-top: 16px;
  }
  
  .hero-left {
    padding: 16px;
  }
  
  .headline {
    font-size: 24px;
  }
  
  .wrap {
    padding: 12px;
  }
}

/* Animated Logos Section */
.logos-section {
  margin-top: 24px;
  padding: 20px 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}

.logos-title {
  text-align: center;
  margin-bottom: 16px;
}

.logos-title span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logos-container {
  overflow: hidden;
  position: relative;
  mask: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, transparent 100%);
  width: 100%;
}

.logos-track {
  display: flex;
  gap: 24px;
  align-items: center;
  will-change: transform;
  width: max-content;
  position: relative;
  animation: slide 30s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-150px * 7 - 24px * 7)); /* Logo width + gap * number of logos */
  }
}

.logo-item {
  flex-shrink: 0;
  width: 150px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  transition: left 0.5s ease;
}

.logo-item:hover::before {
  left: 100%;
}

.logo-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212,175,55,0.2);
  border-color: rgba(212,175,55,0.3);
}

.logo-item img {
  width: 120px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: brightness(1.1) contrast(1.2);
  transform: scale(1.05);
}

/* Logo animation is now handled by JavaScript for true infinite loop */

/* Mobile optimizations for logos */
@media (max-width: 768px) {
  .logos-section {
    margin-top: 20px;
    padding: 16px 0;
  }
  
  .logos-title span {
    font-size: 12px;
  }
  
  .logo-item {
    width: 120px;
    height: 70px;
  }
  
  .logo-item img {
    width: 100px;
    height: 60px;
  }
  
  .logos-track {
    gap: 16px;
    animation-duration: 18s;
  }
}

@media (max-width: 480px) {
  .logos-section {
    margin-top: 16px;
    padding: 12px 0;
  }
  
  .logo-item {
    width: 100px;
    height: 60px;
  }
  
  .logo-item img {
    width: 80px;
    height: 50px;
  }
  
  .logos-track {
    gap: 12px;
    animation-duration: 15s;
  }
}

/* small touches */
.pulse{animation:pulse 2s infinite}
@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.02)}100%{transform:scale(1)}}

/* Plan Buy Button */
.plan-buy-btn {
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: #0b0b0b;
  border: none;
  border-radius: 12px;
  margin-top: auto;
  box-shadow: 0 6px 20px rgba(212,175,55,0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.plan-buy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.plan-buy-btn:hover::before {
  left: 100%;
}

.plan-buy-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212,175,55,0.5);
}

/* form */
.form-row{display:flex;gap:8px;margin-top:12px}
.form-row input{flex:1;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:var(--white)}
.note{font-size:13px;color:rgba(255,255,255,0.6);margin-top:8px}

/* Additional animations for JavaScript */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out both;
}
