/* Cost Calculator Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header Styles */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #204080;
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #204080;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #204080;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 16px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #666;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f8f9ff;
    color: #204080;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    margin-bottom: 60px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.calculator-intro {
    margin-bottom: 80px;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}

.intro-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid rgba(32, 64, 128, 0.1);
}

.highlight-item i {
    color: #204080;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Tools Grid */
.calculator-tools {
    margin-bottom: 80px;
}

.calculator-tools h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

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

.tool-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(32, 64, 128, 0.15);
    border-color: #204080;
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #204080 0%, #3366cc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.tool-icon i {
    font-size: 32px;
    color: white;
}

.tool-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.tool-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tool-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.tool-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
}

.tool-features i {
    color: #28a745;
    font-size: 14px;
    flex-shrink: 0;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #204080 0%, #3366cc 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 64, 128, 0.3);
}

/* Features Section */
.calculator-features {
    margin-bottom: 80px;
}

.calculator-features h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(32, 64, 128, 0.15);
    border-color: #204080;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #204080 0%, #3366cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Cost Guidance Section */
.cost-guidance {
    margin-bottom: 80px;
    background: #f8f9ff;
    padding: 60px 0;
    border-radius: 20px;
}

.cost-guidance h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.guidance-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.guidance-intro {
    text-align: center;
    margin-bottom: 50px;
}

.guidance-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.cost-categories {
    display: grid;
    gap: 30px;
}

.category-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(32, 64, 128, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #204080 0%, #3366cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.category-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.category-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.category-content li {
    font-size: 15px;
    color: #333;
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
}

.category-content li:before {
    content: "•";
    color: #204080;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 80px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.faq-header p {
    font-size: 18px;
    color: #666;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: white;
}

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

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

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 16px;
    color: #204080;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 24px 24px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    .category-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .category-icon {
        margin: 0 auto;
    }

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

    .cost-guidance {
        padding: 40px 0;
        margin: 0 24px 60px;
    }
}
