
:root{
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-light: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
}

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

body{
    font-family: 'Inter', system-ui, sans-serif;
    background: #fafafa;
    color: var(--text);
    line-height: 1.7;
}

.container { width: min(1150px, 90%); margin: auto; }

/*=======================================
              HEADER STYLE
=======================================
*/


.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* hover */
.nav-item:hover {
    background: #f3f4f6;
    color: #111827;
}

/* active page (stays highlighted) */
.nav-item.active {
    background: #e0f2fe;
    color: #2563eb;
    font-weight: 600;
}

/* logo */
.logo-link img {
    height: 80px;
    width: auto;
    display: block;
}

/* desktop nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb; /* Clearly divides header from page content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}



.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.btn-cta {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* hover glow */
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

/* click feel */
.btn-cta:active {
    transform: translateY(0px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.btn-cta {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 8px 20px rgba(37,99,235,0.25); }
    50% { box-shadow: 0 8px 28px rgba(37,99,235,0.45); }
    100% { box-shadow: 0 8px 20px rgba(37,99,235,0.25); }
}

/* hamburger hidden on desktop */
/* hamburger hidden on desktop */
.hamburger {
    display: none;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 9999px; /* Pill badge shape */
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger:hover {
    background: #e5e7eb;
}

.hamburger-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hamburger-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

/* 3-line animated icon container */
.hamburger-icon {
    width: 20px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.hamburger-icon span {
    position: absolute;
    height: 2px;
    width: 100%;
    background: #111;
    border-radius: 2px;
    transition: 0.3s ease;
    left: 0;
}

/* 3 lines positioning */
.hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 7px;
}

.hamburger-icon span:nth-child(3) {
    top: 14px;
}

/* ACTIVE = X transformation */
.hamburger.active .hamburger-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.hamburger.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

/* mobile layout */
@media (max-width: 768px) {

    .hamburger {
        display: inline-flex;
        align-items: center;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        background: white;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid #e5e7eb;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}


/*=======================================
              FOOTER STYLE
=======================================
*/


.site-footer { 
    border-top: 1px solid #e5e7eb; 
    padding: 40px 20px; 
    margin-top: 80px; 
    text-align: center;
    background-color: #ffffff;
}

.footer-links {
    display: flex; 
    flex-wrap: wrap;
    gap: 12px 20px; /* 12px vertical spacing, 20px horizontal */
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.footer-links a {
    color: #4b5563; /* Subtle dark gray instead of harsh default blue */
    text-decoration: none; /* Remove underlines for a cleaner look */
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap; /* Prevents words in "Terms of Service" from breaking individually */
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2563eb; /* Highlight blue on hover */
}

/* Social Icons Container */
.lx-social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.lx-social-icons a {
    color: #6b7280;
    transition: color 0.2s ease;
}

.lx-social-icons a:hover {
    color: #2563eb;
}

/* Copyright text */
.copyright {
    color: #9ca3af;
    font-size: 0.85rem;
    margin: 0;
}



/* HERO */
.hero {
    min-height: 90vh;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    text-align: center;
    padding: 100px 0;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -2px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
}

.cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--muted); }

.small-text {
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

/* MOCKUP */
.mockup {
    margin-top: 80px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mockup img {
    width: 100%;
    border-radius: 12px;
    display: block;
    height: auto;
}

/* DIVIDER BADGE */
.mockup-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 8px 0;
}

.mockup-divider span {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Tame the height of mobile screenshots so they don't overpower the container */
.mockup img[src*="mobile"] {
    max-height: 520px;
    width: auto;
    object-fit: contain;
}

/* Desktop Fix: Keep vertical stack flow with balanced max-width */
@media (min-width: 768px) {
    .mockup {
        flex-direction: column;
        align-items: center;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mockup img:first-child {
        width: 100%;
        max-width: 900px;
    }
    
    .mockup img[src*="mobile"] {
        max-height: 600px;
    }
}




/* FEATURES */
.features {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.card h3 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--muted);
}

/* FOOTER */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

/* MOBILE */
@media(max-width: 768px){
  
    .nav-links { gap: 1rem; font-size: 14px; }
    .hero { padding: 60px 0; min-height: auto; }
    .hero h1 { letter-spacing: -1px; }
    .cta-group { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .mockup { padding: 12px; }
}

/*=======================================
              FEATURES STYLE
=======================================
*/

/* ==========================================================================
   Features Page Styles
   ========================================================================== */

/* Hero Section */
.features-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.features-hero .badge {
    background: #dbeafe;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.features-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0 12px;
}

.features-hero p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Grid & Table */
.features-grid {
    padding: 40px 20px 80px;
}

.feature-group {
    margin-bottom: 60px;
}

.feature-group h2 {
    font-size: 28px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.feature-check {
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-name {
    color: #1f2937;
    font-weight: 500;
}

.feature-name {
    font-weight: 500;
    color: #1f2937;
}

/* Limits Table */
.limits-table {
    margin-top: 80px;
}

.limits-table h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.limits-table table {
    width: 100%;
    border-collapse: collapse;
}

.limits-table th, 
.limits-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.limits-table th:first-child, 
.limits-table td:first-child {
    text-align: left;
    font-weight: 600;
}

/* Call to Action */
.cta-box {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: #f9fafb;
    border-radius: 16px;
}

.cta-box h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-box p {
    color: #6b7280;
    margin-bottom: 24px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 32px;
    }

    .feature-row {
    gap: 8px;
    font-size: 14px;
}

    .plan-cell {
        font-size: 16px;
    }

    .feature-group h2 {
        font-size: 22px;
    }
}




/*=======================================
              PRICING STYLE
=======================================
*/

.pricing-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.pricing-hero .badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.switch {
    position: relative;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background: #ccc;
    border-radius: 24px;
    inset: 0;
    transition: .3s;
}

.slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

input:checked + .slider {
    background: #2563eb;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-cards {
    padding: 40px 20px 100px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.price-card.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 10px 30px rgba(37,99,235,0.15);
}

.popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.price .amount {
    font-size: 48px;
    font-weight: 700;
}

.price .period {
    color: #6b7280;
}

.features {
    list-style: none;
    padding: 24px 0;
    margin: 0;
}

.features li {
    padding: 8px 0;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-outline {
    border: 1px solid #d1d5db;
    color: #1f2937;
}

.note {
    text-align: center;
    color: #6b7280;
    margin-top: 40px;
    font-size: 14px;
}

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


/*
----------------------------------------
              SWITCH
-----------------------------------------
*/

.switch {
  position: relative;
  display: inline-block;
  width: 180px; 
  height: 38px; 
  margin-top: 10px;
  vertical-align: middle;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0; 
  transition: .4s;
  border-radius: 40px;
  border: none;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px; 
  width: 30px;
  left: 4px;
  bottom: 4px;
  background-color: white; 
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Background color when ON */
input:checked + .slider {
  background-color: #25D366; 
}

input:checked + .slider:before {
  transform: translateX(142px); 
}

/* Optional: Add "ON" and "OFF" text inside the bar */
.slider:after {
  content: 'OFF';
  color: #888;
  display: block;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 15px;
  font-size: 12px;
  font-family: sans-serif;
  font-weight: bold;
}

input:checked + .slider:after {
  content: 'ON';
  color: white;
  left: 15px;
  right: auto;
}


/* ======================================
   3. Dashboard & App Styles
  ===================================== */
.dashboard {
    padding: 40px 20px;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

/* Popup Overlays (As previously discussed) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}


/*======================================
              CONTACT STYLE
=======================================
*/
.contact-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.contact-hero .badge {
    background: #dbeafe;
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.contact-hero p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.contact-section {
    padding: 40px 20px 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card wrappers */
.contact-form-card,
.contact-info-card {
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-form-card h2,
.contact-info-card h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* Info Side Blocks */
.info-block {
    margin-bottom: 24px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.info-block p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form Layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    color: var(--text);
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .btn-cta {
    cursor: pointer;
    border: none;
    font-size: 1rem;
    margin-top: 8px;
    width: 100%;
}

/* Form Feedback Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Side-by-side Layout on Desktop */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }
}


/* ==========================================================================
   SOCIAL ICONS - COMBINED
   ========================================================================== */

.lx-social-icons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 20px 0 !important;
}

.lx-social-icons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.social-icon {
    width: 24px !important;
    height: 24px !important;
    color: var(--lx-text-muted);
    transition: var(--lx-transition);
}

.lx-social-icons a:hover .social-icon {
    color: var(--lx-gold);
}
