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

/* Define CSS Variables for Theming */
:root {
    --color-primary: #0D0D12;
    --color-primary-light: #1A1A24;
    --color-bg-light: #F4F5F7;
    --color-bg-white: #FFFFFF;
    --color-accent-green: #06DF82;
    --color-accent-green-hover: #05be6e;
    --color-accent-teal: #00B4D8;
    --color-accent-purple: #8D00C4;
    --color-accent-purple-hover: #7500a3;
    --color-accent-purple-soft: #C77DFF;
    --color-text-dark: #1A1A24;
    --color-text-light: #FFFFFF;
    --color-text-muted: #6B7280;
    --color-text-muted-dark: #9CA3AF;
    --color-border-light: #E5E7EB;
    --color-border-dark: #1F2937;
    --color-card-bg-dark: #111827;
    --color-surface-glass: rgba(255, 255, 255, 0.06);
    
    --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);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-green: 0 0 30px rgba(6, 223, 130, 0.25);
    --shadow-purple: 0 0 30px rgba(141, 0, 196, 0.25);
    --shadow-glow-green: 0 0 60px rgba(6, 223, 130, 0.15), 0 0 120px rgba(6, 223, 130, 0.05);
    --shadow-glow-purple: 0 0 60px rgba(141, 0, 196, 0.15), 0 0 120px rgba(141, 0, 196, 0.05);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --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.7;
    overflow-x: hidden;
}

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

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: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

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

.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-green) 0%, var(--color-accent-teal) 50%, var(--color-accent-purple-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Smooth reveal animation */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   BUTTONS — V2 REDESIGN
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    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;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn:hover::before {
    opacity: 1;
}

.btn-purple {
    background: linear-gradient(135deg, var(--color-accent-purple) 0%, #A855F7 100%);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(141, 0, 196, 0.3);
}

.btn-purple:hover {
    box-shadow: var(--shadow-purple), 0 8px 25px rgba(141, 0, 196, 0.4);
    transform: translateY(-3px);
}

.btn-green {
    background: linear-gradient(135deg, var(--color-accent-green) 0%, #34D399 100%);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(6, 223, 130, 0.3);
}

.btn-green:hover {
    box-shadow: var(--shadow-green), 0 8px 25px rgba(6, 223, 130, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border-light);
    color: var(--color-primary);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: var(--color-text-muted-dark);
    padding: 10px 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-accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.fdic-badge i {
    font-size: 0.85rem;
}

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

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted-dark);
}

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

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

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

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

.search-box input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-pill);
    padding: 5px 12px 5px 28px;
    font-size: 0.75rem;
    width: 130px;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-light);
}

.search-box input::placeholder {
    color: var(--color-text-muted-dark);
}

.search-box input:focus {
    width: 180px;
    border-color: var(--color-accent-green);
    background: rgba(255, 255, 255, 0.08);
}

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

/* ==========================================================================
   NAVIGATION HEADER — V2 GLASSMORPHISM
   ========================================================================== */
.main-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-normal);
}

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

.main-logo {
    height: 42px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo-container:hover .main-logo {
    transform: scale(1.03);
}

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

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-teal));
    border-radius: var(--border-radius-pill);
    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: 10px 28px;
    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);
    border-radius: 2px;
}

/* ==========================================================================
   HERO SECTION — V2 DRAMATIC REDESIGN
   ========================================================================== */
.hero-section {
    padding: 100px 0 120px 0;
    background: linear-gradient(170deg, #FFFFFF 0%, #F0F4FF 40%, #EDF9F3 70%, #F4F5F7 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative mesh gradient orbs */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 223, 130, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 0, 196, 0.06) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideUp 0.8s ease-out;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(6, 223, 130, 0.1) 0%, rgba(0, 180, 216, 0.08) 100%);
    color: var(--color-accent-green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 24px;
    border: 1px solid rgba(6, 223, 130, 0.15);
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

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

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

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

.stat-item::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--color-border-light);
}

.stat-item:last-child::after {
    display: none;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideUp 1s ease-out 0.2s both;
}

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

.hero-img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    position: relative;
    max-width: 480px;
    height: auto;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-slow);
}

.hero-img:hover {
    transform: scale(1.02);
}

.blob-bg {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.blob-purple {
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-purple-soft));
    top: -60px;
    right: -60px;
}

.blob-green {
    background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-teal));
    bottom: -60px;
    left: -60px;
    animation-delay: 3s;
}

/* ==========================================================================
   DARK SECTION STYLES (ACCOUNTS GRID) — V2
   ========================================================================== */
.dark-section {
    background: linear-gradient(180deg, var(--color-primary) 0%, #0B0F1A 100%);
    color: var(--color-text-light);
    padding: 120px 0;
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 223, 130, 0.3), transparent);
}

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

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

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-accent-green);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-teal));
    border-radius: var(--border-radius-pill);
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.tabs-list {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px;
    border-radius: var(--border-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--color-text-muted-dark);
    padding: 12px 32px;
    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: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-teal) 100%);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(6, 223, 130, 0.3);
}

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

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

/* Grid Accounts Cards styling — V2 glass cards */
.account-card {
    background: var(--color-surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-teal));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.account-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 223, 130, 0.2);
    box-shadow: var(--shadow-green), 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.account-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(6, 223, 130, 0.12) 0%, rgba(0, 180, 216, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent-green);
    margin-bottom: 24px;
}

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

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

.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(6px);
}

/* ==========================================================================
   CALCULATOR SECTION — V2
   ========================================================================== */
.calculator-section {
    padding: 120px 0;
    background: linear-gradient(170deg, #FFFFFF 0%, var(--color-bg-light) 100%);
    position: relative;
}

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

.calc-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

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

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

.bullet {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.bullet i {
    color: var(--color-accent-green);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Calculator Widget — V2 elevated card */
.calculator-widget {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 44px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.calculator-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-teal), var(--color-accent-purple-soft));
}

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

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

.rate-badge {
    background: linear-gradient(135deg, var(--color-accent-green) 0%, #34D399 100%);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 2px 10px rgba(6, 223, 130, 0.2);
}

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

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

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

.value-display {
    color: var(--color-accent-purple);
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Custom range input styling — V2 */
.input-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--border-radius-pill);
    background: linear-gradient(90deg, rgba(6, 223, 130, 0.15), rgba(141, 0, 196, 0.1));
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-purple) 0%, var(--color-accent-purple-soft) 100%);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(141, 0, 196, 0.3);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 4px 16px rgba(141, 0, 196, 0.4);
}

.calc-results {
    background: linear-gradient(135deg, rgba(6, 223, 130, 0.04) 0%, rgba(141, 0, 196, 0.04) 100%);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    margin-top: 32px;
    border: 1px solid rgba(6, 223, 130, 0.08);
}

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

.result-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.result-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent-purple) 0%, var(--color-accent-purple-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

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

.detail-row strong {
    color: var(--color-text-dark);
}

/* ==========================================================================
   FEATURES / BENEFITS GRID — V2
   ========================================================================== */
.features-section {
    background: linear-gradient(180deg, #0B0F1A 0%, var(--color-primary) 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(141, 0, 196, 0.3), transparent);
}

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

.feature-card {
    background: var(--color-surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-lg);
    padding: 44px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-purple), var(--color-accent-purple-soft));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-6px);
    border-color: rgba(141, 0, 196, 0.2);
    box-shadow: var(--shadow-glow-purple);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(141, 0, 196, 0.12) 0%, rgba(199, 125, 255, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--color-accent-purple-soft);
    margin-bottom: 28px;
}

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

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

/* ==========================================================================
   TESTIMONIALS SLIDER SECTION — V2
   ========================================================================== */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
    position: relative;
}

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

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

.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.45rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
    padding-left: 32px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 4rem;
    color: var(--color-accent-green);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.4;
}

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

.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: 56px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 28px;
}

.slider-control-btn {
    background: none;
    border: 1px solid var(--color-border-light);
    width: 48px;
    height: 48px;
    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: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-teal) 100%);
    color: var(--color-primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(6, 223, 130, 0.3);
    transform: scale(1.1);
}

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

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

.dot.active {
    background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-teal));
    width: 28px;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 0 10px rgba(6, 223, 130, 0.3);
}

/* ==========================================================================
   CALL TO ACTION BANNER — V2 GRADIENT
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #0D0D12 0%, #1A1A2E 50%, #16213E 100%);
    padding: 80px 0;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 223, 130, 0.08) 0%, transparent 70%);
    top: -200px;
    right: 10%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 0, 196, 0.06) 0%, transparent 70%);
    bottom: -150px;
    left: 10%;
    pointer-events: none;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--color-text-light);
    font-size: 2.4rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

/* ==========================================================================
   FOOTER — V2
   ========================================================================== */
.main-footer {
    background-color: #060609;
    color: var(--color-text-muted-dark);
    padding: 100px 0 40px 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 223, 130, 0.2), rgba(141, 0, 196, 0.2), transparent);
}

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

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

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

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

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-teal));
    color: var(--color-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(6, 223, 130, 0.3);
}

.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: 14px;
}

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

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

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

.footer-form input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: var(--border-radius-pill);
    color: var(--color-text-light);
    width: 100%;
    padding-right: 60px;
    font-size: 0.88rem;
    transition: all var(--transition-normal);
}

.footer-form input::placeholder {
    color: var(--color-text-muted-dark);
}

.footer-form input:focus {
    border-color: var(--color-accent-green);
    background: rgba(255, 255, 255, 0.06);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    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 — V2 GLASS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    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-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 440px;
    padding: 44px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all var(--transition-spring);
    overflow: hidden;
}

.login-modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-teal), var(--color-accent-purple-soft));
}

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

.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;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

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

.modal-logo {
    height: 38px;
}

.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: 14px 18px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
    background: var(--color-bg-light);
}

.form-group input:focus {
    border-color: var(--color-accent-purple);
    box-shadow: 0 0 0 4px rgba(141, 0, 196, 0.08);
    background: var(--color-bg-white);
}

.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 — V2
   ========================================================================== */
.live-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

/* Chat Button style — V2 with pulse animation */
.live-chat-toggle {
    background: linear-gradient(135deg, var(--color-accent-purple) 0%, #A855F7 100%);
    color: var(--color-text-light);
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 14px 28px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(141, 0, 196, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    position: relative;
}

.live-chat-toggle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--border-radius-pill);
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-purple-soft));
    opacity: 0;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.live-chat-toggle:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 40px rgba(141, 0, 196, 0.45);
}

.live-chat-toggle:hover::before {
    opacity: 0.4;
}

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

/* Chat Window Box — V2 elevated */
.chat-bubble-window {
    position: absolute;
    bottom: 66px;
    right: 0;
    width: 380px;
    height: 520px;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-spring);
}

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

/* Chat Header */
.chat-window-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1A1A2E 100%);
    color: var(--color-text-light);
    padding: 18px 20px;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    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: 36px;
    height: 36px;
}

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

.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: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-text-light);
    font-size: 1.3rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

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

.msg-bubble {
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    font-size: 0.88rem;
    line-height: 1.5;
}

.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: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.user-msg .msg-bubble {
    background: linear-gradient(135deg, var(--color-accent-purple) 0%, #A855F7 100%);
    color: var(--color-text-light);
    border-bottom-right-radius: 4px;
}

.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: 14px 18px;
    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: 7px 14px;
    font-size: 0.78rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.quick-opt-btn:hover {
    background: linear-gradient(135deg, rgba(6, 223, 130, 0.1), rgba(0, 180, 216, 0.08));
    border-color: var(--color-accent-green);
    color: var(--color-accent-green);
}

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

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

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

/* typing bubble effect */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    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(-5px); }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   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);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .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: 32px;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .calc-text {
        padding-right: 0;
    }
    
    .calculator-widget {
        padding: 32px;
    }
}

@media (max-width: 580px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .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;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 20px;
    }
}
