/* EmailGame: Inbox Panic - Modern Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg-primary: #070913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --primary-accent: #00F2FE;
  --secondary-accent: #4FACFE;
  --neon-green: #00FF87;
  --neon-pink: #FF0844;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% -20%, #1E1B4B 0%, var(--bg-primary) 70%);
  min-height: 100vh;
}

/* Background Animated Particles Grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.glow-orb-1 {
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: rgba(0, 242, 254, 0.15);
}

.glow-orb-2 {
  bottom: 10%;
  left: -150px;
  width: 500px;
  height: 500px;
  background: rgba(0, 255, 135, 0.1);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 19, 0.7);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: #000;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

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

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 20px;
  color: var(--primary-accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  white-space: nowrap;
  max-width: 100%;
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}


/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 14px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.2);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

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

.btn-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.btn-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Device Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-wrapper::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, var(--primary-accent), var(--neon-green));
  filter: blur(80px);
  opacity: 0.25;
  border-radius: 50%;
  z-index: 0;
}

.device-frame {
  position: relative;
  z-index: 1;
  max-width: 320px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.5s ease;
}

.device-frame:hover {
  transform: translateY(-8px) scale(1.02);
}

.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.section {
  padding: 100px 0;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--primary-accent);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* Feature Showcase Banner */
.showcase-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  backdrop-filter: blur(20px);
}

.showcase-devices {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  padding: 10px 0;
}

.mini-phone {
  width: 170px;
  max-width: 45%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--bg-primary);
}

.mini-phone img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.mini-phone-1 {
  transform: rotate(-5deg) translateY(-8px);
}

.mini-phone-2 {
  transform: rotate(5deg) translateY(8px);
}

.showcase-banner:hover .mini-phone-1 {
  transform: rotate(-7deg) translateY(-14px) scale(1.04);
}

.showcase-banner:hover .mini-phone-2 {
  transform: rotate(7deg) translateY(14px) scale(1.04);
}


/* Stats Counter */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  text-align: center;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--neon-green);
}

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

/* Screenshots Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  position: relative;
}

.screenshot-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.2);
}

.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.screenshot-caption {
  text-align: center;
  padding: 14px 8px 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background: rgba(5, 7, 15, 0.9);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-accent);
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

/* Responsive queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  .store-buttons {
    justify-content: center;
  }
  .showcase-banner {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 600px) {
  .hero-tag {
    font-size: 0.72rem;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

