/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-dark: #111827;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo .accent {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button::after {
    display: none;
}

.case-status-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6366f1 !important;
    font-weight: 500;
}

.case-status-link i {
    font-size: 0.85rem;
}

.case-status-link:hover {
    color: #4f46e5 !important;
}

.case-status-link.active {
    color: #4f46e5 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.6) 50%, rgba(29, 78, 216, 0.8) 100%);
    z-index: 2;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    pointer-events: none;
    z-index: 0;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.hero-badge i {
    color: #10b981;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* State-specific CTA */
.state-specific-cta {
    margin-bottom: 1.5rem;
}

.btn-state-info {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-state-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-state-info i {
    font-size: 1.1rem;
}

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

.hero-trust {
    margin-top: 2rem;
}

.hero-trust p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.trust-badge i {
    color: #fbbf24;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

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

.visual-container {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.tax-reduction-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: slideInRight 1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tax-reduction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.card-header h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 15px;
}

.before, .after {
    text-align: center;
    flex: 1;
}

.label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.amount.old {
    color: #ef4444;
    text-decoration: line-through;
}

.amount.new {
    color: var(--accent-color);
}

.year {
    font-size: 0.8rem;
    color: var(--text-light);
}

.arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 1rem;
}

.savings-breakdown {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.savings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.savings-item.total {
    border-top: 2px solid var(--accent-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 700;
}

.savings-item .label {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.savings-item .value {
    font-size: 1.1rem;
    font-weight: 700;
}

.savings-item .value.savings {
    color: var(--accent-color);
}

.savings-item .value.fee {
    color: var(--text-secondary);
}

.savings-item .value.total {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.card-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    display: none;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    pointer-events: none;
    animation: floatElement 3s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    left: -10%;
    animation-delay: 1s;
}

.element-3 {
    top: 50%;
    right: -15%;
    animation-delay: 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--background-alt);
}

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

.step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: white;
}

.pricing-calculator {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calculator-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1.75rem;
    text-align: center;
    overflow: hidden;
    word-wrap: break-word;
    position: relative;
}

.calculator-header .fee-highlight {
    margin-left: auto;
    margin-right: auto;
}

.calculator-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calculator-content {
    padding: 2rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.currency {
    position: absolute;
    left: 15px;
    color: var(--text-secondary);
    font-weight: 600;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 35px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.slider-container {
    position: relative;
    margin-bottom: 1rem;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

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

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.percentage-display {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.results {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.result-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
    border-top: 2px solid var(--accent-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

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

/* Tax Calendar Section */
.tax-calendar {
    padding: 6rem 0;
    background: var(--background-alt);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.us-map {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-loading {
    text-align: center;
    color: var(--text-secondary);
}

.map-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-legend {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.state-info {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

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

.state-info-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.state-flag {
    width: 80px;
    height: 50px;
    border-radius: 6px;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.state-flag-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    padding: 2px;
}

#state-details {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.state-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.state-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.state-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.state-actions .btn-secondary-outline {
    flex: 1;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

/* D3 Map Styles */
.state {
    fill: #e5e7eb;
    stroke: #ffffff;
    stroke-width: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.state:hover {
    fill: #3b82f6;
    stroke: #1d4ed8;
    stroke-width: 2;
}

.state.selected {
    fill: #3b82f6;
    stroke: #1d4ed8;
    stroke-width: 2;
}

.state-label {
    font-size: 12px;
    font-weight: 500;
    fill: #374151;
    pointer-events: none;
    text-anchor: middle;
}

.state-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.state-tooltip.visible {
    opacity: 1;
}

/* State Details Styles */
.deadline-highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #f59e0b;
}

.deadline-highlight h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.deadline-highlight p {
    margin: 0.25rem 0;
    color: var(--text-primary);
}

.quick-info {
    margin-bottom: 1rem;
}

.quick-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.more-info {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Map Error Styles */
.map-error {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

.map-error i {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: white;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    color: var(--secondary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

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

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

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

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

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

    .trust-badges {
        justify-content: center;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .info-cards {
        grid-template-columns: 1fr;
    }

    .state-content-grid {
        grid-template-columns: 1fr;
    }

    .map-legend {
        flex-direction: column;
        gap: 1rem;
    }
}

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Fee Highlight Styles */
.fee-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: feeHighlightPulse 2s infinite;
    max-width: calc(100% - 2rem);
    width: calc(100% - 2rem);
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
    flex-wrap: wrap;
    transform-origin: center;
}

.fee-highlight i {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fee-highlight span {
    font-size: 1rem;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
    line-height: 1.4;
    hyphens: auto;
}

@keyframes feeHighlightPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 5px 17px rgba(16, 185, 129, 0.38);
    }
}

/* Fee Breakdown Styles */
.fee-breakdown {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 0.75rem 0;
    flex-direction: column;
}

.fee-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fee-info .label {
    font-weight: 600;
    color: #166534;
    font-size: 0.95rem;
}

.fee-info .value {
    font-weight: 700;
    color: #10b981;
    font-size: 1.1rem;
}

.fee-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-size: 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.fee-note i {
    color: #10b981;
}

/* =========================================
   DYNAMIC VIDEO-LIKE ANIMATION STYLES
   ========================================= */

.animation-container {
    margin-top: 3rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.animation-container.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Header */
.animation-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.animation-header h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.animation-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* =========================================
   ANIMATION STAGE - Video-Like Experience
   ========================================= */

.animation-stage {
    position: relative;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin: 1.5rem 0;
    background: #111827;
}

/* Scene Container */
.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scene.active {
    display: flex;
    opacity: 1;
    animation: sceneEnter 0.8s ease-out;
}

@keyframes sceneEnter {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scene Background Gradients */
.scene-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-gradient {
    width: 100%;
    height: 100%;
    transition: all 1.5s ease;
}

.step1-gradient {
    background: linear-gradient(145deg, #1e3a5f 0%, #0f766e 30%, #134e4a 60%, #0a2725 100%);
}

.step2-gradient {
    background: linear-gradient(145deg, #1e3a8a 0%, #3730a3 30%, #312e81 60%, #1e1b4b 100%);
}

.step3-gradient {
    background: linear-gradient(145deg, #581c87 0%, #6b21a8 30%, #7c3aed 60%, #3b0764 100%);
}

.step4-gradient {
    background: linear-gradient(145deg, #7f1d1d 0%, #991b1b 30%, #b91c1c 60%, #450a0a 100%);
}

.step5-gradient {
    background: linear-gradient(145deg, #14532d 0%, #166534 30%, #15803d 60%, #052e16 100%);
}

/* Floating Icon for Step 1 */
.floating-icon {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: floatIcon 3s ease-in-out infinite;
    z-index: 10;
}

.floating-icon i {
    font-size: 1.5rem;
    color: white;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Scene Images Container */
.scene-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

/* Floating Images */
.floating-image {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floating-image:hover img {
    transform: scale(1.1);
}

/* Main Image - Large center */
.floating-image.img-main {
    width: 300px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: floatMain var(--duration, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Single Main Image - Large and prominent */
.floating-image.img-main-solo {
    width: 420px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: floatMainSolo var(--duration, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

@keyframes floatMainSolo {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-48%, -52%) rotate(0.5deg) scale(1.02);
    }
    50% {
        transform: translate(-50%, -48%) rotate(0deg) scale(1);
    }
    75% {
        transform: translate(-52%, -50%) rotate(-0.5deg) scale(1.02);
    }
}

/* Secondary Left Image */
.floating-image.img-secondary-left {
    width: 180px;
    height: 130px;
    top: 15%;
    left: 5%;
    z-index: 5;
    animation: floatLeft var(--duration, 5s) ease-in-out infinite;
    animation-delay: var(--delay, 0.5s);
}

/* Secondary Right Image */
.floating-image.img-secondary-right {
    width: 180px;
    height: 130px;
    bottom: 15%;
    left: 55%;
    z-index: 5;
    animation: floatRight var(--duration, 4.5s) ease-in-out infinite;
    animation-delay: var(--delay, 1s);
}

/* Floating Animations */
@keyframes floatMain {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-48%, -52%) rotate(1deg);
    }
    50% {
        transform: translate(-50%, -48%) rotate(0deg);
    }
    75% {
        transform: translate(-52%, -50%) rotate(-1deg);
    }
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(0) rotate(-3deg) scale(1);
    }
    50% {
        transform: translateY(-20px) rotate(0deg) scale(1.02);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(0) rotate(3deg) scale(1);
    }
    50% {
        transform: translateY(-15px) rotate(0deg) scale(1.02);
    }
}

/* Animated Badge */
.animated-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.animated-badge.free-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.animated-badge.research-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.animated-badge.deadline-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.animated-badge.hearing-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.animated-badge.success-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 1rem;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
}

/* Particle Effects */
.particle-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

/* Data Stream Animation (Step 2) */
.data-stream {
    position: absolute;
    bottom: 30px;
    left: 10%;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 80px;
    z-index: 15;
}

.data-bar {
    width: 20px;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 4px 4px 0 0;
    height: var(--height);
    animation: dataGrow 1.5s ease-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

@keyframes dataGrow {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Flying Papers Animation (Step 3) */
.flying-papers {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.paper {
    position: absolute;
    font-size: 2rem;
    color: white;
    opacity: 0.8;
    animation: paperFly 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.paper:nth-child(1) { left: 10%; top: 20%; }
.paper:nth-child(2) { left: 70%; top: 60%; }
.paper:nth-child(3) { left: 30%; top: 70%; }

@keyframes paperFly {
    0% {
        transform: translateX(-50px) translateY(100px) rotate(-20deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(50px) translateY(-100px) rotate(20deg);
        opacity: 0;
    }
}

/* Gavel Animation (Step 4) */
.gavel-animation {
    position: absolute;
    bottom: 20%;
    left: 20%;
    z-index: 15;
}

.gavel-icon {
    font-size: 3rem;
    color: #fbbf24;
    animation: gavelStrike 2s ease-in-out infinite;
    transform-origin: bottom right;
}

@keyframes gavelStrike {
    0%, 100% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-30deg);
    }
    30% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-20deg);
    }
    50% {
        transform: rotate(5deg);
    }
    60% {
        transform: rotate(0deg);
    }
}

/* Confetti Container (Step 5) */
.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: confettiDrop linear forwards;
}

.confetti-piece.circle {
    border-radius: 50%;
}

.confetti-piece.square {
    border-radius: 2px;
}

.confetti-piece.rectangle {
    width: 6px;
    height: 14px;
    border-radius: 2px;
}

@keyframes confettiDrop {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateY(150px) rotate(180deg) translateX(30px) scale(1.1);
    }
    50% {
        transform: translateY(300px) rotate(360deg) translateX(-20px) scale(0.9);
    }
    75% {
        transform: translateY(450px) rotate(540deg) translateX(15px) scale(1);
    }
    100% {
        transform: translateY(600px) rotate(720deg) translateX(-10px) scale(0.8);
        opacity: 0;
    }
}

/* Legacy confetti styles for backward compatibility */
.confetti-explosion {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.confetti {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color);
    left: var(--x);
    top: -20px;
    animation: confettiRain 3s ease-in-out infinite;
}

.confetti:nth-child(odd) {
    border-radius: 50%;
}

.confetti:nth-child(even) {
    border-radius: 2px;
    transform: rotate(45deg);
}

@keyframes confettiRain {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

/* Savings Counter (Step 5) */
.savings-counter {
    position: absolute;
    bottom: 20%;
    left: 15%;
    background: rgba(16, 185, 129, 0.9);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    animation: counterPop 0.5s ease-out, counterPulse 2s ease-in-out 0.5s infinite;
    z-index: 20;
}

.savings-counter .dollar {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.savings-counter .amount {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.savings-counter .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 5px;
}

@keyframes counterPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes counterPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* Scene Content */
.scene-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 30%);
}

.step-indicator {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scene-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInContent 0.6s ease-out 0.2s both;
}

.scene-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    animation: slideInContent 0.6s ease-out 0.4s both;
}

.scene-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scene-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    animation: slideInContent 0.6s ease-out both;
}

.scene-features li:nth-child(1) { animation-delay: 0.5s; }
.scene-features li:nth-child(2) { animation-delay: 0.6s; }
.scene-features li:nth-child(3) { animation-delay: 0.7s; }

.scene-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Timeline */
.timeline-dots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--background-alt);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot-inner {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.dot-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    font-weight: 500;
}

.dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.dot.active .dot-inner {
    color: white;
}

.dot.completed {
    background: var(--success-color);
    border-color: var(--success-color);
}

.dot.completed .dot-inner {
    color: white;
}

/* Enhanced Step Visual */
.step-visual {
    position: relative;
    flex: 1;
    max-width: 450px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Professional Animation Elements */
.step-illustration {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.step-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.step-illustration:hover .step-image {
    transform: scale(1.05);
}

.step-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-badge.free-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.step-badge.research-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.step-badge.deadline-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.step-badge.hearing-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.step-badge.success-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    font-size: 1rem;
}

.process-svg {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 350px;
}

.animation-step.active .process-svg {
    animation: svgFadeIn 0.8s ease-out forwards;
}

.animation-step.active .process-svg .bg-circle {
    animation: pulseSubtle 3s ease-in-out infinite;
}

@keyframes svgFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseSubtle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
}

/* Step number badge */
.step-number-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Step 1 Animations - Contract */
.animation-step.active .contract-doc {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.animation-step.active .signing-pen {
    animation: signPen 2s ease-in-out 0.8s infinite;
    transform-origin: 260px 270px;
}

.animation-step.active .check-badge {
    animation: popIn 0.5s ease-out 1.5s both;
}

.animation-step.active .free-badge {
    animation: bounceIn 0.6s ease-out 1.8s both;
}

.animation-step.active .doc-line-1 { animation: drawLineAnim 0.5s ease-out 0.5s both; }
.animation-step.active .doc-line-2 { animation: drawLineAnim 0.5s ease-out 0.7s both; }
.animation-step.active .doc-line-3 { animation: drawLineAnim 0.5s ease-out 0.9s both; }
.animation-step.active .doc-line-4 { animation: drawLineAnim 0.5s ease-out 1.1s both; }

/* Step 2 Animations - Evidence */
.animation-step.active .computer {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.animation-step.active .chart-bar-1 { animation: growUp 0.6s ease-out 0.5s both; }
.animation-step.active .chart-bar-2 { animation: growUp 0.6s ease-out 0.7s both; }
.animation-step.active .chart-bar-3 { animation: growUp 0.6s ease-out 0.9s both; }
.animation-step.active .chart-bar-4 { animation: growUp 0.6s ease-out 1.1s both; }

.animation-step.active .trend-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 1s ease-out 1.3s forwards;
}

.animation-step.active .magnifier {
    animation: floatAnimation 3s ease-in-out 1s infinite;
}

.animation-step.active .house-1 { animation: popIn 0.4s ease-out 1.5s both; }
.animation-step.active .house-2 { animation: popIn 0.4s ease-out 1.7s both; }
.animation-step.active .house-3 { animation: popIn 0.4s ease-out 1.9s both; }

/* Step 3 Animations - Filing */
.animation-step.active .courthouse {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.animation-step.active .flying-doc-1 {
    animation: flyInLeft 1s ease-out 0.5s both;
}

.animation-step.active .flying-doc-2 {
    animation: flyInRight 1s ease-out 0.7s both;
}

.animation-step.active .calendar-check {
    animation: popIn 0.6s ease-out 1.2s both;
}

/* Step 4 Animations - Hearing */
.animation-step.active .presenter {
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.animation-step.active .board-members {
    animation: slideInRight 0.8s ease-out 0.5s both;
}

.animation-step.active .speech-bubble {
    animation: popIn 0.6s ease-out 0.8s both;
}

.animation-step.active .gavel-animation {
    animation: gavelHit 1.5s ease-out 1.2s infinite;
    transform-origin: 355px 188px;
}

/* Step 5 Animations - Success */
.animation-step.active .trophy {
    animation: bounceIn 0.8s ease-out 0.3s both;
}

.animation-step.active .savings-visual {
    animation: fadeIn 0.6s ease-out 0.6s both;
}

.animation-step.active .happy-owner {
    animation: bounceIn 0.6s ease-out 0.9s both;
}

.animation-step.active .amount-bubble {
    animation: slideDown 0.6s ease-out 1.2s both;
}

.animation-step.active .confetti-1 { animation: confettiFall 2s ease-out 1.5s infinite; }
.animation-step.active .confetti-2 { animation: confettiFall 2.2s ease-out 1.6s infinite; }
.animation-step.active .confetti-3 { animation: confettiFall 1.8s ease-out 1.7s infinite; }
.animation-step.active .confetti-4 { animation: confettiFall 2.4s ease-out 1.8s infinite; }

/* Keyframe Animations */
@keyframes signPen {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    25% { transform: rotate(-5deg) translateX(-5px); }
    75% { transform: rotate(5deg) translateX(5px); }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3) translateY(20px); }
    50% { transform: scale(1.05) translateY(-10px); }
    70% { transform: scale(0.95) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes growUp {
    from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    to { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

@keyframes drawLineAnim {
    from { opacity: 0; transform: scaleX(0); transform-origin: left; }
    to { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes flyInLeft {
    from { opacity: 0; transform: translateX(-100px) rotate(-30deg); }
    to { opacity: 1; transform: translateX(0) rotate(-10deg); }
}

@keyframes flyInRight {
    from { opacity: 0; transform: translateX(100px) rotate(30deg); }
    to { opacity: 1; transform: translateX(0) rotate(15deg); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gavelHit {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-20deg); }
    20% { transform: rotate(0deg); }
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(50px) rotate(180deg); opacity: 0; }
}

/* Step 1 Animations - Contract */
.doc-rect {
    animation: slideInLeft 0.6s ease-out 0.2s both;
    transform-origin: center;
}

.doc-line {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawLine 0.8s ease-out 0.5s both;
}

.checkmark {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheckmark 0.6s ease-out 1s both;
}

.handshake-circle {
    animation: pulse 1.5s ease-in-out 1.5s infinite;
    transform-origin: center;
}

.handshake-text {
    animation: bounce 1s ease-in-out 1.3s both;
}

/* Step 2 Animations - Evidence */
.bar {
    transform-origin: bottom;
    animation: growBar 0.8s ease-out both;
}

.bar-1 { animation-delay: 0.2s; }
.bar-2 { animation-delay: 0.4s; }
.bar-3 { animation-delay: 0.6s; }
.bar-4 { animation-delay: 0.8s; }

.search-circle {
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: drawCircle 0.8s ease-out 0.3s both;
}

.search-line {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: drawLine 0.5s ease-out 0.8s both;
}

.house {
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.house-roof {
    animation: slideInDown 0.4s ease-out 0.7s both;
}

/* Step 3 Animations - Filing */
.doc-1, .doc-2, .doc-3 {
    transform-origin: top left;
    animation: stackDocs 0.6s ease-out both;
}

.doc-1 { animation-delay: 0.1s; }
.doc-2 { animation-delay: 0.3s; }
.doc-3 { animation-delay: 0.5s; }

.calendar {
    animation: slideInRight 0.6s ease-out 0.7s both;
}

.calendar-header {
    animation: slideInRight 0.4s ease-out 0.8s both;
}

.plane {
    animation: flyIn 1s ease-out 0.9s both;
    transform-origin: center;
}

.plane-line {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawLine 0.6s ease-out 1.2s both;
}

/* Step 4 Animations - Hearing */
.gavel-head {
    animation: gavelStrike 1.2s ease-out 0.3s both;
    transform-origin: center;
}

.gavel-handle {
    animation: slideInDown 0.5s ease-out 0.5s both;
}

.presentation {
    animation: slideInUp 0.6s ease-out 0.7s both;
}

.presentation-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 0.5s ease-out both;
}

.presentation-line:nth-child(1) { animation-delay: 1s; }
.presentation-line:nth-child(2) { animation-delay: 1.2s; }
.presentation-line:nth-child(3) { animation-delay: 1.4s; }

.handshake-bg {
    animation: pulse 2s ease-in-out 1.5s infinite;
}

.handshake-emoji {
    animation: bounce 1s ease-in-out 1.6s both;
}

/* Step 5 Animations - Success */
.money-circle {
    animation: pulse 2s ease-in-out 0.3s infinite;
}

.dollar-sign {
    animation: scaleIn 0.6s ease-out 0.2s both;
}

.trophy-base {
    animation: slideInUp 0.5s ease-out 0.5s both;
}

.trophy-top {
    animation: slideInDown 0.4s ease-out 0.6s both;
}

.trophy-center {
    animation: scaleIn 0.4s ease-out 0.8s both;
}

.arrow-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 1s ease-out 0.9s both;
}

.arrow-head {
    animation: slideInRight 0.4s ease-out 1.5s both;
}

.savings-text {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.2s both;
}

.smile-circle {
    animation: pulse 2s ease-in-out 1.5s infinite;
}

.smile-emoji {
    animation: bounce 1s ease-in-out 1.6s both;
}

/* Keyframe Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheckmark {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes growBar {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes stackDocs {
    from {
        opacity: 0;
        transform: translateY(-20px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes flyIn {
    from {
        opacity: 0;
        transform: translate(-100px, 50px) rotate(-45deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes gavelStrike {
    0% {
        opacity: 0;
        transform: translateY(-50px) rotate(-20deg);
    }
    50% {
        transform: translateY(10px) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

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

@keyframes slideInDetail {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.animation-timeline {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    z-index: 10;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 12%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 2px;
    z-index: 2;
    width: 0%;
    transition: width 0.5s ease;
}

.timeline-dots {
    display: flex;
    justify-content: space-between;
    width: 76%;
    position: relative;
    z-index: 3;
}

.dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.dot:hover {
    transform: scale(1.1);
    border-color: #3b82f6;
    color: white;
    background: rgba(59, 130, 246, 0.3);
}

.dot.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3), 0 4px 15px rgba(59, 130, 246, 0.4);
    transform: scale(1.15);
}

.dot.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
}

.dot:hover {
    transform: scale(1.1);
}

.animation-steps {
    position: relative;
    min-height: 450px;
    margin: 2rem 0;
}

.animation-step {
    display: none;
    animation: fadeInSlide 0.6s ease;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.animation-step.active {
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
    justify-content: center;
    opacity: 1;
    transform: translateX(0);
    min-height: 420px;
    padding: 1rem;
}

.animation-step.active .step-visual {
    animation: slideInLeft 0.6s ease-out;
}

.animation-step.active .step-content {
    animation: slideInRight 0.6s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-image {
    position: relative;
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-image:hover .step-img {
    transform: scale(1.05);
}

.step-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-image:hover .step-overlay {
    opacity: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #3b82f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    flex: 1;
    max-width: 450px;
    padding: 2rem;
    z-index: 2;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.step-content h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.step-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInDetail 0.5s ease-out both;
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.detail-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.detail-item span {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
}

.detail-item:nth-child(1) { animation-delay: 0.6s; }
.detail-item:nth-child(2) { animation-delay: 0.8s; }
.detail-item:nth-child(3) { animation-delay: 1s; }

.detail-item:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

.detail-item i {
    color: #10b981;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.detail-item span {
    font-weight: 500;
    color: var(--text-primary);
}

.animation-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.control-btn {
    padding: 0.6rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.3);
    color: white;
    transform: translateY(-2px);
}

.play-pause-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: #3b82f6;
    padding: 0.6rem 1.5rem;
}

.play-pause-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.control-btn:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.3);
    color: white;
    transform: translateY(-2px);
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.animation-progress {
    margin-top: 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 20%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.progress-text {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Mobile Responsive for Animation */
@media (max-width: 992px) {
    .animation-stage {
        min-height: 700px;
    }
    
    .scene-images {
        width: 100%;
        height: 50%;
    }
    
    .scene-content {
        width: 100%;
        height: 50%;
        top: 50%;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 20%);
        padding: 2rem 1.5rem;
    }
    
    .floating-image.img-main {
        width: 250px;
        height: 180px;
    }
    
    .floating-image.img-secondary-left,
    .floating-image.img-secondary-right {
        width: 140px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .animation-container {
        padding: 1.5rem 1rem;
    }
    
    .animation-stage {
        min-height: 600px;
    }
    
    .scene-title {
        font-size: 1.5rem;
    }
    
    .scene-description {
        font-size: 1rem;
    }
    
    .floating-image.img-main {
        width: 200px;
        height: 150px;
    }
    
    .floating-image.img-secondary-left,
    .floating-image.img-secondary-right {
        width: 100px;
        height: 75px;
    }
    
    .timeline-dots {
        width: 90%;
    }
    
    .dot {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .animation-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .control-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .savings-counter {
        padding: 10px 15px;
    }
    
    .savings-counter .amount {
        font-size: 1.5rem;
    }
    
    .animated-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .animation-stage {
        min-height: 550px;
    }
    
    .floating-image.img-main {
        width: 160px;
        height: 120px;
    }
    
    .floating-image.img-secondary-left,
    .floating-image.img-secondary-right {
        width: 80px;
        height: 60px;
    }
    
    .scene-content {
        padding: 1.5rem 1rem;
    }
    
    .scene-title {
        font-size: 1.3rem;
    }
    
    .scene-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .dot {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* ========================================
   STATE PAGE SPECIFIC STYLES
   ======================================== */

/* State page header improvements */
.state-header-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.state-header-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.state-flag-large {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.state-flag-large .flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.state-header-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.state-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.state-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.state-stats .stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.state-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.state-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* State overview section */
.state-overview {
    padding: 3rem 0;
    background: var(--background-alt);
}

.state-overview .overview-grid {
    width: 100%;
}

.state-overview .overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 100%;
}

.state-overview .overview-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.state-overview .overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.state-overview .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: var(--background-alt);
    border-radius: 12px;
    border: none;
    border-top: 4px solid var(--primary-color);
}

.state-overview .stat-item .label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.state-overview .stat-item .value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* State details section improvements */
.state-details-section {
    padding: 4rem 0;
    background: white;
}

.state-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.content-section h2 {
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.6rem;
}

/* Info cards improvements */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before,
.info-card::after {
    display: none !important;
    content: none !important;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.info-card .card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-card .card-icon::before,
.info-card .card-icon::after {
    display: none !important;
}

.info-card .card-content {
    flex: 1;
}

.info-card .card-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #374151;
    line-height: 1.3;
}

.info-card .card-content p {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Fact items */
.state-facts, .notable-facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.fact-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.fact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.fact-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Exemptions and programs grid */
.exemptions-grid, .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.exemption-item, .program-item {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.exemption-item:hover, .program-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.exemption-item h4, .program-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.exemption-item p, .program-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Sidebar improvements */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    text-align: center;
}

.cta-card h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-card .btn {
    width: 100%;
    background: white;
    color: var(--primary-color);
}

.cta-card .btn:hover {
    background: var(--background-alt);
}

.cta-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: #10b981;
}

.quick-facts, .savings-calculator {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.quick-facts h3, .savings-calculator h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.quick-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-facts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.quick-facts li strong {
    color: var(--text-primary);
}

/* Mobile responsive for state pages */
@media (max-width: 992px) {
    .state-content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .state-overview .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .state-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .state-header-text h1 {
        font-size: 1.75rem;
    }
    
    .state-stats {
        justify-content: center;
    }
    
    .state-overview .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .state-content-grid {
        grid-template-columns: 1fr;
    }
}
/* New Calculator Styles - Add to styles.css */

/* Calculator Tabs */
.calculator-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    background: #f8fafc;
}

.calc-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.calc-tab:hover {
    color: #1e3a8a;
    background: #f1f5f9;
}

.calc-tab.active {
    color: #1e3a8a;
    background: white;
}

.calc-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
}

.calc-tab i {
    font-size: 1rem;
}

/* Tab Content */
.calc-tab-content {
    display: none;
    padding: 1.5rem 0;
}

.calc-tab-content.active {
    display: block;
}

/* Estimate Tax Button */
.btn-estimate-tax {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-estimate-tax i {
    font-size: 0.85rem;
}

/* Input Row for Property Value Tab */
.input-row {
    display: flex;
    gap: 1.5rem;
}

.input-group.half {
    flex: 1;
}

/* County Select */
.county-select-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    color: #334155;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.county-select-wrapper select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Tax Rate Note */
.tax-rate-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid #f59e0b;
}

.tax-rate-note i {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 2px;
}

.tax-rate-note span {
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.5;
}

/* Estimated Tax Display */
.estimated-tax-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 10px;
    margin-top: 1rem;
}

.estimated-tax-display .est-label {
    font-weight: 600;
    color: #1e3a8a;
}

.estimated-tax-display .est-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3a8a;
}

/* Main Calculator Grid - Two Columns */
.calculator-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

.calc-input-section {
    display: flex;
    flex-direction: column;
}

.calc-results-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.results-block {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
}

.results-block h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slider-wrapper {
    margin-bottom: 0.5rem;
}

.slider-wrapper input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.percentage-display {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-top: 0.5rem;
}

/* Savings Block */
.savings-block {
    background: white;
    border: 2px solid #e5e7eb;
}

.savings-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
}

.savings-row.highlight-row {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.savings-row.highlight-row .savings-label,
.savings-row.highlight-row .savings-value {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.savings-row.highlight-row .savings-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.savings-row.highlight-row .savings-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.savings-row.fee-row {
    background: #f8fafc;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}

.fee-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fee-note-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}

.fee-note-inline i {
    font-size: 0.9rem;
}

.savings-row.net-row {
    border-top: 2px dashed #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.savings-row.net-row .savings-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #10b981;
}

.savings-label {
    font-weight: 500;
    color: #64748b;
    font-size: 0.9rem;
}

.savings-value {
    font-weight: 700;
    color: #1e3a8a;
}

/* State Select */
.state-select-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    color: #334155;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.state-select-wrapper select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* State Tax Rate Display */
.state-tax-rate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e40af;
}

.state-tax-rate i {
    color: #3b82f6;
}

.state-tax-rate strong {
    color: #1d4ed8;
    font-weight: 700;
}

/* Label Hint */
.label-hint {
    font-weight: 400;
    color: #64748b;
    font-size: 0.85rem;
}

/* County Search with Dropdown */
.county-search-wrapper {
    position: relative;
}

.county-search-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    color: #334155;
    transition: border-color 0.3s ease;
}

.county-search-wrapper input:focus {
    outline: none;
    border-color: #3b82f6;
}

.county-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #3b82f6;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.county-dropdown.active {
    display: block;
}

.county-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.county-dropdown-item:hover {
    background: #eff6ff;
}

.county-dropdown-item .county-name {
    font-weight: 500;
    color: #334155;
}

.county-dropdown-item .county-rate {
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .calculator-main-grid {
        grid-template-columns: 1fr;
    }
}

/* Results Container - Side by Side (Legacy) */
.results-container {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.results-left,
.results-right {
    flex: 1;
}

.results-left h4,
.results-right h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.results-right .results {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

.results-right .result-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.results-right .result-item:last-child {
    border-bottom: none;
}

.results-right .result-item.savings-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin: -1rem -1rem 0.5rem -1rem;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-right .result-item.savings-highlight .label {
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.results-right .result-item.savings-highlight .value {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
}

.fee-note.small {
    margin-top: 0.25rem;
}

.fee-note.small i {
    color: #10b981;
    font-size: 0.8rem;
}

.fee-note.small span {
    font-size: 0.8rem;
    color: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-tabs {
        flex-direction: column;
    }
    
    .calc-tab {
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .calc-tab.active::after {
        bottom: 0;
        left: auto;
        right: 0;
        top: 0;
        width: 3px;
        height: 100%;
    }
    
    .input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .results-container {
        flex-direction: column;
    }
}


/* Multi-Step Form Styles */
.multi-step-form {
    min-width: 400px;
}

.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: #10b981;
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.step-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.progress-step.active .step-label {
    color: white;
    font-weight: 600;
}

.progress-line {
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    margin: 0 1rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.step-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.step-subtitle {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
}

.form-group select option {
    background: #1e3a8a;
    color: white;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    overflow: hidden;
}

.input-with-prefix .prefix {
    padding: 15px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.input-with-prefix input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
}

.address-autocomplete-wrapper {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.address-suggestions.active {
    display: block;
}

.address-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    color: #334155;
    border-bottom: 1px solid #e5e7eb;
}

.address-suggestion:hover,
.address-suggestion.highlighted {
    background: #f1f5f9;
}

.address-suggestion.highlighted {
    background: #e0f2fe;
    border-left: 3px solid #3b82f6;
}

.county-facts-section {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.county-facts-section h4 {
    color: #fbbf24;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qualification-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(16,185,129,0.2) 0%, rgba(5,150,105,0.2) 100%);
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid rgba(16,185,129,0.3);
}

.qualification-note i {
    font-size: 1.5rem;
    color: #10b981;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-buttons .btn {
    flex: 1;
}

.btn-back {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white !important;
    font-weight: 600;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    color: white !important;
}

.btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-note {
    color: rgba(255,255,255,0.9);
    margin: 1rem 0;
}

.success-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.success-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.success-feature i {
    color: #10b981;
}

.investor-highlight {
    background: linear-gradient(135deg, rgba(251,191,36,0.2) 0%, rgba(245,158,11,0.2) 100%);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid #f59e0b;
}

.investor-highlight i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

/* Wider Calculator */
.pricing-calculator {
    max-width: 1000px !important;
}

.calculator-main-grid {
    grid-template-columns: 1.2fr 1fr !important;
    gap: 1.5rem !important;
    padding: 1rem !important;
}

.calculator-card {
    padding: 1rem !important;
}

.calculator-header {
    padding: 1.25rem !important;
}

.results-block {
    padding: 1rem !important;
}

