/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #1e3a8a;          /* Deep Trust Royal Blue */
    --primary-light: #3b82f6;    /* Vibrant Blue */
    --primary-dark: #172554;     /* Dark Blue */
    --secondary: #0f172a;       /* Slate Dark (Primary text & background) */
    --accent: #d97706;          /* Gold / Champagne Accents */
    --accent-hover: #b45309;
    --accent-light: #f59e0b;
    --bg-light: #f8fafc;        /* Clean Off-White Background */
    --bg-card: #ffffff;
    --bg-dark-card: #1e293b;
    
    /* Text Colors */
    --text-main: #334155;       /* Charcoal Slate */
    --text-light: #ffffff;
    --text-muted: #64748b;
    
    /* UI Tokens */
    --border-color: #e2e8f0;
    --border-glow: rgba(217, 119, 6, 0.25);
    --border-blue-glow: rgba(30, 58, 138, 0.15);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
    --shadow-gold: 0 10px 20px -5px rgba(217, 119, 6, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Constants */
    --max-width: 1200px;
    --header-height: 80px;
    --top-bar-height: 40px;
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* ==========================================================================
   COMMON COMPONENTS & BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

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

.btn-gold {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

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

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

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

.btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    color: var(--secondary);
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.section-divider.align-left {
    margin-left: 0;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.top-bar {
    height: var(--top-bar-height);
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-info {
    display: flex;
    gap: 24px;
}

.top-info span i {
    color: var(--accent);
    margin-right: 6px;
}

.top-socials {
    display: flex;
    gap: 16px;
}

.top-socials a:hover {
    color: var(--accent);
}

/* Sticky Header */
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo Design */
.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--accent);
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Menu items */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    position: relative;
    padding: 6px 0;
}

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

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

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

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

.desktop-cta {
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
}

.mobile-cta {
    display: none;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    border-radius: 1px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 80px 0 100px 0;
    background: radial-gradient(circle at 85% 10%, rgba(30, 58, 138, 0.05) 0%, rgba(255, 255, 255, 0) 60%),
                linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hero-title span {
    color: var(--primary);
}

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

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-trust-badges span i {
    color: var(--accent);
    margin-right: 6px;
}

/* CSS Mock Client Dashboard Graphic */
.hero-graphic {
    display: flex;
    justify-content: center;
    position: relative;
}

.g-wrapper::before {
    content: '';
    position: absolute;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -15%;
    left: -15%;
    z-index: 1;
    pointer-events: none;
}

.dashboard-preview {
    background-color: var(--secondary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-premium), 0 30px 60px -15px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow: var(--shadow-premium), 0 35px 70px -10px rgba(15, 23, 42, 0.4);
}

.dp-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.dp-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.dp-dots span:nth-child(1) { background-color: #ef4444; }
.dp-dots span:nth-child(2) { background-color: #eab308; }
.dp-dots span:nth-child(3) { background-color: #22c55e; }

.dp-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dp-body {
    padding: 24px;
}

.dp-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dp-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.dp-card-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.dp-card-val {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.dp-card-val.text-gold {
    color: var(--accent);
}

.dp-card-sub {
    color: #22c55e;
    font-size: 0.7rem;
    font-weight: 600;
}

.dp-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 24px;
}

.bar-fill {
    width: 20%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 2px;
}

.dp-main-chart {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.chart-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.compliance-graph {
    height: 80px;
    position: relative;
}

.graph-svg {
    width: 100%;
    height: 100%;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    font-weight: 600;
}

.dp-compliance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compliance-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

.compliance-status i.text-green {
    color: #22c55e;
}

.compliance-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

/* ==========================================================================
   STATS / TRUST BAR SECTION
   ========================================================================== */
.stats-section {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent);
}

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

.stat-item {
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon-wrapper {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-numbers {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-plus, .stat-percent {
    color: var(--accent);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

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

/* Hover Interactive Cards */
.service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium), var(--border-glow);
    border-color: rgba(217, 119, 6, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

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

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--accent);
}

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

/* ==========================================================================
   WHY CHOOSE US / VALUE PROPOSITION
   ========================================================================== */
.why-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.why-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

/* Left Column - Glowing visual representation */
.why-visual {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: var(--text-light);
    position: relative;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.why-card-glow {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(255, 255, 255, 0) 70%);
    top: -50px;
    right: -50px;
    opacity: 0.25;
    pointer-events: none;
}

.why-visual-content {
    position: relative;
    z-index: 2;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-visual-title {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.why-visual-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 40px;
}

.security-lock {
    display: flex;
    gap: 16px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
}

.security-lock i {
    font-size: 2rem;
    color: var(--accent);
}

.security-lock h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.security-lock p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Right Column - Value list */
.why-content {
    max-width: 580px;
}

.why-bullets {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.why-bullet {
    display: flex;
    gap: 20px;
}

.bullet-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.bullet-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

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

/* ==========================================================================
   INTERACTIVE TAX ESTIMATOR & LEAD FORM
   ========================================================================== */
.calc-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.calc-card, .lead-form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.calc-card-header {
    background-color: var(--primary-dark);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-card-header h3 {
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-card-header h3 i {
    color: var(--accent);
}

.regime-badge, .form-status {
    background-color: rgba(217, 119, 6, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(217, 119, 6, 0.3);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.calc-card-body {
    padding: 30px;
    position: relative;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    display: flex;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    transition: var(--transition);
    align-items: center;
    overflow: hidden;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
    background-color: #ffffff;
}

.input-prefix {
    padding: 12px 16px;
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    font-weight: 700;
    border-right: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.input-wrapper input, .input-wrapper select, .input-wrapper textarea {
    border: none;
    background: transparent;
    padding: 12px 16px;
    width: 100%;
    color: var(--secondary);
    font-weight: 500;
}

.input-wrapper.align-top {
    align-items: flex-start;
}

.input-wrapper.align-top .input-prefix {
    padding-top: 14px;
    border-right: 1.5px solid var(--border-color);
}

.input-helper {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Calculator specific styling */
.calc-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1.5px dashed var(--border-color);
    display: none; /* Controlled by JS */
}

.calc-results.active {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

.regime-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.regime-col {
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1.5px solid var(--border-color);
}

.regime-col.new-regime {
    background-color: rgba(30, 58, 138, 0.03);
    border-color: rgba(30, 58, 138, 0.15);
}

.regime-col.new-regime.better, .regime-col.old-regime.better {
    background-color: rgba(34, 197, 94, 0.04);
    border-color: rgba(34, 197, 94, 0.25);
}

.regime-col h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.recommended-badge {
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.regime-tax-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.regime-col.better .regime-tax-val {
    color: #15803d;
}

.regime-tax-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.results-verdict {
    background-color: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.15);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #92400e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-verdict i {
    font-size: 1.1rem;
    color: var(--accent);
}

/* Copy button */
#btn-import-data {
    margin-top: 10px;
}

/* Form Success Overlay */
.success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.4s ease-out forwards;
}

.success-screen.active {
    display: flex;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.1);
}

.success-screen h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-screen p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 320px;
}

.lead-form.hidden {
    display: none;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0 0;
    border-top: 4px solid var(--accent);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    max-width: 320px;
}

.footer-logo {
    color: var(--text-light) !important;
    margin-bottom: 20px;
}

.footer-logo .logo-accent {
    border-color: var(--accent);
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.footer-socials a:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.footer-contact-info li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 4px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Premium watermark styling */
.watermark {
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wm-accent {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 3s linear infinite;
    font-weight: 700;
}

/* ==========================================================================
   BACK TO TOP & UTILITIES
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.active {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST REVERSED FOR OVERRIDES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .dashboard-preview {
        transform: none !important;
    }

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

    .why-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-content {
        max-width: 100%;
    }

    .calc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .top-bar {
        display: none; /* Hide topbar on mobile to save space */
    }

    .header {
        position: sticky;
        top: 0;
        background-color: #ffffff;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile Drawer */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 20px 24px;
        transition: 0.4s ease-out;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1005;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-cta {
        display: flex;
        margin-top: 30px;
    }

    .desktop-cta {
        display: none;
    }

    /* Hamburger Animation to 'X' */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        border-right: none;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 20px;
    }

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

    .regime-comparison {
        grid-template-columns: 1fr;
    }
}
