/* Liquid Alchemy - Dark Tech Theme */
/* Extracted from app: Deep Navy bg, Sky Blue primary, Gold accent */

:root {
  --color-primary: #00BFFF;
  --color-secondary: #0099CC;
  --color-accent: #FFD700;
  --color-bg: #001A33;
  --color-bg-dark: #000D1A;
  --color-surface: #002244;
  --color-surface-light: #003366;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #99DDFF;
  --color-text-muted: #5588AA;
  --color-error: #DC3545;
  --color-success: #28A745;
  --border-radius: 14px;
  --border-radius-sm: 8px;
  --border-radius-pill: 24px;
  --font-family: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--color-accent);
}

/* ───── NAVBAR ───── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.12);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}
.nav-brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 13, 26, 0.97);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 191, 255, 0.12);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 14px 24px;
    display: block;
    font-size: 1rem;
  }
  .nav-links a::after {
    display: none;
  }
}

/* ───── HERO SECTION ───── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.25);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-mockup {
  flex-shrink: 0;
  position: relative;
}

.device-frame {
  width: 280px;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 191, 255, 0.08);
  border: 3px solid rgba(0, 191, 255, 0.15);
}
.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .device-frame {
    width: 220px;
  }
}

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 191, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 191, 255, 0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #E6A800);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.4);
  color: var(--color-bg);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ───── SECTIONS ───── */
.section {
  padding: 80px 24px;
  position: relative;
}

.section-alt {
  background: var(--color-bg-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ───── FEATURES GRID ───── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 28px;
  transition: var(--transition);
  text-align: left;
}
.feature-card:hover {
  border-color: rgba(0, 191, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 191, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ───── SCREENSHOTS CAROUSEL ───── */
.screenshots-section {
  padding: 80px 24px;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 191, 255, 0.06);
  border: 3px solid rgba(0, 191, 255, 0.12);
  aspect-ratio: 9 / 19.5;
}

.carousel-track img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(5px);
}
.carousel-track img.active {
  opacity: 1;
  filter: blur(0);
}
.carousel-track img.loaded {
  filter: blur(0);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 34, 68, 0.85);
  border: 1px solid rgba(0, 191, 255, 0.2);
  color: var(--color-text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.carousel-btn:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: var(--color-primary);
}
.carousel-btn.prev { left: -52px; }
.carousel-btn.next { right: -52px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dots .dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 500px) {
  .carousel-wrapper {
    max-width: 260px;
  }
  .carousel-btn.prev { left: -44px; }
  .carousel-btn.next { right: -44px; }
}

/* ───── CTA SECTION ───── */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg) 100%);
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
}
.cta-section p {
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ───── FOOTER ───── */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(0, 191, 255, 0.08);
  padding: 40px 24px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--color-text-primary);
}
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* ───── CONTENT PAGES ───── */
.page-header {
  padding: 100px 24px 40px;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg) 100%);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.page-header .subtitle {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.content-card {
  max-width: 800px;
  margin: -20px auto 40px;
  background: var(--color-surface);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 40px;
}

.content-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--color-primary);
}
.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 8px;
}

.content-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: left;
}

.content-card ul, .content-card ol {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  padding-left: 24px;
  margin-bottom: 14px;
  text-align: left;
}
.content-card li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.content-card a {
  color: var(--color-primary);
  word-break: break-all;
}

/* ───── CONTACT FORM ───── */
.contact-grid {
  max-width: 900px;
  margin: -20px auto 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 32px;
}
.contact-info-card h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.contact-info-card p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: left;
}
.contact-info-card .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}
.contact-info-card .info-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 32px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid rgba(0, 191, 255, 0.12);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.2);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-family);
  margin-right: 10px;
}

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--color-success);
  margin-top: 16px;
}

/* ───── LIGHTBOX ───── */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ───── PRIVACY ACCEPTANCE BUTTON ───── */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  padding: 16px 24px 20px;
  background: linear-gradient(to top, var(--color-bg) 60%, transparent);
  display: flex;
  justify-content: center;
}
.privacy-accept-btn.hidden {
  display: none;
}
.accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 191, 255, 0.3);
  transition: var(--transition);
  text-align: center;
}
.accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 191, 255, 0.45);
}

/* ───── UTILITIES ───── */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 600px) {
  .content-card {
    padding: 24px 18px;
    margin: -10px 12px 30px;
  }
  .contact-grid {
    margin: -10px 12px 30px;
  }
  .section {
    padding: 50px 16px;
  }
}
