:root {
  --brand-orange: #ff7043;
  --brand-orange-light: #ff8a65;
  --brand-orange-dark: #e6522a;
  --brand-yellow: #ffd54f;
  --brand-yellow-light: #fff59d;
  --brand-green: #81c784;
  --brand-green-light: #a5d6a7;
  --bg-color: #fffbf7;
  --card-bg: #ffffff;
  --text-dark: #2d3748;
  --text-muted: #718096;
  --font-heading: 'Comic Neue', cursive;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin:0; padding:0; }
body { 
  background: var(--bg-color); 
  color: var(--text-dark); 
  font-family: var(--font-body);
  scroll-behavior: smooth; 
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-heading); 
  font-weight: 700;
}

/* Language selector */
.lang-container { position:absolute; top:20px; right:20px; z-index: 10; }
.lang-select { 
  padding:8px 14px; 
  font-size:1rem; 
  border-radius:12px; 
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white; 
  border: 1px solid rgba(255,255,255,0.4); 
  cursor:pointer; 
  font-weight:700;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  outline: none;
}
.lang-select:hover, .lang-select:focus {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.lang-select option { color: var(--text-dark); }

/* Header */
header {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
  color:white;
  padding:160px 20px 220px 20px;
  text-align:center;
  position:relative;
  z-index: 1;
}

header h1 { 
  font-size:4.5rem; 
  margin-bottom:15px; 
  text-shadow: 0 4px 15px rgba(230, 82, 42, 0.4);
  letter-spacing: 2px;
}
header p { 
  font-size:1.6rem; 
  margin-bottom:40px; 
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(230, 82, 42, 0.3);
}

.btn { 
  background: white; 
  color: var(--brand-orange); 
  padding:14px 32px; 
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-body);
  border:none; 
  border-radius:50px; 
  cursor:pointer; 
  margin: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 20px rgba(230, 82, 42, 0.3);
}
.btn:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 12px 25px rgba(230, 82, 42, 0.4);
  background: var(--bg-color);
}
#android-btn {
  background: var(--brand-orange-dark);
  color: white;
}
#android-btn:hover {
  background: #d84822; /* darker shade for hover */
}

/* Header Wave Divider */
.header-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.header-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 90px;
}
.header-wave .shape-fill {
  fill: var(--bg-color);
}

/* Floating icons & sparkles remain largely the same, maybe tweak animation curves */
.floating-icon { position:absolute; width:60px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); animation:floatUpDown 6s ease-in-out infinite; z-index: 0; }
@keyframes floatUpDown {
  0%, 100% {transform:translateY(0) rotate(0deg);}
  50%{transform:translateY(-20px) rotate(10deg);}
}

.sparkle { position:absolute; width:12px; height:12px; background:var(--brand-yellow); border-radius:50%; box-shadow: 0 0 10px var(--brand-yellow); animation:sparkle 2s infinite; }
@keyframes sparkle {50%{transform:scale(1.5) translateY(-10px); opacity: 0.8;}}

/* Sections */
section { padding:100px 20px; text-align:center; position: relative; z-index: 2; }
section h2 { 
  font-size:2.8rem; 
  margin-bottom:60px; 
  color: var(--brand-orange); 
  position: relative;
  display: inline-block;
}
.heading-icon { width: 40px; vertical-align: middle; margin-right: 15px; }

/* Cards */
.cards { display:flex; gap:35px; justify-content:center; flex-wrap:wrap; max-width: 1200px; margin: 0 auto; }
.card { 
  background: var(--card-bg); 
  border-radius:24px; 
  padding:30px; 
  max-width:320px; 
  cursor:pointer; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(255, 112, 67, 0.08); 
  border: 2px solid transparent;
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}
.card:hover { 
  transform:translateY(-15px); 
  box-shadow: 0 25px 45px rgba(255, 112, 67, 0.15); 
  border-color: var(--brand-orange-light);
}
.card img { width:100%; border-radius:16px; margin-bottom:25px; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.03); }
.card h3 { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 12px; }
.card p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; flex-grow: 1; }

.pricing-card { border: 2px solid var(--brand-green-light); position: relative;}
.pricing-card.highlight-card { border: 2px solid var(--brand-orange); transform: scale(1.05); }
.pricing-card.highlight-card:hover { transform: translateY(-15px) scale(1.05); }
.pricing-card h3 { color: var(--brand-orange); font-size: 2rem;}
.pricing-price { font-size: 2.2rem; font-weight: 800; color: var(--brand-orange-dark); margin-bottom: 20px; font-family: var(--font-body); }
.pricing-desc { margin-bottom: 30px; text-align: left; padding: 0 10px; flex-grow: 1; font-size: 1.1rem; color: var(--text-muted); line-height: 2 !important; }

/* Video */
.video-section { 
  background: linear-gradient(135deg, var(--brand-orange-light), var(--brand-yellow)); 
  padding:8px; 
  border-radius:28px; 
  max-width:1000px; 
  margin:0 auto; 
  box-shadow: 0 20px 50px rgba(255, 112, 67, 0.2);
}
.video-section video { 
  width:100%; 
  border-radius:20px; 
  display:block; 
}

/* Grand Launch Section - Big Deal Redesign */
.grand-launch-section {
  position: relative;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFA040 100%);
  color: white;
  padding: 120px 20px;
  overflow: hidden;
  text-align: center;
  margin: 80px 0;
  box-shadow: 0 20px 50px rgba(255, 107, 107, 0.25);
}

.gl-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.gl-sunburst {
  position: absolute;
  top: 50%; left: 50%;
  width: 250%; height: 250%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,255,255,0.05) 0deg 15deg,
    transparent 15deg 30deg
  );
  transform: translate(-50%, -50%);
  animation: gl-spin 90s linear infinite;
}

.gl-spotlight {
  position: absolute;
  top: -50%; left: 50%;
  width: 150%; height: 150%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4) 0%, transparent 60%);
  transform: translateX(-50%);
}

@keyframes gl-spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.gl-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.gl-top-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.4);
  text-transform: uppercase;
  font-size: 0.95rem;
  font-family: var(--font-body);
  animation: gl-pulse 2s infinite;
}

@keyframes gl-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px 0 rgba(255,255,255,0); }
}

.gl-stars { color: var(--brand-yellow); margin: 0 8px; text-shadow: 0 0 10px rgba(255,213,79,0.8); }

.gl-id-wrapper { margin-bottom: 20px; }

.gl-coming-soon-stamp, #coming-soon-stamp {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-yellow);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border-bottom: 3px dashed var(--brand-yellow);
  padding-bottom: 5px;
  font-family: var(--font-body);
}

.gl-title, #coming-soon-title {
  font-size: 5.5rem !important;
  color: white !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 2px 5px rgba(0,0,0,0.3) !important;
  font-weight: 900;
}

.gl-desc, #coming-soon-desc {
  font-size: 1.6rem !important;
  color: rgba(255,255,255,0.95)!important;
  max-width: 700px;
  margin: 0 auto 50px auto !important;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-family: var(--font-body) !important;
  font-weight: 600;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.gl-countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.gl-cd-item {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 20px 25px;
  min-width: 110px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.gl-cd-item:hover { transform: translateY(-5px); }

.gl-cd-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
  font-family: var(--font-body);
}

.gl-cd-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  font-weight: 700;
  font-family: var(--font-body);
}

.gl-cd-colon {
  font-size: 3.5rem;
  font-weight: bold;
  padding-top: 15px;
  opacity: 0.6;
  animation: gl-blink 1s steps(1) infinite;
}

@keyframes gl-blink { 50% { opacity: 0; } }

.gl-waitlist {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: 24px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.gl-waitlist-text {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text-dark);
  font-family: var(--font-body);
}

.gl-input-group { display: flex; gap: 12px; }

.gl-input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  font-size: 1.1rem;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.3s;
  background: #f7fafc;
}

.gl-input:focus { border-color: var(--brand-orange); background: white; box-shadow: 0 0 0 4px rgba(255,112,67,0.1); }

.gl-btn {
  background: var(--brand-orange);
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s;
}

.gl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255,112,67,0.3);
  background: var(--brand-orange-dark);
}

.gl-floating { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 1; }
.gl-float { position: absolute; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2)) blur(2px); }
.gl-f1 { width: 180px; top: 5%; left: -40px; animation: gl-floating-x 8s ease-in-out infinite alternate; transform: rotate(25deg); opacity: 0.8; }
.gl-f2 { width: 140px; bottom: 10%; right: -20px; animation: gl-floating-y 7s ease-in-out infinite alternate-reverse; transform: rotate(-15deg); opacity: 0.8; }

@keyframes gl-floating-x { 0% { transform: translateY(0) rotate(25deg) scale(1); } 100% { transform: translateY(-40px) rotate(45deg) scale(1.1); } }
@keyframes gl-floating-y { 0% { transform: translateY(0) rotate(-15deg) scale(1); } 100% { transform: translateY(-30px) rotate(-35deg) scale(1.1); } }

/* Footer */
footer { 
  background:var(--text-dark); 
  color:white; 
  padding:60px 20px; 
  text-align: center;
}
#footer-text { font-family: var(--font-body); font-size: 1.1rem; opacity: 0.8; }

/* Fade-in */
.fade-in { opacity:0; transform:translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.fade-in.visible { opacity:1; transform:translateY(0); }

@media(max-width:768px){
  header h1 { font-size: 3.2rem; }
  header p { font-size: 1.2rem; }
  .cards{flex-direction:column; align-items: center;}
  .card, .pricing-card { max-width: 100%; width: 100%; }
  .video-section { padding:8px; border-radius: 16px;}
  .video-section video { border-radius:12px; }
  .gl-title, #coming-soon-title { font-size: 3.5rem !important; }
  .gl-desc, #coming-soon-desc { font-size: 1.2rem !important; }
  .gl-countdown { flex-wrap: wrap; gap: 15px; }
  .gl-cd-item { min-width: 80px; padding: 15px; }
  .gl-cd-num { font-size: 2.2rem; }
  .gl-cd-colon { display: none; }
  .gl-input-group { flex-direction: column; }
  .gl-f1 { width: 120px; left: -20px; }
  .gl-f2 { width: 90px; right: -10px; }
  .header-wave svg { height: 50px; }
}

/* Toasts */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none;
}
.toast {
  background: var(--card-bg, #fff);
  border-left: 6px solid var(--brand-orange, #ff7043);
  padding: 18px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-family: var(--font-body, 'Nunito', sans-serif);
  font-weight: 700;
  color: var(--text-dark, #333);
  animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: auto;
}
.toast-success { border-color: var(--brand-green, #81c784); }
.toast-error { border-color: #f56565; }
.toast.hide { opacity: 0; transform: translateX(100%); pointer-events: none; }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
