/* ==========================================================================
   ASCEND BANK STYLE SHEET - DESIGN SYSTEM & COMPONENTS
   ========================================================================== */

/* Define CSS Variables for Theming */
:root {
    --color-primary: #181818;
    --color-primary-light: #2c2c2c;
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-accent-green: #06DF82;
    --color-accent-green-hover: #05be6e;
    --color-accent-purple: #8D00C4;
    --color-accent-purple-hover: #7500a3;
    --color-text-dark: #1A1A1A;
    --color-text-light: #FFFFFF;
    --color-text-muted: #666666;
    --color-text-muted-dark: #A0A0A0;
    --color-border-light: #E0E0E0;
    --color-border-dark: #2A2A2A;
    --color-card-bg-dark: #1E1E1E;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 0 20px rgba(6, 223, 130, 0.2);
    --shadow-purple: 0 0 20px rgba(141, 0, 196, 0.2);
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ==========================================================================
   UTILITY & LAYOUT CLASSES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.align-center {
    align-items: center;
}

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

.green-text {
    color: var(--color-accent-green) !important;
}

.purple-text {
    color: var(--color-accent-purple) !important;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent-purple), #C000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-white {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-purple {
    background-color: var(--color-accent-purple);
    color: var(--color-text-light);
}

.btn-purple:hover {
    background-color: var(--color-accent-purple-hover);
    box-shadow: var(--shadow-purple);
    transform: translateY(-2px);
}

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

.btn-green:hover {
    background-color: var(--color-accent-green-hover);
    box-shadow: var(--shadow-green);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.78rem;
    color: var(--color-text-muted);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fdic-badge {
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right a:hover {
    color: var(--color-accent-purple);
}

.highlight-link {
    font-weight: 600;
    color: var(--color-accent-purple) !important;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-pill);
    padding: 4px 12px 4px 28px;
    font-size: 0.75rem;
    width: 130px;
    transition: var(--transition-normal);
}

.search-box input:focus {
    width: 180px;
    border-color: var(--color-accent-purple);
}

.search-icon {
    position: absolute;
    left: 10px;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.main-header {
    background-color: var(--color-bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 38px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-accent-green);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.btn-login {
    padding: 8px 24px;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    height: 24px;
    justify-content: center;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 80px 0 100px 0;
    background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-accent {
    display: inline-block;
    align-self: flex-start;
    background-color: rgba(141, 0, 196, 0.08);
    color: var(--color-accent-purple);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
    max-width: 480px;
    height: auto;
    object-fit: cover;
    border: 8px solid var(--color-bg-white);
}

.blob-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 0;
}

.blob-purple {
    background-color: var(--color-accent-purple);
    top: -40px;
    right: -40px;
}

.blob-green {
    background-color: var(--color-accent-green);
    bottom: -40px;
    left: -40px;
}

/* ==========================================================================
   DARK SECTION STYLES (ACCOUNTS GRID)
   ========================================================================== */
.dark-section {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 100px 0;
}

.dark-section h2 {
    color: var(--color-text-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent-green);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--color-text-muted-dark);
}

/* Tab buttons style */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tabs-list {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--color-border-dark);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--color-text-muted-dark);
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    color: var(--color-text-light);
}

.tab-btn.active {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Tab panes style */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn var(--transition-slow);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Accounts Cards styling */
.account-card {
    background-color: var(--color-card-bg-dark);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--border-radius-md);
    padding: 32px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.account-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-green);
    box-shadow: var(--shadow-green);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-accent-green);
    margin-bottom: 24px;
}

.account-card h3 {
    color: var(--color-text-light);
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.account-card p {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent-green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link i {
    transition: transform var(--transition-fast);
}

.account-card:hover .card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.calc-text {
    padding-right: 24px;
}

.calc-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.calc-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.benefit-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.bullet i {
    color: var(--color-accent-purple);
    font-size: 1.15rem;
}

/* Calculator Widget */
.calculator-widget {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid var(--color-border-light);
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

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

.rate-badge {
    background-color: var(--color-accent-green);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
}

.input-group {
    margin-bottom: 28px;
}

.input-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-header label {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.value-display {
    color: var(--color-accent-purple);
}

/* Custom range input styling */
.input-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--border-radius-pill);
    background: var(--color-border-light);
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent-purple);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-top: 30px;
}

.result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.result-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.result-amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent-purple);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   FEATURES / BENEFITS GRID
   ========================================================================== */
.features-section {
    background-color: #0F0F0F;
}

.features-grid {
    margin-top: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 40px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: rgba(141, 0, 196, 0.3);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--color-accent-purple);
    margin-bottom: 24px;
}

.feature-card h4 {
    color: var(--color-text-light);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIALS SLIDER SECTION
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 220px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--transition-slow);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h5 {
    font-size: 1.05rem;
    color: var(--color-primary);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 24px;
}

.slider-control-btn {
    background: none;
    border: 1px solid var(--color-border-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.slider-control-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border-light);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background-color: var(--color-accent-purple);
    width: 24px;
    border-radius: var(--border-radius-pill);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #262626 100%);
    padding: 60px 0;
    color: var(--color-text-light);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    color: var(--color-text-light);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--color-text-muted-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0B0B0B;
    color: var(--color-text-muted-dark);
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--color-border-dark);
}

.footer-content {
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 32px;
    width: auto;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--color-accent-green);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links-col h5 {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--color-text-muted-dark);
}

.footer-links-col a:hover {
    color: var(--color-accent-green);
}

.footer-form {
    display: flex;
    margin-top: 16px;
    position: relative;
}

.footer-form input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border-dark);
    padding: 12px 16px;
    border-radius: var(--border-radius-pill);
    color: var(--color-text-light);
    width: 100%;
    padding-right: 56px;
    font-size: 0.88rem;
}

.footer-form input:focus {
    border-color: var(--color-accent-green);
}

.footer-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 16px;
    font-size: 0.88rem;
    border-radius: var(--border-radius-pill);
}

.footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding-top: 30px;
    font-size: 0.8rem;
    color: #555555;
}

.footer-bottom-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.disclaimer {
    font-size: 0.75rem;
}

/* ==========================================================================
   INTERACTIVE LOGIN MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.login-modal-box {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .login-modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-logo {
    height: 34px;
}

.login-modal-box h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.form-group input:focus {
    border-color: var(--color-accent-purple);
    box-shadow: var(--shadow-purple);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forgot-pass-link {
    color: var(--color-accent-purple);
    font-weight: 500;
}

.forgot-pass-link:hover {
    color: var(--color-accent-purple-hover);
}

.modal-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.modal-footer a {
    font-weight: 600;
}

/* ==========================================================================
   FLOATING LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

/* Chat Button style */
.live-chat-toggle {
    background-color: var(--color-accent-purple);
    color: var(--color-text-light);
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 12px 24px;
    cursor: pointer;
    box-shadow: var(--shadow-purple);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.live-chat-toggle:hover {
    background-color: var(--color-accent-purple-hover);
    transform: scale(1.05);
}

.chat-toggle-icon {
    display: flex;
    align-items: center;
}

/* Chat Window Box */
.chat-bubble-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 360px;
    height: 500px;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.chat-bubble-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Chat Header */
.chat-window-header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 16px;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-agent-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-status {
    position: relative;
}

.agent-avatar {
    width: 32px;
    height: 32px;
}

.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent-green);
    border: 2px solid var(--color-primary);
}

.agent-details h4 {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.agent-details p {
    font-size: 0.72rem;
    color: var(--color-text-muted-dark);
}

.chat-close {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Chat messages feed */
.chat-message-feed {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--color-bg-light);
}

.chat-message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: var(--border-radius-md);
    font-size: 0.88rem;
    line-height: 1.4;
}

.bot-msg {
    align-self: flex-start;
}

.bot-msg .msg-bubble {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-msg {
    align-self: flex-end;
}

.user-msg .msg-bubble {
    background-color: var(--color-accent-purple);
    color: var(--color-text-light);
    border-bottom-right-radius: 2px;
}

.msg-time {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    margin-left: 4px;
}

.user-msg .msg-time {
    align-self: flex-end;
    margin-right: 4px;
}

/* Quick option replies */
.chat-quick-options {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--color-border-light);
    background-color: var(--color-bg-white);
}

.quick-opt-btn {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-pill);
    padding: 6px 12px;
    font-size: 0.78rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-opt-btn:hover {
    background-color: rgba(6, 223, 130, 0.15);
    border-color: var(--color-accent-green);
}

/* Chat Footer input */
.chat-footer {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--color-border-light);
    background-color: var(--color-bg-white);
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    padding: 8px;
    font-size: 0.88rem;
}

.chat-footer button {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
}

/* typing bubble effect */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    align-self: flex-start;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    animation: typingBounce 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-media {
        order: -1;
    }
    
    .hero-img {
        max-width: 100%;
    }
    
    .top-bar-note, .top-bar-divider {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg-white);
        z-index: 99;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--color-border-light);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 28px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Toggle active animation */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

@media (max-width: 580px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .top-bar-right {
        gap: 12px;
    }
    
    .top-bar-right a span {
        display: none;
    }
    
    .live-chat-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-bubble-window {
        width: 320px;
        right: 0;
    }
}
