/* General Body & Typography */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
}

.highlight {
    color: #7f5af0;
    background: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(17, 24, 39, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

header .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .header-left .title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
}

header .desktop-menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s ease;
}

header .desktop-menu a:hover {
    color: #14b8a6;
}

header .logo {
    height: 60px;
}

/* Hero Section */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 15px 40px; /* add top padding control */
    gap: 12px;
    box-sizing: border-box;
}

.hero-banner canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.hero-content .subheading {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #e0e7ff;
    text-align: center;
}

.hero-announcement {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #cbd5e1;
}
/* Subtle secondary CTA link styling */
.usage-hint {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.usage-hint a {
    color: #3b82f6;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.usage-hint a:hover {
    color: #14b8a6;
}


.primary-btn {
    background: linear-gradient(135deg, #7f5af0, #14b8a6, #3b82f6);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(127,90,240,0.5);
    transition: all 0.3s ease;
    display: inline-block;
    animation: pulse 2s infinite;
    margin-top: 20px;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(127,90,240,0.6);
}

.legal-text {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 15px;
    line-height: 1.4;
}

.legal-text a {
    color: #3b82f6;
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* space between checkbox and text */
  font-size: 0.9rem;
  line-height: 1.4;
}

.legal-consent input[type="checkbox"] {
  margin-top: 0.2rem; /* align with first line of text */
}

.legal-consent input {
  margin-right: 8px;
}

.legal-consent a {
  color: #3b82f6;
  text-decoration: underline;
}


/* Pulse Animation */
@keyframes pulse {
    0% { box-shadow: 0 6px 20px rgba(127,90,240,0.4); }
    50% { box-shadow: 0 10px 25px rgba(127,90,240,0.6); }
    100% { box-shadow: 0 6px 20px rgba(127,90,240,0.4); }
}

.account-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin: 20px auto;
  max-width: 900px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.billing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-btn {
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
}

.danger-btn {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: #e74c3c;
  color: #fff;
  cursor: pointer;
}

.danger-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

section {
    position: relative;
}

/* ===============================
   Horizontal Scroll Sections
================================= */

.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}
/* Feature Section */
.feature-section::after,
{
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    margin: 50px auto 0;
    background: linear-gradient(90deg,#14b8a6,#7f5af0,#3b82f6);
    opacity: 0.4;
    border-radius: 2px;
}
.feature-section {
    padding: 60px 20px 40px;
    text-align: center;
}

.feature-intro {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

/* ===============================
   PREMIUM FEATURE ANIMATIONS
================================ */

/* Feature List - 4 per row on desktop */
.feature-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* exactly 4 columns */
    gap: 28px;
    max-width: 1200px;                      /* optional, controls width */
    margin: 70px auto 60px;
    padding: 0 20px;
}

/* Feature cards inside the list */
.feature-item {
    width: 100%;                             /* full column width */
    max-width: 280px;                        /* optional: keeps cards uniform */
    margin: 0 auto;
}

/* Responsive - tablets 2 per row */
@media (max-width: 1024px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - mobile 1 per row */
@media (max-width: 480px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* Card */
.feature-item {
    position: relative;
    padding: 26px 26px;
    border-radius: 20px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
    gap: 10px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border 0.35s ease,
        background 0.35s ease;

    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
/* Gradient glow border (premium feel) */
.feature-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(127,90,240,0.6),
        rgba(20,184,166,0.6),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Shimmer sweep */
.feature-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
    transform: skewX(-20deg);
}

/* Hover animation */
.feature-item:hover {
    transform: translateY(-8px);
    background: rgba(127,90,240,0.15);

    border: 1px solid rgba(127,90,240,0.45);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.5),
        0 0 25px rgba(127,90,240,0.25);
}
.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover::after {
    animation: shimmer 1.2s ease forwards;
}

@keyframes shimmer {
    100% {
        left: 130%;
    }
}

/* Icon floating animation */
.feature-icon {
    font-size: 2rem;
    align-self: center;
    margin-bottom: 6px;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Text styling */
.feature-item h4 {
    margin: 4px 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
}
.feature-item p {
    margin: 0 auto;
    max-width: 320px;   /* prevents wide ugly lines */
    line-height: 1.6;
    font-size: 0.98rem;
    color: #cbd5e1;
    text-align: center;

}

/* ===============================
   STAGGERED SCROLL REVEAL
================================ */

.animate-feature {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-feature.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Feature Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 20px;
    width: 260px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.55);
    background: rgba(127,90,240,0.2);
}
/* ==============================
   About & Languages Sections
============================== */
.languages-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #111827, #0f172a);
}

.languages-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.languages-section p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
    color: #cbd5e1;
}


/* =====================================
   HORIZONTAL ROW — ABOUT / INDUSTRIES
===================================== */
/* =================================
   Industries We Serve (FIXED)
================================= */

.about-section {
    text-align: center;
    padding: 80px 20px;
}

/* Industries We Serve - exactly 3 per row */
.about-section .languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* exactly 3 columns */
    gap: 24px;
    max-width: 960px;                        /* control total width */
    margin: 40px auto 0;
    padding: 0 10px;
    justify-items: center;
}

/* Fixed card width */
.industry-card {
    width: 280px;                             /* ensures 3 fit per row */
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 22px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.35s ease;
}

/* Hover effect */
.industry-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(127,90,240,0.25), rgba(20,184,166,0.25));
    box-shadow: 0 25px 50px rgba(0,0,0,0.45), 0 0 30px rgba(127,90,240,0.25);
}

/* Responsive - tablets 2 per row */
@media (max-width: 768px) {
    .about-section .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card {
        width: 100%; /* flexible on smaller screens */
        padding: 20px 14px;
    }
}

/* Responsive - mobile 1 per row */
@media (max-width: 480px) {
    .about-section .languages-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
}


.feature-cards {
    display: flex;
    justify-content: center;   /* CENTER ITEMS */
    align-items: stretch;
    gap: 30px;

    max-width: 1100px;         /* controls desktop width */
    margin: 60px auto 0;       /* CENTER CONTAINER */

    flex-wrap: wrap;           /* allows proper centering */
}
.feature-cards::-webkit-scrollbar {
    display: none;
}

.feature-cards .card {
    flex: 0 1 300px;
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: center;
}

.languages-section .languages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

/* Language pill */
.language-card {
    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(255,255,255,0.06);
    padding: 10px 16px;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;

    transition: all 0.25s ease;
}

.language-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
}

/* ===============================
   Mobile Optimization
================================= */

@media (max-width: 768px) {

    /* Industries become grid */
    .about-section .languages-grid {
        overflow-x: visible;
        flex-wrap: wrap;
        justify-content: center;
    }

    .industry-card {
        min-width: 150px;
        flex: 1 1 45%;
    }

    /* Feature cards stack */
    .feature-cards {
        overflow-x: visible;
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature-cards .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Languages perfect wrapping */
    .languages-section .languages-grid {
        gap: 12px;
    }

    .language-card {
        font-size: 14px;
        padding: 8px 14px;
    }
}

.usage-hint {
    display: block;
    margin-top: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #cbd5e1;
    text-align: center;
}

.usage-hint a {
    color: #3b82f6;
}

/* Industry cards */
.industry-card {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 22px 30px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.35s ease;
}

/* Hover effect */
.industry-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(127,90,240,0.25), rgba(20,184,166,0.25));
    box-shadow: 0 25px 50px rgba(0,0,0,0.45), 0 0 30px rgba(127,90,240,0.25);
}

.language-card {
    flex: 0 0 auto;
    white-space: nowrap;

    padding: 14px 26px;
    border-radius: 999px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);

    font-weight: 500;
    letter-spacing: 0.3px;

    transition: all 0.3s ease;
}

.language-card:hover {
    transform: scale(1.1);

    background: linear-gradient(
        90deg,
        #14b8a6,
        #7f5af0,
        #3b82f6
    );

    color: white;
    box-shadow: 0 10px 30px rgba(127,90,240,0.35);
}
/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background-color: rgba(17,24,39,0.95);
    flex-wrap: wrap;
    gap: 15px;
    backdrop-filter: blur(8px);
}

footer .logo {
    height: 60px;
}

.footer-center {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-right a img {
    height: 28px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.footer-right a img:hover {
    transform: scale(1.2);
}

/* Animations on scroll */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Login Page - Override animations */
.login-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Signup Page - Override animations */
.signup-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* -------------------------------
   Login & Signup Forms (Aligned)
--------------------------------- */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* more vertical space */
    padding: 40px 20px;
    background: linear-gradient(135deg, #111827, #0f172a);
    box-sizing: border-box;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0,0,0,0.7);
}

.auth-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.auth-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 1rem;
}

.auth-card input::placeholder {
    color: #e0e7ff;
    opacity: 0.7;
}

.auth-card button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, #7f5af0, #14b8a6, #3b82f6);
    color: #ffffff;
    transition: all 0.3s ease;
}

.auth-card button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(127,90,240,0.6);
}

.auth-card .link {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #cbd5e1;
    text-decoration: none;
}

.auth-card .link:hover {
    color: #14b8a6;
}

.auth-card {
    background: rgba(255, 255, 255, 0.1); /* from 0.05 → 0.1 */
    padding: 40px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7); /* darker shadow */
    backdrop-filter: blur(12px);
    text-align: center;
}

/* Form inside auth-card (Login/Signup/Contact) */
.auth-card .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

.auth-card label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.auth-card input,
.auth-card textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    resize: none;
}

.auth-card input::placeholder,
.auth-card textarea::placeholder {
    color: #e0e7ff;
    opacity: 0.7;
}


/* =================== Contact Form / Contact Page Styles =================== */

/* Auth-card container for contact form */
.auth-card {
    background: rgba(255, 255, 255, 0.05); /* subtle dark card */
    padding: 40px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0,0,0,0.7);
}

/* Form inside auth-card */
.auth-card .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    text-align: left;
}

.auth-card label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.auth-card input,
.auth-card textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    resize: none;
    transition: all 0.3s ease;
}

.auth-card input::placeholder,
.auth-card textarea::placeholder {
    color: #e0e7ff;
    opacity: 0.7;
}

.auth-card input:focus,
.auth-card textarea:focus {
    border-image: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6) 1;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 12px rgba(127,90,240,0.5), 0 0 12px rgba(20,184,166,0.3);
}

/* Submit Button */
.auth-card button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, #7f5af0, #14b8a6, #3b82f6);
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(127,90,240,0.6);
}

/* reCAPTCHA wrapper - dark theme & gradient border */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid;
    border-image: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6) 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.recaptcha-wrapper iframe {
    border-radius: 10px;
}

.recaptcha-wrapper:hover,
.recaptcha-wrapper:focus-within {
    box-shadow: 0 0 15px rgba(127,90,240,0.6), 0 0 15px rgba(59,130,246,0.4);
    transform: translateY(-2px);
}

/* ================================
   Dropdown Field ("What is this regarding?")
================================= */
/* Style for dropdown to match dark theme inputs */
.auth-card select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background-color: #111827; /* solid dark background */
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    appearance: none; /* remove default arrow styling */
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom arrow (small and subtle) */
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'><path fill='white' d='M7 10l5 5 5-5H7z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

/* Focus effect to match inputs */
.auth-card select:focus {
    border-image: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6) 1;
    background-color: #1e1e2a; /* slightly lighter dark on focus */
    box-shadow: 0 0 12px rgba(127,90,240,0.5), 0 0 12px rgba(20,184,166,0.3);
    outline: none;
}

/* Placeholder color for first disabled option */
.auth-card select option[disabled] {
    color: #cbd5e1;
}

/* Dropdown options styling */
.auth-card select option {
    background-color: #111827; /* solid dark for dropdown items */
    color: #ffffff;
    padding: 10px 15px;
}

/* Hover effect for dropdown options (works in modern browsers like Chrome/Edge/Firefox) */
.auth-card select option:hover,
.auth-card select option:checked {
    background: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6);
    color: #ffffff;
}

/* Responsive tweaks for mobile */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-section {
        min-height: calc(100vh - 60px); /* smaller header on mobile */
    }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    .auth-section {
        min-height: calc(100vh - 60px); /* smaller header on mobile */
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    header .desktop-menu {
        margin-top: 10px;
    }

    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .hero-banner .subheading {
        font-size: 1rem;
    }
}

/* ===============================
   HERO SPOTLIGHT EFFECT
================================ */

.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle 400px at 50% 50%,
        rgba(127,90,240,0.25),
        transparent 70%
    );
    transition: background 0.15s linear;
    z-index: 0;
}

.hero-banner > * {
    position: relative;
    z-index: 2;
}
   
/* ===============================
   AI BACKGROUND MESH
================================ */

.ai-background {
    position: fixed;
    inset: -20%;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.6;
    pointer-events: none;

    background:
        radial-gradient(circle at 20% 30%, #7f5af0, transparent 40%),
        radial-gradient(circle at 80% 40%, #14b8a6, transparent 40%),
        radial-gradient(circle at 50% 80%, #3b82f6, transparent 45%);

    animation: meshMove 25s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% { transform: translateY(-3%) translateX(-2%); }
    100% { transform: translateY(3%) translateX(2%); }
}

section {
    position: relative;
}

/* soft fade between sections */
section::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        #0f172a
    );
    pointer-events: none;
}

.feature-item {
    will-change: transform;
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(3deg);
    transition: transform 0.3s ease;
}
/* ---------- Header Menus & Mobile Toggle ---------- */

/* Desktop menu */
header .desktop-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Mobile menu toggle (hamburger) hidden by default */
/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;         /* shrink to fit iPhone width */
    height: 20px;        /* shrink height */
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;         /* thinner lines */
    width: 100%;
    background-color: #000; /* or your brand color */
    border-radius: 2px;   /* slightly rounded edges */
    transition: all 0.3s ease;
}
/* Mobile menu (hidden by default) */
.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background-color: rgba(17, 24, 39, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* Show mobile menu when toggled */
.mobile-menu.show {
    display: flex;
}

/* Responsive: for mobile screens */
@media screen and (max-width: 768px) {
    /* Hide desktop menu on mobile */
    header .desktop-menu {
        display: none;
    }

/* Header container */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px; /* mobile-friendly padding */
    position: relative;
    z-index: 999;
}

/* Left side: logo + title */
.header-left {
    display: flex;
    align-items: center;
    gap: 8px; /* spacing between logo and title */
}

/* Logo */
.header-left .logo {
    height: 36px; /* shrink logo for mobile */
    width: auto;
}

/* Title text */
.header-left .title span {
    font-size: 14px; /* smaller for mobile */
    line-height: 1.2;
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #000; /* or brand color */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Show hamburger only on mobile */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}
@media (max-width: 768px) {
    .mobile-menu-toggle {
        width: 28px;
        height: 20px;
    }
    .mobile-menu-toggle span {
        height: 3px;
    }
}
/* Mobile menu positioning */
.mobile-menu {
    position: absolute;
    top: 100%; /* below header */
    right: 0;
    background: #fff;
    width: 200px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

    /* Adjust hero text for mobile */
    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .hero-banner .subheading {
        font-size: 1rem;
    }

    

}

/* ===============================
   Legal Pages (Privacy / Terms / Subscription)
================================ */

/* Page wrapper spacing */
.legal-container {
    max-width: 900px;
    margin: 80px auto 120px;
    padding: 50px 56px;
    background: #f8fafc; /* light document background */
    color: #0f172a;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.45);
    line-height: 1.75;
}

/* Page title */
.legal-container h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Last updated text */
.legal-container .last-updated,
.legal-container p strong {
    font-size: 0.95rem;
    color: #475569;
}

/* Section headings */
.legal-container h2 {
    margin-top: 48px;
    margin-bottom: 14px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

/* Paragraphs */
.legal-container p {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 18px;
}

/* Lists */
.legal-container ul {
    margin: 14px 0 24px 22px;
}

.legal-container li {
    margin-bottom: 10px;
    color: #1e293b;
}

/* Tables (Subscription Policy) */
.legal-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0 36px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.legal-container th,
.legal-container td {
    padding: 14px 16px;
    text-align: left;
}

.legal-container th {
    font-weight: 700;
    font-size: 0.95rem;
    background: #f1f5f9;
    color: #0f172a;
}

.legal-container td {
    font-size: 0.95rem;
    color: #1e293b;
    border-top: 1px solid #e5e7eb;
}

/* Links */
.legal-container a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-container a:hover {
    color: #1d4ed8;
}

/* Callout / emphasis box */
.legal-callout {
    margin: 32px 0;
    padding: 18px 22px;
    border-radius: 14px;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e293b;
    font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
    .legal-container {
        margin: 60px 16px 100px;
        padding: 36px 26px;
    }

    .legal-container h1 {
        font-size: 2.1rem;
    }
}

/* ===============================
   Subscribe Page Styles
================================ */

.subscribe-card {
    max-width: 520px;
    margin: 80px auto;
    padding: 45px 35px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.6);
    backdrop-filter: blur(14px);
}

.subscribe-card h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 35px;
    background: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Plan buttons */
.plan-btn {
    width: 100%;
    padding: 22px 20px;
    margin-bottom: 20px;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.plan-btn small {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* Hover / active */
.plan-btn:hover:not(:disabled) {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(
        135deg,
        rgba(127,90,240,0.25),
        rgba(20,184,166,0.25),
        rgba(59,130,246,0.25)
    );
    border-color: rgba(127,90,240,0.6);
    box-shadow: 0 14px 40px rgba(127,90,240,0.55);
}

/* Recommended plan highlight */
.plan-btn .badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: linear-gradient(135deg, #14b8a6, #7f5af0);
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(127,90,240,0.6);
}

/* Disabled / coming soon */
.plan-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(40%);
}

.badge-unavailable {
    background: rgba(255,255,255,0.2);
    color: #e0e7ff;
    box-shadow: none;
}

/* Mobile */
@media (max-width: 480px) {
    .subscribe-card {
        margin: 50px 20px;
        padding: 35px 25px;
    }

    .subscribe-card h1 {
        font-size: 2rem;
    }
}



/* Pills */
.language-card {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.language-card:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #14b8a6, #7f5af0, #3b82f6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(127,90,240,0.35);
}

/* Hide scrollbar */
.languages-grid::-webkit-scrollbar {
    display: none;
}
.languages-grid {
    scrollbar-width: none;
}


@media (max-width: 480px) {
      /* Cards take full width */
      .industry-card {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        text-align: center;
        font-size: 14px;
    }
}