@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Core Theme Variables */
:root {
    --bg-app: #090d16;
    --bg-surface: #111827;
    --bg-card: #1e293b;
    --bg-card-hover: #233044;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(79, 70, 229, 0.3);
    
    --primary: #6366f1; /* Modern Indigo */
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.1);
    
    --accent: #14b8a6; /* Teal */
    --accent-hover: #0d9488;
    --accent-light: rgba(20, 184, 166, 0.1);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.1);
    --danger: #f43f5e;
    --danger-light: rgba(244, 63, 94, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-app);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-app);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-app);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tag-version {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: var(--primary-light);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
}

/* Main Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

/* Card Styling */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

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

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.card-title svg {
    color: var(--accent);
}

/* Form Styles & Inputs */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
    transition: var(--transition);
}

.form-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1rem 1rem 1rem 2.5rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: var(--bg-card-hover);
}

.form-input:focus + .input-prefix {
    color: var(--primary);
}

.input-hint {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
}

/* Presumptive Toggle Card */
.toggle-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(20, 184, 166, 0.03) 100%);
    border: 1px dashed var(--border-glow);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.toggle-card:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-color: var(--primary);
}

.toggle-details h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.toggle-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Tooltip & Info Icon styling */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    cursor: help;
    margin-left: 6px;
}

.info-icon {
    color: var(--text-muted);
    transition: var(--transition);
}

.tooltip-container:hover .info-icon {
    color: var(--accent);
}

.tooltip-text {
    visibility: hidden;
    width: 280px;
    background-color: var(--bg-card);
    color: var(--text-main);
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    position: absolute;
    z-index: 10;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.45;
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}

/* Tooltip Arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--bg-card) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Beautiful Modern Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
    border-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(22px);
    background-color: var(--bg-surface);
}

/* Action Banner / Notification */
.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.4s ease-out;
}

.alert-banner.warning {
    background: var(--warning-light);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbd38d;
}

.alert-banner.info {
    background: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
}

.alert-banner.success {
    background: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

/* Deductions Sub-panel Accordion styling */
.deductions-accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--bg-card);
    margin-top: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
}

.accordion-header .arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.25rem;
}

.accordion-body.open {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* Old/New Comparison Layout (Right Panel) */
.comparison-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.regimes-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.regime-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.regime-card:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.regime-card.recommended {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
    border: 2px solid var(--accent);
    box-shadow: 0 0 28px rgba(20, 184, 166, 0.2), 0 0 6px rgba(20, 184, 166, 0.1);
    animation: winnerPulse 3s ease-in-out infinite alternate;
}

/* Old Regime winner — uses Indigo glow instead of Teal */
.regime-card.recommended-old {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(20, 184, 166, 0.02) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.2), 0 0 6px rgba(99, 102, 241, 0.1);
    animation: winnerPulseIndigo 3s ease-in-out infinite alternate;
}

.regime-card.recommended-old .tax-value {
    color: var(--primary);
}

/* Regime Winner Badge — shared base, colour differs per regime */
.regime-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--accent);       /* default: Teal for New Regime */
    color: var(--bg-app);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 10px rgba(20, 184, 166, 0.35);
    white-space: nowrap;
}

/* Old Regime badge — Indigo colour */
#regime-badge-old {
    background: var(--primary);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.35);
}

/* Inline savings pill rendered inside the winning card by JS */
.inline-savings-pill {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid;
    margin-top: 0.85rem;
    transition: var(--transition);
    animation: fadeIn 0.4s ease-out;
}

/* Winner pulse keyframes */
@keyframes winnerPulse {
    0%   { box-shadow: 0 0 20px rgba(20, 184, 166, 0.15); }
    100% { box-shadow: 0 0 36px rgba(20, 184, 166, 0.35); }
}

@keyframes winnerPulseIndigo {
    0%   { box-shadow: 0 0 20px rgba(99, 102, 241, 0.15); }
    100% { box-shadow: 0 0 36px rgba(99, 102, 241, 0.35); }
}

.regime-header {
    margin-bottom: 1rem;
}

.regime-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.regime-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.regime-tax-block {
    margin: 1.5rem 0;
}

.tax-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tax-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin: 0.25rem 0;
}

.regime-card.recommended .tax-value {
    color: var(--accent);
}

.tax-breakdown-summary {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tax-savings-callout {
    background: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Visualization Panel */
.visualization-panel {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.vis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.vis-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.chart-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    padding: 1rem 0;
}

@media (max-width: 480px) {
    .chart-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Interactive SVG Doughnut Chart Styling */
.donut-chart {
    position: relative;
    width: 140px;
    height: 140px;
}

.donut-svg {
    transform: rotate(-90deg);
}

.donut-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 12;
}

.donut-segment-tax {
    fill: none;
    stroke: var(--danger);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.donut-segment-net {
    fill: none;
    stroke: var(--accent);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-center-percent {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.donut-center-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    max-width: 200px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-details {
    display: flex;
    flex-direction: column;
}

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

.legend-value {
    font-weight: 600;
    color: var(--text-main);
}

/* Animated Slabs Table / Detail Panel */
.breakdown-table-container {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.breakdown-table th {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.breakdown-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.breakdown-table tr:last-child td {
    border-bottom: none;
}

.breakdown-table .row-highlight {
    background: rgba(99, 102, 241, 0.05);
    font-weight: 600;
}

/* Break-even optimization panel */
.optimization-box {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.opt-icon {
    width: 48px;
    height: 48px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.opt-details h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.opt-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.opt-details strong {
    color: var(--accent);
}

/* Call To Action (Biz Synergist) Banner */
.cta-banner {
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.cta-content {
    max-width: 60%;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .cta-content {
        max-width: 100%;
    }
}

.cta-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

.cta-btn {
    background: linear-gradient(135deg, var(--primary), #4338ca);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.8rem;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, #4f46e5, var(--primary));
}

.cta-btn:active {
    transform: translateY(-1px);
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

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

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.modal-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-app);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    transition: var(--transition);
    margin-top: 1rem;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}

/* Lead success animation */
.success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--success-light);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.success-message {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.5;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-dark);
    font-size: 0.8rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

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

footer a:hover {
    color: var(--accent);
}

/* Micro Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.pulse-accent {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(20, 184, 166, 0.1); }
    100% { box-shadow: 0 0 25px rgba(20, 184, 166, 0.4); }
}
