/* Side Hustle Income Calculator - Professional CSS */

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

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    margin-top: 80px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #805ad5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo i {
    font-size: 1.8rem;
}

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

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #805ad5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #805ad5;
    transition: width 0.3s ease;
}

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

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

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: #f8fafc;
}

.intro-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

.intro-description {
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* Impact Examples */
.impact-examples {
    margin: 3rem 0;
}

.example-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.example-scenario {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
}

.example-scenario:first-child {
    background: #fed7d7;
    border-left: 4px solid #f56565;
}

.example-scenario:last-child {
    background: #c6f6d5;
    border-left: 4px solid #48bb78;
}

.example-scenario h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.scenario-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scenario-details span {
    padding: 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 500;
}

.runway.danger {
    color: #c53030;
    background: rgba(197, 48, 48, 0.1) !important;
}

.runway.good {
    color: #2f855a;
    background: rgba(47, 133, 90, 0.1) !important;
}

.vs-arrow {
    font-size: 2rem;
    color: #805ad5;
}

/* Key Benefits */
.key-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: white;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calculator-card, .results-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calculator-card h2, .results-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calculator-card h2 i {
    color: #805ad5;
}

.results-card h2 i {
    color: #38a169;
}

/* Input Sections */
.input-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #805ad5;
}

.input-section.current-situation {
    background: #f7fafc;
}

.input-section.side-hustle-scenarios {
    background: #f0fff4;
}

.input-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.input-prefix {
    position: absolute;
    left: 16px;
    color: #718096;
    font-weight: 600;
    z-index: 2;
    font-size: 1.1rem;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 16px 20px 16px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Poppins', sans-serif;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.input-help {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Income Scenarios */
.scenarios-subtitle {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.income-scenarios {
    display: grid;
    gap: 1rem;
}

.scenario-input {
    display: flex;
    flex-direction: column;
}

.scenario-input label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Advanced Options */
.advanced-options {
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.advanced-toggle {
    width: 100%;
    padding: 1rem;
    background: #f7fafc;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #4a5568;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.advanced-toggle:hover {
    background: #edf2f7;
}

.advanced-toggle i {
    transition: transform 0.3s ease;
}

.advanced-toggle.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.advanced-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.advanced-content.active {
    max-height: 500px;
    padding: 1.5rem;
}

.advanced-inputs {
    display: grid;
    gap: 1.5rem;
}

/* Slider Styles */
.slider-wrapper {
    position: relative;
    margin: 0.5rem 0;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #805ad5;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #805ad5;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-value {
    position: absolute;
    right: 0;
    top: -35px;
    background: #2d3748;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Presets Section */
.presets-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fef5e7;
    border-radius: 12px;
    border-left: 4px solid #ed8936;
}

.presets-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

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

.preset-btn {
    padding: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.preset-btn:hover {
    border-color: #ed8936;
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.15);
    transform: translateY(-2px);
}

.preset-btn.active {
    border-color: #ed8936;
    background: #fef5e7;
}

.preset-btn i {
    font-size: 1.2rem;
    color: #ed8936;
}

.preset-info strong {
    display: block;
    color: #2d3748;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.preset-info span {
    color: #718096;
    font-size: 0.85rem;
}

/* Results Card */
.results-card {
    position: sticky;
    top: 100px;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 2rem;
}

.comparison-grid {
    display: grid;
    gap: 1rem;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    position: relative;
}

.comparison-card.baseline {
    background: #fed7d7;
    border-color: #f56565;
}

.comparison-card.scenario {
    background: #c6f6d5;
    border-color: #48bb78;
}

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

.scenario-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.runway-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.runway-badge.danger {
    background: #fed7d7;
    color: #c53030;
}

.runway-badge.okay {
    background: #feebc8;
    color: #c05621;
}

.runway-badge.good {
    background: #c6f6d5;
    color: #2f855a;
}

.comparison-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.9rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
}

.detail-label {
    color: #718096;
}

.detail-value {
    font-weight: 600;
    color: #2d3748;
}

.extension-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: #48bb78;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Chart Section */
.chart-section {
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.chart-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-section canvas {
    max-height: 400px;
}

/* Impact Summary */
.impact-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0fff4;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
}

.impact-summary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.insights-list {
    display: grid;
    gap: 0.75rem;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.insight-icon {
    width: 24px;
    height: 24px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.insight-text {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Actions Section */
.actions-section {
    margin: 2rem 0;
}

.actions-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.action-cards {
    display: grid;
    gap: 1rem;
}

.action-card {
    padding: 1rem;
    background: #fef5e7;
    border-left: 4px solid #ed8936;
    border-radius: 8px;
}

.action-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.action-description {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Ideas Section */
.ideas-section {
    padding: 80px 0;
    background: #f8fafc;
}

.ideas-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

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

.idea-category {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-header i {
    font-size: 1.2rem;
    color: #805ad5;
}

.difficulty {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background: #edf2f7;
    color: #4a5568;
}

.category-content {
    position: relative;
}

.ideas-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.ideas-list li {
    padding: 0.75rem 0;
    color: #4a5568;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9;
}

.ideas-list li:last-child {
    border-bottom: none;
}

.ideas-list li strong {
    color: #2d3748;
}

.time-investment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.time-investment i {
    color: #805ad5;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: white;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    position: relative;
    z-index: 2;
}

.timeline-marker .month {
    display: block;
    width: 100px;
    padding: 0.75rem;
    background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
    color: white;
    text-align: center;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #805ad5;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-content li:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #805ad5;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #805ad5;
    font-weight: 700;
}

/* Tax Section */
.tax-section {
    padding: 80px 0;
    background: #f8fafc;
}

.tax-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

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

.tax-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.tax-card.important {
    border-left: 4px solid #f56565;
    background: #fefcfc;
}

.tax-card.tips {
    border-left: 4px solid #48bb78;
    background: #f0fff4;
}

.tax-card.deductions {
    border-left: 4px solid #4299e1;
    background: #f0f9ff;
}

.tax-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.tax-card.important .tax-icon {
    background: rgba(245, 101, 101, 0.1);
    color: #f56565;
}

.tax-card.tips .tax-icon {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.tax-card.deductions .tax-icon {
    background: rgba(66, 153, 225, 0.1);
    color: #4299e1;
}

.tax-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.tax-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.tax-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.tax-card li:last-child {
    border-bottom: none;
}

.tax-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.tax-card.important li::before {
    color: #f56565;
}

.tax-card.tips li::before {
    color: #48bb78;
}

.tax-card.deductions li::before {
    color: #4299e1;
}

/* Next Steps Section */
.next-steps-section {
    padding: 80px 0;
    background: white;
}

.next-steps-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cta-card.featured {
    background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
    color: white;
    transform: scale(1.05);
}

.cta-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cta-card:not(.featured) .cta-icon {
    background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
    color: white;
}

.cta-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: white;
    color: #805ad5;
}

.cta-button.primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-button:not(.primary) {
    background: #805ad5;
    color: white;
}

.cta-button:not(.primary):hover {
    background: #6b46c1;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #718096;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #a0aec0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4299e1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4299e1;
    color: white;
    transform: translateY(-2px);
}

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

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

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4299e1;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .results-card {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .example-card {
        flex-direction: column;
        text-align: center;
    }

    .vs-arrow {
        transform: rotate(90deg);
    }

    .key-benefits, .preset-buttons {
        grid-template-columns: 1fr;
    }

    .intro-section, .calculator-section, .ideas-section, .timeline-section, .tax-section, .next-steps-section, .faq-section {
        padding: 60px 0;
    }

    .intro-content h2, .ideas-section h2, .timeline-section h2, .tax-section h2, .next-steps-section h2, .faq-section h2 {
        font-size: 2rem;
    }

    .ideas-grid, .tax-grid, .cta-grid {
        grid-template-columns: 1fr;
    }

    .cta-card.featured {
        transform: none;
    }

    .cta-card.featured:hover {
        transform: translateY(-5px);
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-marker .month {
        width: 50px;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .calculator-card, .results-card {
        padding: 1.5rem;
    }
    
    .comparison-details {
        grid-template-columns: 1fr;
    }
    
    .idea-category, .tax-card, .cta-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .faq-section {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .calculator-card, .results-card, .idea-category, .tax-card, .cta-card, .faq-item {
        border: 2px solid #000;
    }
    
    .nav-link::after {
        background: #000;
    }
}