/* 
   -------------------------------------------------------------------------
   DESIGN SYSTEM & CORE STYLES
   Company: NextSoftDev
   Aesthetics: Premium Dark, Vibrant Accents, Glassmorphism
   -------------------------------------------------------------------------
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;900&display=swap");

:root {
  /* Color Palette */
  --bg-deep: #05070a;
  --bg-card: #0d1117;
  --accent-primary: #3b82f6; /* Electric Blue */
  --accent-secondary: #8b5cf6; /* Vibrant Purple */
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);

  /* Spacing & Sizing */
  --container-max: 1200px;
  --section-padding: 100px 0;
  --border-radius: 16px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-only { display: inline-block; }
.mobile-only { display: none; }

@media (max-width: 992px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

/* --- Layout Components --- */

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 110px;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(8, 11, 16, 0.98) 0%, rgba(5, 7, 10, 0.92) 55%, rgba(8, 11, 16, 0.98) 100%),
    url('../assets/hero-bg.png');
  background-size: auto, auto, auto, cover;
  background-position: top left, right top, center, right center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.78) 44%, rgba(5, 7, 10, 0.35) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -140px;
  top: 80px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(10px);
}

.hero-content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 660px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 28px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: #dbe7ff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-kicker i {
  color: #60a5fa;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-copy > p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dbe7ff;
  font-weight: 600;
}

.hero-link:hover {
  color: #60a5fa;
  transform: translateX(4px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-proof-item {
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.hero-proof-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.hero-proof-item span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
}

.hero-visual.animate {
  animation-delay: 0.15s;
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.14), rgba(139, 92, 246, 0.04) 55%, transparent 100%);
  pointer-events: none;
}

.hero-panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.hero-chip {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-title {
  max-width: 30ch;
  color: #eef4ff;
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
}

.hero-rating i {
  color: #facc15;
}

.hero-preview {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.8), rgba(8, 11, 16, 0.4));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-preview img {
  width: 100%;
  display: block;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 20px 30px rgba(2, 6, 23, 0.35);
}

.hero-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-mini-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-mini-card:last-child {
  grid-column: 1 / -1;
}

.hero-mini-label {
  display: block;
  margin-bottom: 8px;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

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

.hero-floating-card {
  position: absolute;
  display: flex;
  gap: 12px;
  max-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
}

.hero-floating-card span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.hero-floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero-floating-card i {
  color: #60a5fa;
  font-size: 1.25rem;
  margin-top: 2px;
}

.hero-floating-top {
  top: -26px;
  right: -24px;
}

.hero-floating-bottom {
  bottom: 24px;
  left: -44px;
}

/* Gradients text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-primary);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
}

.product-card img {
  border-radius: 12px;
  margin-bottom: 20px;
}

.product-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.8s ease forwards;
}

/* --- New Homepage Sections Styles --- */

/* How It Works Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 24px;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Arbitrary large enough height */
    opacity: 1;
    padding: 0 24px 24px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-question i {
    transition: transform 0.4s ease;
}

/* Testimonials Refined */
.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.28));
    color: var(--text-primary);
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
}

/* Tech Stack Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 32px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.tech-item {
    opacity: 0.6;
    transition: var(--transition-smooth);
    filter: grayscale(1);
}

.tech-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}
/* Why Choose Us Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Workflow Timeline */
.workflow-container {
    max-width: 1000px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 40px;
}

.workflow-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.workflow-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.workflow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), var(--bg-card));
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin: 24px 0;
    font-family: 'Outfit', sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    text-align: left;
    margin: 32px 0;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--accent-primary);
    margin-right: 12px;
}

/* CTA Banner */
.cta-banner {
    background: var(--accent-gradient);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 60px auto;
    max-width: 1000px; /* Slightly narrower for better focus */
    color: white;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Design --- */

/* Mobile Menu Toggle (Hidden by default) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none; /* Hide on mobile/tablet */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-deep);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    header .btn {
        display: none; /* Hide CTA in header on small screens to save space */
    }

    .hero {
        min-height: auto;
        padding: 150px 0 100px;
        background-position: top left, center top, center, center;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.82) 52%, rgba(5, 7, 10, 0.92) 100%);
    }

    .hero::after {
        width: 420px;
        height: 420px;
        right: -140px;
        top: 140px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-copy {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        max-width: 14ch;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-panel-header {
        flex-direction: column;
    }

    .hero-panel-title {
        max-width: none;
    }

    .hero-floating-card {
        position: static;
        max-width: none;
        margin-top: 16px;
    }

    .cta-banner h2 {
        font-size: 2.25rem;
    }

    .workflow-container::after {
        display: none; /* Hide timeline line on mobile */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h2 {
        font-size: 2rem !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .workflow-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .workflow-item {
        width: 100%;
    }

    .workflow-item:not(:last-child)::after {
        width: 2px;
        height: 60px;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-card-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-kicker {
        font-size: 0.78rem;
        padding: 10px 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-content .btn {
        margin-bottom: 16px;
    }

    .hero-link {
        justify-content: center;
    }

    .hero-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .hero-preview {
        padding: 10px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid div {
        margin-bottom: 40px;
    }
}

/* --- Authentication Pages --- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.1), transparent);
}

.auth-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-group input {
    accent-color: var(--accent-primary);
    width: 16px;
    height: 16px;
}

.social-auth {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

/* --- Dashboard Layout --- */
.db-wrapper {
    display: flex;
    min-height: 100vh;
    background: #080a0f;
}

.db-sidebar {
    width: 280px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1001;
    transition: var(--transition-smooth);
}

.db-main {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
}

.db-logo {
    margin-bottom: 50px;
    display: block;
}

.db-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.db-nav-item:hover, .db-nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
}

.db-nav-item i {
    font-size: 1.1rem;
    width: 24px;
}

/* Dashboard Cards */
.db-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.db-stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.db-stat-card h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.db-stat-card .value {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

/* Content Table */
.db-content-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 30px;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.db-table th {
    text-align: left;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.db-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-color);
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.badge-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.form-select, select.form-input {
    width: 100%;
    padding: 14px 20px;
    background-color: #161b22; /* Use background-color to avoid resetting other bg props */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    transition: var(--transition-smooth);
}

.form-select:focus, select.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Style the option dropdown itself (limited support, but helps in Chrome/Firefox) */
select option {
    background-color: #0d1117;
    color: white;
    padding: 12px;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 992px) {
    .db-sidebar {
        transform: translateX(-100%);
    }
    .db-sidebar.active {
        transform: translateX(0);
    }
    .db-main {
        margin-left: 0;
        padding: 30px 20px;
    }
}

/* Custom File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
    text-align: center;
}

.file-upload-wrapper:hover .file-upload-label {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload-label i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.file-upload-label span {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.file-upload-label p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

#file-name {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--accent-secondary);
    font-weight: 600;
}

/* --- 2026 Visual Refresh --- */
:root {
  --bg-deep: #070a0d;
  --bg-elevated: #0e141a;
  --bg-card: #111821;
  --bg-soft: #151d27;
  --accent-primary: #2dd4bf;
  --accent-secondary: #f59e0b;
  --accent-tertiary: #60a5fa;
  --accent-gradient: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 52%, #f59e0b 100%);
  --text-primary: #f6f8fb;
  --text-secondary: #a8b3c2;
  --text-muted: #718096;
  --border-color: rgba(210, 224, 240, 0.12);
  --border-strong: rgba(210, 224, 240, 0.2);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 24px 55px rgba(0, 0, 0, 0.36);
  --container-max: 1180px;
  --section-padding: 96px 0;
  --border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #070a0d 0%, #0b1016 48%, #070a0d 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text-primary);
  letter-spacing: 0;
}

body::selection {
  background: rgba(45, 212, 191, 0.32);
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

p {
  color: inherit;
}

.container {
  max-width: var(--container-max);
}

.section {
  position: relative;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)) !important;
  border-top: 1px solid rgba(210, 224, 240, 0.08);
  border-bottom: 1px solid rgba(210, 224, 240, 0.06);
}

.section-raised {
  background: linear-gradient(180deg, rgba(7, 10, 13, 0), rgba(17, 24, 33, 0.46), rgba(7, 10, 13, 0));
}

.site-header,
header {
  padding: 14px 0;
  background: rgba(7, 10, 13, 0.74);
  border-bottom: 1px solid rgba(210, 224, 240, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(210, 224, 240, 0.1);
  border-radius: 8px;
  background: rgba(17, 24, 33, 0.58);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.22rem;
  line-height: 1;
  letter-spacing: 0;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--text-primary);
}

.logo::before {
  content: "N";
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(96, 165, 250, 0.95));
  color: #061014;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(45, 212, 191, 0.18);
}

.logo span {
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: currentColor;
}

.nav-links {
  gap: 8px;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #dce4ed;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-primary);
}

.btn {
  border-radius: 8px;
  padding: 13px 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, #25c7b4 0%, #54a7f7 100%);
  color: #031012;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(45, 212, 191, 0.18);
}

.btn-outline {
  border-color: rgba(210, 224, 240, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.55);
  color: var(--accent-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #2dd4bf 0%, #7dd3fc 58%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero {
  min-height: auto;
  padding: 138px 0 86px;
  background:
    linear-gradient(90deg, rgba(7, 10, 13, 0.96) 0%, rgba(7, 10, 13, 0.83) 46%, rgba(7, 10, 13, 0.62) 100%),
    linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(245, 158, 11, 0.05)),
    url('../assets/hero-bg.png');
  background-size: auto, auto, cover;
  background-position: center, center, right center;
}

.hero::before {
  background:
    linear-gradient(135deg, transparent 0%, rgba(45, 212, 191, 0.08) 48%, transparent 49%),
    linear-gradient(180deg, transparent 0%, rgba(7, 10, 13, 0.95) 100%);
}

.hero::after {
  display: none;
}

.hero-content {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 58px;
}

.hero-kicker {
  border-radius: 8px;
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(45, 212, 191, 0.08);
  color: #d7fffb;
  letter-spacing: 0;
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 54ch;
  font-size: 1.08rem;
  color: #c0cad7;
}

.hero-actions {
  margin-bottom: 24px;
}

.hero-link {
  color: #dce4ed;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(210, 224, 240, 0.1);
}

.hero-metrics strong {
  color: var(--text-primary);
}

.hero-proof-item,
.hero-mini-card,
.feature-card,
.product-card,
.testimonial-card,
.pricing-card,
.faq-item,
.db-content-card,
.db-stat-card,
.auth-card,
.contact-info-card {
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--bg-card) !important;
  border: 1px solid rgba(210, 224, 240, 0.12) !important;
  box-shadow: var(--shadow-soft);
}

.hero-proof-item {
  padding: 16px;
}

.hero-panel {
  border-radius: 8px;
  padding: 20px;
  border-color: rgba(210, 224, 240, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(17, 24, 33, 0.9);
}

.hero-panel::before {
  display: none;
}

.hero-panel-header,
.hero-preview,
.hero-card-grid {
  position: relative;
  z-index: 1;
}

.hero-panel-header {
  margin-bottom: 16px;
}

.hero-panel-title {
  max-width: 28ch;
  font-size: 1.15rem;
}

.hero-chip,
.hero-mini-label,
.product-tag,
.badge {
  border-radius: 8px;
  letter-spacing: 0;
}

.hero-chip,
.hero-mini-label {
  color: #98f5ea;
  background: rgba(45, 212, 191, 0.1);
}

.hero-rating {
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.hero-preview {
  border-radius: 8px;
  padding: 8px;
  background: #071017;
  margin-bottom: 16px;
}

.hero-preview img,
.product-card img {
  border-radius: 8px;
}

.hero-preview img {
  aspect-ratio: 16 / 9;
}

.hero-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-mini-card {
  padding: 12px;
}

.hero-mini-card:last-child {
  grid-column: auto;
}

.hero-mini-label {
  margin-bottom: 6px;
  font-size: 0.68rem;
}

.hero-mini-card strong {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-mini-card p {
  display: none;
}

.hero-floating-card {
  border-radius: 8px;
  background: rgba(17, 24, 33, 0.94);
  border-color: rgba(210, 224, 240, 0.14);
}

.stats-band {
  background: #0d131a !important;
}

.stats-grid > div {
  min-width: 190px;
  padding: 20px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(210, 224, 240, 0.1);
}

.features-grid,
.products-grid,
.pricing-grid,
.steps-container {
  gap: 24px;
}

.feature-card,
.product-card,
.testimonial-card,
.pricing-card {
  padding: 30px;
}

.feature-card:hover,
.product-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.42) !important;
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2.1rem;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.1);
  -webkit-text-fill-color: var(--accent-primary);
}

.product-tag {
  top: 18px;
  right: 18px;
  background: rgba(7, 10, 13, 0.82);
  color: #98f5ea;
  border: 1px solid rgba(45, 212, 191, 0.24);
}

.step-card {
  padding: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(210, 224, 240, 0.1);
}

.step-number {
  border-radius: 8px;
  background: #18232e;
  color: var(--accent-primary);
  border: 1px solid rgba(45, 212, 191, 0.32);
  box-shadow: none;
}

.tech-item {
  width: 104px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(210, 224, 240, 0.1);
  filter: none;
  opacity: 0.9;
}

.faq-question {
  padding: 22px 24px;
}

.faq-answer {
  line-height: 1.75;
}

.pricing-card.featured {
  transform: none;
  border-color: rgba(45, 212, 191, 0.5) !important;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.09), rgba(255, 255, 255, 0.014)),
    var(--bg-card) !important;
}

.price {
  color: #f8fafc;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features i {
  margin-right: 0;
  color: var(--accent-primary);
}

.cta-banner {
  max-width: none;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.94), rgba(96, 165, 250, 0.86) 58%, rgba(245, 158, 11, 0.9));
  color: #061014;
  box-shadow: 0 28px 58px rgba(45, 212, 191, 0.16);
}

.cta-banner h2,
.cta-banner p {
  color: #061014;
}

.site-footer {
  padding: 72px 0 34px;
  border-top: 1px solid rgba(210, 224, 240, 0.1);
  background:
    linear-gradient(180deg, rgba(17, 24, 33, 0.62), rgba(7, 10, 13, 1));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 44px;
  margin-bottom: 54px;
}

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

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-top: 1px solid rgba(210, 224, 240, 0.1);
  padding-top: 30px;
}

.form-input,
.form-group input,
.form-group textarea,
.form-select,
select.form-input {
  border-radius: 8px !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(210, 224, 240, 0.14) !important;
}

.form-input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-select:focus,
select.form-input:focus {
  border-color: rgba(45, 212, 191, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1) !important;
}

.auth-wrapper {
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(245, 158, 11, 0.06), transparent 35%),
    #070a0d;
}

.db-wrapper {
  background: #070a0d;
}

.db-sidebar {
  background: #0d131a;
  border-right-color: rgba(210, 224, 240, 0.1);
}

.db-nav-item {
  border-radius: 8px;
}

.db-nav-item:hover,
.db-nav-item.active {
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-primary);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(210, 224, 240, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 992px) {
  .nav-shell {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav-links {
    background: #0d131a;
    border-bottom-color: rgba(210, 224, 240, 0.12);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 124px 0 76px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-content h1 {
    max-width: 760px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    justify-content: center;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-shell {
    padding: 0;
  }

  .logo {
    font-size: 1.02rem;
  }

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-panel {
    padding: 16px;
  }

  .stats-grid {
    gap: 14px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .auth-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
