/* 
  AilphaOmega Style Guide & CSS
  Theme: High-Contrast Industrial Dark
  Focus: Readability, Accessibility & Performance
*/

:root {
  /* Core Colors — Edgy Elegant Sterile */
  --bg-deep: #050308;
  --bg-card: #0c0f18;
  --bg-soft: #161827;

  --text-main: #f7f3fa;
  --text-muted: #c7c0cf;
  --text-inverse: #050308;

  --accent: #ff2d95;
  --accent-secondary: #c88b86;
  --accent-soft: rgba(255, 45, 149, 0.18);

  --sterile-white: #f6eaf0;

  /* Layout */
  --container: 1280px;
  --radius: 14px;
  --radius-lg: 28px;
  --border: rgba(255, 255, 255, 0.14);

  /* Shadows */
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 30px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 80px rgba(255, 45, 149, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* Typography */
h1, h2, h3, h4 { 
  color: #ffffff !important; 
  letter-spacing: -0.02em; 
  margin-top: 0;
  line-height: 1.2;
}
h1 { font-size: clamp(40px, 8vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 24px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }

p { color: var(--text-muted); font-size: 17px; margin-bottom: 20px; }
strong { color: #ffffff !important; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .brand { font-weight: 700; text-decoration: none; color: #ffffff !important; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.brand-text { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; color: #ffffff !important; white-space: nowrap; }
.nav .links { display: none; gap: 24px; align-items: center; }
.nav .links a { color: #ffffff !important; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav .links a:hover { color: var(--accent) !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all 0.2s ease; border: 1px solid transparent;
  font-size: 15px;
}
.btn-primary { background: var(--accent); color: #ffffff !important; }
.btn-primary:hover { background: #ff4cab; transform: translateY(-1px); box-shadow: 0 15px 35px rgba(255, 45, 149, 0.35); }
.btn-outline { border-color: var(--border); color: #ffffff !important; background: rgba(255,255,255,0.03); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #ffffff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 60px; color: #ffffff; }
.hero-inner { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; align-items: center; }
.hero-copy h1 { text-shadow: 0 25px 80px rgba(5, 3, 8, 0.85); margin-bottom: 20px; }
.hero-copy p { font-size: 20px; margin-bottom: 28px; color: var(--sterile-white); }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .cta-row .btn { flex: 1 1 200px; justify-content: center; }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: var(--glow); background: radial-gradient(circle at top right, rgba(255,45,149,0.35), rgba(5,3,8,0.95)), var(--bg-card); }
.hero-photo img { width: 100%; display: block; object-fit: cover; height: 100%; filter: saturate(1.15); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 40%, rgba(5,3,8,0.4)); pointer-events: none; }
.hero-badge { position: absolute; left: 24px; bottom: 24px; background: rgba(5,3,8,0.8); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.2); padding: 10px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sterile-white); }
.hero-ring { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); top: -60px; right: -80px; box-shadow: inset 0 0 40px rgba(255, 45, 149, 0.4); }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-secondary); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-copy .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.hero-copy .subline { font-size: 15px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 20px; }

.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 20% 20%, rgba(255,45,149,0.2), transparent 50%),
              linear-gradient(120deg, rgba(5,3,8,0.9), rgba(8,12,20,0.95)),
              url('/assets/pink-workstation-hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

/* Grids & Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p { margin-bottom: 0; font-size: 16px; }

/* Strip */
.strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.strip span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }

/* Process Section */
.process { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.process-card { position: relative; padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(140deg, rgba(255,45,149,0.15), rgba(12,15,24,0.9)); border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); }
.process-card .eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-secondary); margin-bottom: 12px; display: block; }
.process-card h3 { margin-bottom: 12px; }
.process-card p { margin-bottom: 16px; }
.process-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-muted); }
.process-card ul li { display: flex; align-items: center; gap: 10px; }
.process-card ul li::before { content: '•'; color: var(--accent-secondary); font-size: 20px; line-height: 1; }

/* Why AilphaOmega Section */
.hands-full { position: relative; padding: 80px 0; background: radial-gradient(circle at 80% 20%, rgba(255,45,149,0.18), transparent), var(--bg-deep); }
.hands-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; }
.chat-stack { display: flex; flex-direction: column; gap: 12px; }
.chat-card { background: rgba(12, 15, 24, 0.9); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.chat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,45,149,0.08), transparent); pointer-events: none; }
.chat-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent-secondary); margin-bottom: 6px; display: block; }
.chat-card .msg { font-size: 15px; color: var(--sterile-white); }
.chat-card .time { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

.badge-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); font-size: 13px; color: var(--sterile-white); background: rgba(255,45,149,0.08); }


/* Pricing */
.price { display: flex; flex-direction: column; gap: 20px; }
.price .price-tag { font-size: 24px; font-weight: 700; color: #ffffff !important; }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { margin-bottom: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.price li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.price.featured { border-color: var(--accent); background: linear-gradient(140deg, rgba(255,45,149,0.12), rgba(12,15,24,0.85)); }

/* Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #ffffff !important; }

/* Responsive */
@media (min-width: 900px) {
  .nav .links { display: flex; }
  .hamburger { display: none; }
  .hands-inner { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding: 80px 0 60px; }
  .hands-inner { grid-template-columns: 1fr; }
}

/* Focus styles for keyboard nav */
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 10px; padding: 20px 24px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  display: block; padding: 10px 16px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-main);
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }
.mobile-menu a.btn { padding: 12px 24px; }
.mobile-menu-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 8px; }
.hamburger { background: none; border: 0; color: #ffffff !important; font-size: 24px; cursor: pointer; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { background: none; cursor: pointer; font-family: inherit; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 8px;
  flex-direction: column; gap: 8px; padding: 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  min-width: 220px; box-shadow: var(--shadow-md); z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  display: block; text-align: center; padding: 10px 16px;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s ease;
}
.nav-dropdown-menu a.btn-primary { background: var(--accent); color: #ffffff !important; }
.nav-dropdown-menu a.btn-primary:hover { background: #ff4cab; }
.nav-dropdown-menu a.btn-outline { border: 1px solid var(--border); color: #ffffff !important; background: rgba(255,255,255,0.03); }
.nav-dropdown-menu a.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #ffffff; }

/* ========================================
   PHONE NOTIFICATION SECTION
   ======================================== */
.phone-demo-section {
  padding: 100px 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,45,149,0.12), transparent 60%), var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.phone-demo-section h2 {
  text-align: center;
  margin-bottom: 16px;
}

.phone-demo-section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.phone-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 50px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  transform-style: preserve-3d;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0c0f18 0%, #080a12 100%);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 32px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 20;
}

.notifications-container {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  overflow: hidden;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-card {
  background: rgba(28, 32, 45, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.notification-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.notification-card.sliding-out {
  transform: translateY(-120%);
  opacity: 0;
}

.notification-card .notif-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.notification-card .notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notification-card .notif-sender {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.notification-card .notif-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
}

.notification-card .notif-body {
  font-size: 14px;
  color: var(--sterile-white);
  line-height: 1.4;
}

.notification-card .notif-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.notification-card .notif-link:hover {
  text-decoration: underline;
}

/* 5 Star Review Animation */
.star-review-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15), transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.5s ease;
}

.star-review-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.stars-container {
  display: flex;
  gap: 12px;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.star-review-overlay.active .stars-container {
  transform: scale(1);
}

.star {
  font-size: 48px;
  animation: starGlow 0.8s ease infinite alternate;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

.star:nth-child(1) { animation-delay: 0s; }
.star:nth-child(2) { animation-delay: 0.1s; }
.star:nth-child(3) { animation-delay: 0.2s; }
.star:nth-child(4) { animation-delay: 0.3s; }
.star:nth-child(5) { animation-delay: 0.4s; }

@keyframes starGlow {
  0% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)) drop-shadow(0 0 60px rgba(34, 197, 94, 0.5));
    transform: scale(1.1);
  }
}

.star-review-text {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #22c55e;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.5s;
}

.star-review-overlay.active .star-review-text {
  opacity: 1;
  transform: translateY(0);
}

/* Phone Vibration */
@keyframes phoneVibrate {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  10% { transform: translateX(-2px) rotate(-0.5deg); }
  20% { transform: translateX(2px) rotate(0.5deg); }
  30% { transform: translateX(-2px) rotate(-0.5deg); }
  40% { transform: translateX(2px) rotate(0.5deg); }
  50% { transform: translateX(-1px) rotate(-0.25deg); }
  60% { transform: translateX(1px) rotate(0.25deg); }
  70% { transform: translateX(-1px) rotate(-0.25deg); }
  80% { transform: translateX(1px) rotate(0.25deg); }
  90% { transform: translateX(0) rotate(0deg); }
}

.phone-frame.vibrating {
  animation: phoneVibrate 0.5s ease-in-out;
}

/* Demo Controls */
.demo-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.demo-controls .btn {
  position: relative;
  overflow: hidden;
}

.demo-controls .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.demo-controls .btn:hover::after {
  transform: translateX(100%);
}

/* Responsive */
@media (max-width: 600px) {
  .phone-frame {
    width: 280px;
    height: 560px;
    border-radius: 40px;
    padding: 10px;
  }
  
  .phone-screen {
    border-radius: 32px;
  }
  
  .star {
    font-size: 36px;
  }
  
  .phone-demo-section {
    padding: 60px 0;
  }
}
