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

:root {
    /* Grunge Color Palette */
    --primary-brown: #8B4513;
    --dark-brown: #654321;
    --rust-orange: #CD853F;
    --dirty-yellow: #DAA520;
    --grunge-gray: #696969;
    --dark-gray: #2F2F2F;
    --off-white: #F5F5DC;
    --blood-red: #8B0000;
    
    /* Background Colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #3a3a3a;
    --bg-paper: #f4f1e8;
    
    /* Text Colors */
    --text-primary: #f5f5dc;
    --text-secondary: #d4d4aa;
    --text-dark: #2f2f2f;
    --text-accent: var(--rust-orange);
    
    /* Effects */
    --shadow-grunge: 0 8px 32px rgba(139, 69, 19, 0.3);
    --shadow-dark: 0 4px 16px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Metal Mania', cursive;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Grunge Overlay */
.grunge-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(205, 133, 63, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.1"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Creepster', cursive;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--rust-orange);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    position: relative;
}

.logo-text {
    font-family: 'Nosifer', cursive;
    font-size: 2rem;
    color: var(--text-primary);
    text-shadow: 3px 3px 0px var(--rust-orange), 6px 6px 0px var(--dark-brown);
    margin: 0;
}

.logo-accent {
    color: var(--rust-orange);
}

.logo-stain {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--blood-red);
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(2px);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--rust-orange), transparent);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rust-orange);
    border-color: var(--rust-orange);
    text-shadow: 0 0 10px var(--rust-orange);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--rust-orange);
    border-radius: 2px;
    transition: var(--transition);
}

/* Grunge Effects */
.torn-paper {
    position: relative;
    background: var(--bg-paper);
    color: var(--text-dark);
    padding: 1rem 2rem;
    margin: 1rem 0;
    clip-path: polygon(0% 0%, 95% 0%, 100% 5%, 98% 15%, 100% 25%, 95% 35%, 100% 45%, 97% 55%, 100% 65%, 95% 75%, 100% 85%, 98% 95%, 95% 100%, 5% 100%, 0% 95%, 2% 85%, 0% 75%, 5% 65%, 0% 55%, 3% 45%, 0% 35%, 5% 25%, 0% 15%, 2% 5%);
}

.ripped-edge {
    position: relative;
    display: inline-block;
}

.ripped-edge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        var(--rust-orange) 0px,
        var(--rust-orange) 5px,
        transparent 5px,
        transparent 10px
    );
    opacity: 0.7;
}

.weathered {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--grunge-gray);
    border-radius: 8px;
    overflow: hidden;
}

.weathered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(205, 133, 63, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.distressed {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--grunge-gray);
    border-radius: 4px;
}

.distressed::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: var(--rust-orange);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(3px);
}

.torn-corner {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--grunge-gray);
    clip-path: polygon(0% 0%, 90% 0%, 100% 10%, 100% 100%, 0% 100%);
}

.vintage-paper {
    background: var(--bg-paper);
    color: var(--text-dark);
    border: 1px solid var(--dark-brown);
    box-shadow: 
        inset 0 0 20px rgba(139, 69, 19, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.vintage-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 69, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(205, 133, 63, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 3px solid var(--rust-orange);
    background: transparent;
    color: var(--rust-orange);
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Butcherman', cursive;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 0;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.grunge-btn {
    position: relative;
}

.grunge-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--rust-orange), var(--dark-brown));
    transition: var(--transition);
    z-index: -1;
}

.grunge-btn:hover::before {
    left: 0;
}

.grunge-btn:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-grunge);
}

.btn-scratch {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 2px;
    background: var(--blood-red);
    transform: rotate(45deg);
    opacity: 0.7;
}

.btn-primary {
    border-color: var(--rust-orange);
    color: var(--rust-orange);
}

.btn-secondary {
    border-color: var(--dirty-yellow);
    color: var(--dirty-yellow);
}

.btn-secondary::before {
    background: linear-gradient(90deg, var(--dirty-yellow), var(--primary-brown));
}

.btn.large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.3) sepia(0.3);
}

.hero-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(205, 133, 63, 0.1) 0%, transparent 50%);
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 
        3px 3px 0px var(--rust-orange),
        6px 6px 0px var(--dark-brown),
        9px 9px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--rust-orange);
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 69, 19, 0.1);
    border: 2px solid var(--rust-orange);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: 'Nosifer', cursive;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--rust-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.vintage-calculator {
    width: 300px;
    background: var(--bg-paper);
    border: 3px solid var(--dark-brown);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-grunge);
    position: relative;
}

.vintage-calculator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--rust-orange);
    border-radius: 50%;
    opacity: 0.3;
}

.calculator-screen {
    background: var(--dark-gray);
    color: var(--dirty-yellow);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    border: 2px inset var(--grunge-gray);
}

.calculation-line {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.calculator-buttons {
    display: flex;
    gap: 1rem;
}

.calc-btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--rust-orange);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    font-family: 'Butcherman', cursive;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.calc-btn:hover {
    background: var(--dark-brown);
    transform: translateY(-2px);
}

/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 
        3px 3px 0px var(--rust-orange),
        6px 6px 0px var(--dark-brown);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.title-stain {
    position: absolute;
    top: -10px;
    right: 20%;
    width: 30px;
    height: 30px;
    background: var(--blood-red);
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(3px);
}

/* Problems Section */
.problems {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.problem-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-grunge);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.problem-card h3 {
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.problem-impact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid var(--blood-red);
    border-radius: 4px;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.impact-value {
    font-family: 'Nosifer', cursive;
    color: var(--blood-red);
    font-weight: 700;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.solution-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--grunge-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.solution-item:hover {
    border-color: var(--rust-orange);
    box-shadow: var(--shadow-grunge);
}

.solution-number {
    font-family: 'Nosifer', cursive;
    font-size: 3rem;
    color: var(--rust-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    min-width: 80px;
}

.solution-content h3 {
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.solution-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.solution-benefits li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rust-orange);
    font-weight: bold;
}

.solution-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--rust-orange);
    color: var(--rust-orange);
    font-family: 'Butcherman', cursive;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.solution-btn:hover {
    background: var(--rust-orange);
    color: var(--text-primary);
}

.solutions-visual {
    position: sticky;
    top: 100px;
}

.vintage-chart {
    position: relative;
    border: 3px solid var(--dark-brown);
    border-radius: 8px;
    overflow: hidden;
}

.vintage-chart img {
    width: 100%;
    height: auto;
    filter: sepia(0.5) contrast(1.2);
}

.chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chart-title {
    font-family: 'Creepster', cursive;
    font-size: 1.5rem;
    color: var(--rust-orange);
    text-align: center;
    margin-bottom: 2rem;
}

.chart-data {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.data-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 120px;
}

.data-bar {
    flex: 1;
    height: 20px;
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--grunge-gray);
}

.data-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rust-orange), var(--dirty-yellow));
    border-radius: 10px;
    transition: width 1s ease;
}

.data-fill.optimized {
    background: linear-gradient(90deg, var(--rust-orange), var(--primary-brown));
}

.data-value {
    font-family: 'Nosifer', cursive;
    color: var(--rust-orange);
    font-weight: 700;
    min-width: 50px;
    text-align: right;
}

/* Tax Strategies Section */
.tax-strategies {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.strategy-card {
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--grunge-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.strategy-card:hover {
    transform: translateY(-5px);
    border-color: var(--rust-orange);
    box-shadow: var(--shadow-grunge);
}

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

.strategy-header h3 {
    color: var(--rust-orange);
    margin: 0;
}

.strategy-badge {
    background: var(--rust-orange);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.strategy-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.strategy-benefits {
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.benefit-icon {
    color: var(--rust-orange);
    font-weight: bold;
}

.benefit-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.strategy-example {
    background: rgba(139, 69, 19, 0.1);
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid var(--rust-orange);
    margin-bottom: 1.5rem;
}

.strategy-example strong {
    color: var(--rust-orange);
}

.strategy-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--rust-orange);
    color: var(--rust-orange);
    font-family: 'Butcherman', cursive;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.strategy-btn:hover {
    background: var(--rust-orange);
    color: var(--text-primary);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.testimonial-card {
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-grunge);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--rust-orange);
    filter: sepia(0.3);
}

.author-info h4 {
    color: var(--rust-orange);
    margin: 0;
    font-size: 1.1rem;
}

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

.testimonial-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--blood-red);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Butcherman', cursive;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transform: rotate(15deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grunge" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23CD853F" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grunge)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 
        3px 3px 0px var(--rust-orange),
        6px 6px 0px var(--dark-brown);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-offer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(139, 69, 19, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--rust-orange);
}

.offer-icon {
    font-size: 1.5rem;
}

.offer-item span:last-child {
    color: var(--text-secondary);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 3px solid var(--rust-orange);
    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 {
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--rust-orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--grunge-gray);
    border-radius: 4px;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--rust-orange);
    background: var(--rust-orange);
    color: var(--text-primary) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--grunge-gray);
    color: var(--text-secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    animation: modalSlideIn 0.3s ease-out;
}

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

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--rust-orange);
}

/* Form Styles */
.grunge-form {
    background: var(--bg-paper);
    color: var(--text-dark);
    padding: 2rem;
    border: 3px solid var(--dark-brown);
    border-radius: 8px;
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--grunge-gray);
    background: var(--off-white);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rust-orange);
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--rust-orange);
    transition: width 0.3s ease;
}

.form-group input:focus + .input-underline {
    width: 100%;
}

/* Calculator Styles */
.calculators-grid {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.calculator-card {
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--dark-brown);
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--dark-brown);
}

.calculator-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.calculator-icon {
    font-size: 2rem;
}

.calculator-form {
    margin-bottom: 2rem;
}

.calculator-result {
    min-height: 100px;
    padding: 1.5rem;
    background: var(--off-white);
    border: 2px solid var(--dark-brown);
    border-radius: 4px;
    color: var(--text-dark);
}

.result-placeholder {
    text-align: center;
    color: var(--grunge-gray);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        transition: var(--transition);
        border-top: 3px solid var(--rust-orange);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .solutions-layout {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tools-layout {
        grid-template-columns: 1fr;
    }
    
    .cta-offer {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(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: var(--text-primary);
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .vintage-paper {
        background: white !important;
        color: black !important;
        border: 1px solid black !important;
    }
}