/* Compact, Ultra-Modern Style */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent-color: #2563eb;
  --accent-hover: #1d4ed8;
  --india-saffron: #FF9933;
  --india-white: #FFFFFF;
  --india-green: #138808;
  --border-color: #e2e8f0;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-main); color: var(--text-main); line-height: 1.5; font-size: 15px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: #0f172a; }

/* Flag strip */
.indian-flag-strip { display: flex; height: 5px; width: 100%; position: fixed; top: 0; z-index: 1000; }
.indian-flag-strip .saffron { background: var(--india-saffron); flex: 1; }
.indian-flag-strip .white { background: var(--india-white); flex: 1; }
.indian-flag-strip .green { background: var(--india-green); flex:1; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 0.65rem 1.4rem; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease-in-out; cursor: pointer; border: none; letter-spacing: -0.2px; }
.btn-full { width: 100%; margin-bottom: 0.5rem; }
.btn-primary { background-color: var(--accent-color); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: #fff; color: var(--text-main); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background-color: #f1f5f9; border-color: #cbd5e1; transform: translateY(-2px); }

/* Navigation */
.navbar { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); position: fixed; top: 5px; width: 100%; z-index: 100; transition: all 0.3s; }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 3.5rem; }
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: #0f172a; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.5px; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-color); }

/* Layout & Sections */
section, header { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 0.5rem; letter-spacing: -0.8px; }
.section-header p { color: var(--text-muted); max-width: 550px; margin: 0 auto; font-size: 1rem;}

/* Hero Section */
.hero { min-height: 80vh; padding-top: 7rem; padding-bottom: 4rem; display: flex; align-items: center; background: radial-gradient(circle at top left, #ffffff, #f1f5f9); position: relative; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.hero-container { display: flex; align-items: center; gap: 3rem; position: relative; z-index: 2; }
.hero-text { flex: 1.2; }
.hero-badges { margin-bottom: 1.5rem; }
.badge-india { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; background: #fff; color: #000; border-radius: 99px; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.2rem; letter-spacing: -1.5px; }
.hero h1 span { color: var(--accent-color); }
.hero p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-image { flex: 1; display: flex; justify-content: center; position: relative; perspective: 1000px; }
.hero-image img { width: 100%; max-width: 420px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform: rotateY(-8deg) scale(0.98); }
.hero-image img:hover { transform: rotateY(0deg) scale(1.02); }

/* Simulator */
.simulator { overflow: hidden; background: #fff; }
.simulator-layout { display: flex; justify-content: center; align-items: center; gap: 4rem; margin-top: 2rem; }
.sim-wallet { background: #fff; padding: 1.8rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 2px solid #e2e8f0; text-align: center; width: 280px; position:relative; overflow:hidden;}
.sim-wallet::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; background:var(--accent-color); }
.sim-wallet h3 { margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.balance-display { font-family: var(--font-heading); font-weight: 800; font-size: 3.5rem; color: #0f172a; margin-bottom: 1rem; display: flex; align-items: baseline; justify-content: center; background: #f8fafc; border-radius: var(--radius-md); padding: 0.5rem; border: 1px solid var(--border-color); }
.currency { font-size: 1.5rem; margin-right: 0.2rem; color: var(--accent-color); }
.wallet-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }

.sim-machine { width: 320px; height: 500px; background: linear-gradient(145deg, #e2e8f0, #cbd5e1); border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: inset 0 1px 1px #fff, 0 25px 50px rgba(0,0,0,0.2); display: flex; flex-direction: column; gap: 1rem; position: relative; border: 2px solid #94a3b8; user-select: none; }
.machine-branding { text-align: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: #0f172a; display: flex; align-items: center; justify-content: center; gap: 0.4rem; background: #fff; border-radius: 99px; padding: 0.4rem 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.08); margin: 0 auto; width: max-content;}
.brand-logo { color: var(--accent-color); font-size: 1.2rem; }

.sim-glass { flex: 1; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(12px); border-radius: var(--radius-md); border: 2px solid #cbd5e1; padding: 1rem; display: flex; flex-direction: column; gap: 1.5rem; box-shadow: inset 0 5px 25px rgba(0,0,0,0.1); position: relative; overflow: hidden;}
.sim-shelf { display: flex; justify-content: space-around; border-bottom: 4px solid #cbd5e1; padding-bottom: 0.5rem; }
.sim-item { width: 42px; height: 55px; border-radius: 8px; background: linear-gradient(135deg, var(--color-top, #ccc), var(--color-bottom, #999)); box-shadow: 2px 4px 8px rgba(0,0,0,0.2); position: relative; display: flex; align-items: center; justify-content: center; }
.sim-label { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: rgba(255,255,255,0.9); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }

.sim-item::after { content: "₹" attr(data-price); position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); font-size: 0.70rem; font-weight: 700; color: #1e293b; background: #fff; padding: 2px 6px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.sim-item[data-color="#ff4757"] { background: linear-gradient(135deg, #fb7185, #e11d48); }
.sim-item[data-color="#2ed573"] { background: linear-gradient(135deg, #34d399, #059669); }
.sim-item[data-color="#1e90ff"] { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.sim-item[data-color="#ffa502"] { background: linear-gradient(135deg, #fbbf24, #d97706); }

.sim-panel { display: flex; justify-content: center; gap: 1rem; }
.sim-btn { width: 55px; height: 50px; border-radius: var(--radius-md); border: 2px solid #cbd5e1; background-color: #fff; font-weight: 700; cursor: pointer; transition: all 0.1s; box-shadow: 0 4px 0 #cbd5e1; font-family: var(--font-heading); font-size: 1.1rem; color: #0f172a; display: flex; align-items: center; justify-content: center; }
.sim-btn:active, .sim-btn.active { transform: translateY(4px); box-shadow: 0 0px 0 #cbd5e1; background: #f8fafc;}
.sim-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sim-tray-window { height: 80px; background-color: #1e293b; border-radius: var(--radius-md); position: relative; overflow: hidden; box-shadow: inset 0 10px 20px rgba(0,0,0,0.6); border: 2px solid #334155; }
.sim-tray { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-start; padding: 5px; gap: 5px; }
.tray-flap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(2px); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 0.8rem; pointer-events: none; z-index: 10; transition: opacity 0.3s; font-weight: 600;}
.sim-tray-window:hover .tray-flap { opacity: 0; }

.dropped-can { width: 40px; height: 50px; border-radius: 6px; color: white; font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 8px rgba(0,0,0,0.4); animation: dropIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; transform-origin: bottom center; }
@keyframes dropIn { 0% { transform: translateY(-100px) rotate(-15deg); opacity: 0; } 100% { transform: translateY(0px) rotate(0deg); opacity: 1; } }

.sim-feedback { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: #10b981; color: white; padding: 0.5rem 1.2rem; border-radius: 99px; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; box-shadow: var(--shadow-md); opacity: 1; transition: opacity 0.2s, top 0.2s; z-index: 20; }
.sim-feedback.hidden { opacity: 0; top: -10px; pointer-events: none; }
.sim-feedback.error { background: #ef4444; }

/* Bento Grids Concept */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.bento-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.bento-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: inline-flex; align-items: center; justify-content: center; width: 65px; height: 65px; background: #eff6ff; border-radius: 50%; }
.bento-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; letter-spacing: -0.3px; }
.bento-item p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* Innovations Bento Colors */
.inn-bento .bento-item:nth-child(1) { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #bfdbfe; }
.inn-bento .bento-item:nth-child(1) .bento-icon { background: #fff; }
.inn-bento .bento-item:nth-child(4) { background: linear-gradient(135deg, #f8fafc, #f1f5f9); }

/* USPs Bento Colors */
.usp-bento .bento-item:nth-child(2) { background: linear-gradient(135deg, #0f172a, #1e293b); color: #f8fafc; border-color: #334155; }
.usp-bento .bento-item:nth-child(2) h3, .usp-bento .bento-item:nth-child(2) p { color: #f8fafc; }
.usp-bento .bento-item:nth-child(2) .bento-icon { background: rgba(255,255,255,0.1); }
.usp-bento .bento-item:nth-child(3) { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: #fed7aa;}
.usp-bento .bento-item:nth-child(3) .bento-icon { background: #fff; }

/* Products Grid */
.products { background-color: var(--bg-main); border-top: 1px solid var(--border-color); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.product-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; border: 1px solid var(--border-color); display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img-wrapper { height: 260px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: #f8fafc; overflow: hidden;}
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }
.product-info { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 800; display:flex; align-items:center; gap: 0.3rem;}
.product-info p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Use Cases Gallery */
.usecases { background: #fff; padding-bottom: 6rem; overflow: hidden; border-top: 1px solid var(--border-color); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.uc-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 350px; box-shadow: var(--shadow-md); transition: transform 0.3s; cursor: pointer; }
.uc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.uc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.uc-card:hover img { transform: scale(1.05); }
.uc-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 2rem 1.5rem 1.5rem; color: #fff; }
.uc-overlay h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.3rem; }
.uc-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* About Section */
.about { background: var(--bg-card); padding: 5rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.team-member { background: var(--bg-main); padding: 2rem 1.5rem; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--border-color); transition: transform 0.2s;}
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.member-avatar { width: 80px; height: 80px; background: #e0f2fe; color: var(--accent-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); border: 2px solid #fff; }
.member-avatar.img-avatar { background: transparent; padding: 0; border: none;}
.img-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff;}
.team-member h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-member .role { font-size: 0.85rem; color: var(--accent-color); font-weight: 600; margin-bottom: 0.6rem; }
.team-member p:last-child { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* FAQ Section */
.faq { background: var(--bg-main); padding: 5rem 0; border-top: 1px solid var(--border-color); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.2rem 1.5rem; transition: all 0.2s; box-shadow: var(--shadow-sm); }
details[open] { border-color: var(--accent-color); box-shadow: var(--shadow-md); }
summary { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent-color); transition: transform 0.2s; }
details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-content { padding-top: 1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Footer */
footer { background: #020617; color: #94a3b8; padding: 4rem 0 2rem; border-top: 1px solid #1e293b; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-brand .logo { color: #f8fafc; margin-bottom: 0.5rem; justify-content: center; }
.footer-brand p { font-size: 0.95rem; }
.footer-links p { font-size: 0.85rem; color: #64748b; }

/* Responsive Mini Tweak */
@media (max-width: 900px) {
  .bento-grid { display: flex; flex-direction: column; }
  .uc-grid { grid-template-columns: 1fr; }
  .hero-container, .simulator-layout { flex-direction: column; text-align: center; gap: 3rem; }
  .hero { padding-top: 6rem; min-height: auto; }
  .hero h1 { font-size: 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-badges { justify-content: center; display: flex; }
  .sim-wallet, .sim-machine { width: 100%; max-width: 350px; }
  .nav-links { display: none; }
}
