:root {
    --primary: #036694;
    --secondary: #109A60;
    --dark: #1f2937;
    --light: #f3f4f6;
    --white: #ffffff;
    --danger: #ef4444;
    --success: #10B981;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

html, body {
    width: 100%;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary);
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.signin-link {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.signin-link:hover {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 7px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 102, 148, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 154, 96, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 1rem;
}

/* Landing Hero Section */
.landing-hero {
    background: linear-gradient(135deg, #0A2540, #1E4ED8);
    /* Match the royal blue gradient */
    color: var(--white);
    padding: 5rem 1rem 10rem 1rem;
    text-align: center;
    position: relative;
}

.landing-hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.landing-hero .hero-subtext {
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-demo {
    background-color: #10B981;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 7px;
    font-weight: 500;
}

.btn-demo:hover {
    background-color: #059669;
    color: white;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 7px;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-accent {
    background-color: #F59E0B;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 7px;
    font-weight: 600;
    border: none;
}

.btn-accent:hover {
    background-color: #D97706;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-white {
    background-color: #ffffff;
    color: #1E4ED8;
    padding: 0.8rem 1.5rem;
    border-radius: 7px;
    font-weight: 600;
    border: none;
}

.btn-white:hover {
    background-color: #f8fafc;
    color: #0A2540;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.powering-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1rem;
    font-weight: 600;
}

.brand-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.7;
}

.hero-mockup-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto -12rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-mockup {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: block;
    border: 8px solid white;
}

.stats-wrapper {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.stats-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 16rem 1rem 4rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
}

/* Features Grid */
.features-section,
.steps-section,
.pricing-section,
.testimonials-section,
.faq-section {
    padding: 4rem 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #f3f4f6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon.icon-green {
    background: #d1fae5;
    color: #059669;
}

.feature-icon.icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

/* Steps Grid */
.steps-wrapper {
    background-color: #fff;
    width: 100%;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #059669;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Pricing Grid */
.pricing-wrapper {
    background-color: #fff;
    width: 100%;
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-subtext {
    text-align: center;
    color: #6B7280;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.toggle-switch {
    width: 50px;
    height: 26px;
    background: #1e3a8a;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch.active {
    background: #10B981;
    /* Secondary green color for annual */
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: var(--transition);
}

.toggle-switch.active::after {
    left: 27px;
}

.save-badge {
    background: #d1fae5;
    color: #059669;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.pricing-card {
    background: white;
    padding: 2.25rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid #1E3A8A;
    transform: scale(1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E3A8A;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6B7280;
}

.member-pricing-tool {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.member-pricing-tool label,
.pricing-total span {
    display: block;
    color: #6B7280;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.member-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.member-input-row input {
    width: 100%;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.7rem 0.8rem;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
}

.member-input-row span {
    color: #1E3A8A;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.pricing-total span {
    margin-bottom: 0;
}

.pricing-total strong {
    color: var(--dark);
    font-size: 1.15rem;
    white-space: nowrap;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4B5563;
}

.text-success {
    color: #10B981;
    margin-right: 0.5rem;
}

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

/* Testimonial Carousel */
.carousel-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.testimonial-card {
    flex: 0 0 100%;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        /* 2 items per view on desktop */
    }
}

.quote {
    font-size: 1.1rem;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    color: var(--dark);
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.avatar-green {
    background: var(--secondary);
    color: var(--white);
}

.avatar-blue {
    background: #dbeafe;
    color: #2563eb;
}

.avatar-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.avatar-orange {
    background: #fef3c7;
    color: #d97706;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* FAQ Section */
.faq-wrapper {
    background-color: #fff;
    width: 100%;
}

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

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark);
    font-size: 1.1rem;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #4b5563;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* WhatsApp Chat Widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wa-float-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wa-tooltip {
    background: #1f2937;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: bounce 2s infinite;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1f2937;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.wa-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wa-float-btn:hover {
    transform: scale(1.05);
    background: #20b858;
}

.wa-chat-window {
    width: 350px;
    background: #f0f2f5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    transform-origin: bottom right;
    animation: scaleIn 0.3s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wa-chat-header {
    background: #109A60;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.wa-header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
}

.wa-status-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border: 2px solid #109A60;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.wa-header-info h4 {
    margin: 0 0 2px;
    color: white;
    font-size: 1rem;
}

.wa-header-info p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.wa-close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    opacity: 0.8;
}

.wa-close-btn:hover {
    opacity: 1;
}

.wa-chat-body {
    padding: 20px;
    min-height: 200px;
    background: #efeae2;
}

.wa-message-bubble {
    background: white;
    padding: 12px 15px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    position: relative;
}

.wa-message-text {
    font-size: 0.9rem;
    color: #111b21;
    line-height: 1.4;
    margin-bottom: 5px;
}

.wa-message-time {
    font-size: 0.65rem;
    color: #667781;
    text-align: right;
}

.wa-chat-footer {
    padding: 15px;
    background: #f0f2f5;
}

#wa-chat-form {
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    padding: 5px 15px;
    border-radius: 24px;
}

#wa-message-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 0.95rem;
}

.wa-send-btn {
    background: transparent;
    border: none;
    color: #109A60;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.grid.pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .grid.pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(3, 102, 148, 0.1);
}

.auth-container {
    max-width: 450px;
    margin: 4rem auto;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: var(--primary);
    color: var(--white);
    font-weight: 500;
}

tr:hover {
    background: rgba(3, 102, 148, 0.02);
}

/* Badges */
.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-pending {
    background: #fef3c7;
    color: #d97706;
}

.badge-approved {
    background: #d1fae5;
    color: #059669;
}

.badge-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.badge-active {
    background: #e0e7ff;
    color: #4f46e5;
}

.badge-completed {
    background: #d1fae5;
    color: #059669;
}

/* Dashboard Specific */
.stat-card {
    background: linear-gradient(135deg, var(--primary), #024a6b);
    color: var(--white);
}

.stat-card.secondary {
    background: linear-gradient(135deg, var(--secondary), #0b7548);
}

.stat-card h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.stat-card .amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    /* margin-top: 4rem; */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

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

/* Testimonials */
.testimonials-section {
    padding: 4rem 1rem;
    /* background: #f9fafb; */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.quote {
    font-style: italic;
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avatar-green {
    background: #059669;
}

.avatar-blue {
    background: #2563EB;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--dark);
}

.author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #6B7280;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 1rem;
}

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

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

/* Dark Bottom Sections */
.dark-bottom-wrapper {
    background-color: #0B1C38;
    color: white;
    padding: 4rem 0;
}

/* Support Section */
.support-section-wrapper {
    background-color: var(--white);
    padding: 4rem 0;
}

/* Final CTA Wrapper */
.final-cta-wrapper {
    background-color: #0B1C38;
    padding: 0;
    overflow: hidden;
}

/* Newsletter */
.newsletter-section {
    padding-bottom: 4rem;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--white);
}

.newsletter-content p {
    color: #9CA3AF;
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #1F2937;
    color: white;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.trust-badge i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.trust-badge h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: white;
}

.trust-badge p {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin: 0;
}

/* Support Card */
.support-card-wrapper {
    padding-bottom: 4rem;
}

.support-card {
    background: var(--light);
    color: var(--dark);
    padding: 2.5rem;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.support-badge {
    display: inline-block;
    background: #d1fae5;
    color: #059669;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.support-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.support-content p {
    color: #6B7280;
}

.support-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-actions .btn {
    width: 70%;
    align-self: center;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.response-time {
    font-size: 0.85rem;
    color: #6B7280;
    text-align: center;
    margin-top: 1rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    margin-right: 5px;
}

/* Final CTA Enhancements */
.final-cta {
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    padding: 3rem 2rem 2rem;
    margin-bottom: 0;
}

.final-cta h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);

}

.final-cta .cta-subtext {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #c0cbe0;
    opacity: 0.9;
}

.final-cta .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.final-cta .hero-actions .btn {
    min-width: 200px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

/* White button for primary CTA */
.btn-cta-white {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-cta-white:hover {
    background: var(--primary);
    color: var(--white);
}




.cta-subtext {
    color: #9CA3AF;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-bottom-text {
    color: #c0cbe0;
    font-size: 0.7rem;
    margin-top: 0;
    padding-bottom: 2rem;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

/* ========================
   Auth / Login Page Styles
   ======================== */
.auth-container {
    max-width: 480px;
    margin: 4rem auto;
    /* padding: 2.5rem; */
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.auth-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--dark);
    background: #f9fafb;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(16, 154, 96, 0.1);
}

/* Password label row (label + forgot link on same line) */
.password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.forgot-password-link {
    font-size: 0.82rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Password input with toggle button */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 1rem;
    padding: 0;
    transition: var(--transition);
}

.password-toggle-btn:hover {
    color: var(--secondary);
}

/* Remember me */
.remember-me-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    font-weight: 400;
}

.remember-me-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--secondary);
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    flex-shrink: 0;
}


/* Schedule demo link */
.schedule-demo-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.schedule-demo-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Footer */

.main-footer {
    background: #0B1C38;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 1rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: #2563EB;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    color: #6B7280;
    font-size: 0.85rem;
}

/* Media Queries (Desktop) */
@media (min-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .nav-links {
        width: auto;
        justify-content: flex-end;
        gap: 1.5rem;
    }

    .nav-links a:not(.btn) {
        font-size: 1rem;
    }

    .container {
        padding: 0rem;
    }

    .landing-hero {
        padding: 7rem 2rem 2rem 2rem;
    }

    .landing-hero h1 {
        font-size: 3.2rem;
    }

    .landing-hero .hero-subtext {
        font-size: 1.2rem;
    }

    .hero-mockup-wrapper {
        margin-bottom: -18rem;
    }

    .stats-section {
        grid-template-columns: repeat(4, 1fr);
        padding: 22rem 2rem 6rem;
    }

    .features-section,
    .steps-section,
    .pricing-section,
    .testimonials-section,
    .faq-section {
        padding: 3rem 1rem;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-card.popular {
        transform: scale(1.03);
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

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

    .newsletter-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .support-card {
        grid-template-columns: 3fr 2fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .final-cta h1 {
        font-size: 3.4rem;
        padding-top: 4rem;
    }
}

/* =============================================
   MOBILE RESPONSIVE FIXES (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Hero Section */
    .landing-hero {
        padding: 3rem 1rem 6rem;
    }

    .landing-hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .landing-hero h1 br {
        display: none;
    }

    .landing-hero .hero-subtext {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 80%;
        text-align: center;
    }

    .powering-text {
        font-size: 0.65rem;
    }

    .brand-icons {
        font-size: 1.2rem;
        gap: 1rem;
    }

    .hero-mockup-wrapper {
        margin: 2rem auto -6rem;
        padding: 0 0.5rem;
    }

    .hero-mockup {
        border-width: 4px;
    }

    /* Stats */
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 8rem 1rem 3rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    /* Features Grid */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .features-section,
    .steps-section,
    .pricing-section,
    .testimonials-section,
    .faq-section {
        padding: 2.5rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        width: 100%;
        max-width: min(450px, 100%) !important;
        margin: 0 auto;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        width: 100%;
        max-width: min(450px, 100%) !important;
        margin: 0 auto;
    }

    /* Pricing */
    .pricing-card {
        padding: 1.75rem 1.25rem;
        width: 100%;
        max-width: min(450px, 100%) !important;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    .price {
        font-size: 1.6rem;
    }

    /* Calculator */
    .calc-container {
        padding: 0 0.25rem;
        width: 100%;
        max-width: 100%;
    }

    .calc-card,
    .results-card {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: min(550px, 100%) !important;
        margin: 0 auto;
    }

    .calc-header h1 {
        font-size: 1.5rem;
    }

    .calc-header p {
        font-size: 0.9rem;
    }

    .slider-label {
        font-size: 0.9rem;
    }

    .result-value {
        font-size: 2rem;
    }

    .secondary-result-value {
        font-size: 1.1rem;
    }

    .schedule-container {
        padding: 1rem;
    }

    .amortization-table, 
    .amortization-table tbody, 
    .amortization-table tr, 
    .amortization-table td {
        display: block;
        width: 100%;
    }
    
    .amortization-table thead {
        display: none; /* Hide header on mobile */
    }
    
    .amortization-table tr {
        margin-bottom: 1.25rem;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 0.75rem 1rem;
        background: #f9fafb;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }
    
    .amortization-table td {
        text-align: right;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f3f4f6;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        color: #374151;
    }
    
    .amortization-table td:last-child {
        border-bottom: none;
    }
    
    .amortization-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b7280;
        text-align: left;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
        width: 100%;
        max-width: min(450px, 100%) !important;
        margin: 0 auto;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
    }

    /* Newsletter */
    .newsletter-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
    }

    /* Support Card */
    .support-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    /* Final CTA */
    .final-cta h1 {
        font-size: 1.5rem;
        padding-top: 2rem;
    }

    .final-cta p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    /* WhatsApp Mobile Styles */
    .whatsapp-widget-container {
        right: 15px;
        bottom: 15px;
    }

    .wa-float-wrapper {
        gap: 0;
    }

    .wa-tooltip {
        display: none !important; /* Hide tooltip on mobile to prevent overflow and clutter */
    }

    .wa-float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .wa-chat-window {
        width: calc(100vw - 30px);
        max-width: 330px;
        right: 0px;
        bottom: 65px;
    }

    /* Compact stats & secondary results for small screens */
    .secondary-results {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .landing-hero h1 {
        font-size: 1.4rem;
    }

    .stats-section {
        padding: 7rem 0.75rem 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .hero-actions .btn {
        width: 90%;
        font-size: 0.9rem;
    }

    .pricing-toggle {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .save-badge {
        font-size: 0.6rem;
    }
}

/* Auth pages styling to fit screen without scrolling */
body:has(.auth-main) {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body:has(.auth-main) header {
    flex-shrink: 0;
}

.auth-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--light);
}

.auth-main .auth-container {
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
}