/* DeskFit Promo Website - Extracted from App Theme */
:root {
  /* Primary Colors */
  --color-primary: #1E88FF;
  --color-cyan: #00F0FF;
  --color-gradient-accent: #6CE6FF;

  /* Background Colors */
  --color-bg-start: #000D28;
  --color-bg-end: #001544;
  --color-card: #07142C;
  --color-surface: #111A2E;

  /* Status Colors */
  --color-success: #2DFF9A;
  --color-warning: #FFC83D;
  --color-danger: #FF3B5C;

  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #9DB3D9;
  --color-text-tertiary: #E6F0FF;

  /* Button */
  --color-btn-secondary: #122953;

  /* Border radius */
  --radius-button: 32px;
  --radius-card: 20px;
  --radius-small: 12px;

  /* Font */
  --font-heading: 'Montserrat Alternates', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--color-bg-start), var(--color-bg-end));
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

img { max-width: 100%; height: auto; }

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

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  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;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-cyan);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 13, 40, 0.97);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(30, 136, 255, 0.15);
  }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero {
  padding: 120px 24px 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-device {
  flex-shrink: 0;
  width: 280px;
}

.device-mockup {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.device-frame {
  position: relative;
  background: #1a1a2e;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(30, 136, 255, 0.1);
  border: 2px solid rgba(30, 136, 255, 0.2);
}

.device-frame img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-device { width: 220px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-primary));
  color: #000D28;
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
  color: #000D28;
}

.btn-secondary {
  background: var(--color-btn-secondary);
  color: var(--color-text-primary);
  border: 1px solid rgba(30, 136, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(30, 136, 255, 0.2);
  color: var(--color-text-primary);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .btn-group { justify-content: center; }
}

/* Sections */
.section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Screenshot Carousel */
.screenshot-section {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
  max-height: 500px;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.95);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-slide .device-mockup {
  max-width: 200px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-btn-secondary);
  border: 1px solid rgba(30, 136, 255, 0.3);
  color: var(--color-text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 5;
}

.carousel-btn:hover {
  background: rgba(30, 136, 255, 0.3);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-btn-secondary);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--color-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

@media (max-width: 768px) {
  .screenshot-section { max-height: 400px; padding: 40px 20px; }
  .carousel-container { height: 300px; }
  .carousel-slide .device-mockup { max-width: 160px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

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

.feature-card {
  background: var(--color-card);
  border: 1px solid rgba(30, 136, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(30, 136, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  text-align: left;
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Alternating Feature Blocks */
.feature-block {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-block-content {
  flex: 1;
  text-align: left;
}

.feature-block-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-block-content p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.feature-block-visual {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(30, 136, 255, 0.08));
  border: 1px solid rgba(30, 136, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

@media (max-width: 768px) {
  .feature-block,
  .feature-block:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .feature-block-content { text-align: left; }
  .feature-block-visual { width: 120px; height: 120px; font-size: 2rem; }
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent, rgba(30, 136, 255, 0.05), transparent);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(30, 136, 255, 0.1);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--color-cyan); }

.footer-copy {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; }
}

/* Page Content (Privacy, Terms, Contact) */
.page-content {
  padding: 100px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-content .page-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--color-cyan);
}

.page-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.page-content p {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.7;
}

.page-content ul, .page-content ol {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  text-align: left;
}

.page-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.page-content a {
  color: var(--color-cyan);
}

/* Contact Form */
.contact-card {
  background: var(--color-card);
  border: 1px solid rgba(30, 136, 255, 0.15);
  border-radius: var(--radius-card);
  padding: 36px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text-tertiary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(30, 136, 255, 0.2);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--color-btn-secondary);
  color: var(--color-text-primary);
  border: 1px solid rgba(30, 136, 255, 0.3);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  margin-right: 12px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success h3 {
  font-family: var(--font-heading);
  color: var(--color-success);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-secondary);
}

/* Privacy Accept Button (for privacy plugin) */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 24px 24px;
  background: linear-gradient(to top, var(--color-bg-start) 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: 14px 48px;
  border-radius: var(--radius-button);
  background: linear-gradient(135deg, var(--color-cyan), var(--color-primary));
  color: #000D28;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: all 0.3s;
}

.accept-btn:hover {
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

/* Utility */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }

/* AOS overrides for dark theme */
[data-aos] { transition-duration: 600ms; }
