:root {
    --primary: #3C3A6A;
    --secondary: #322A52;
    --accent: #3DE0DE;
    --background: #f8f9fa;
    --background2: #f1f3f9;
    --background3: #ffffff;
    --background4: #f5f5f5;
    --frontfont: #333333;
    --gradient: linear-gradient(135deg, #3C3A6A, #322A52);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--frontfont);
    background-color: var(--background4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

header {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.navbar {
    background: rgba(60, 58, 106, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.back-home {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.clickable-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 1;
}

.faq-container {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    background-color: var(--secondary);
    color: white;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-answer {
    padding: 1rem;
    border-top: 2px solid var(--accent);
    display: none;
    background-color: white;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.footer-divider {
    margin: 20px 0;
    height: 1px;
    background-color: var(--accent);
    border: none;
}

.fi-hero {
    background: var(--gradient);
    padding: 4rem 2rem 1rem;
    text-align: center;
    color: white;
    position: relative;
}

.fi-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.fi-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

footer {
    background: var(--secondary);
    color: var(--background3);
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary);
}

.search-container {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 1rem;
}

.contact-info {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.useful-links {
    margin-top: 15px;
    font-size: 1em;
}

.useful-links p {
    line-height: 1.8;
}

.scenario-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scenario-title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.comparison-box {
    background: var(--background);
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent);
}

.summary-section {
    background: var(--secondary);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-list li::before {
    content: "•";
    color: var(--accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

.calculation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.calculation-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-last {
    font-weight: bold;
    color: var(--accent);
}

.funding-tiers {
    background: var(--background2);
    padding: 4rem 2rem;
}

.fca-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: inline-block;
}

.startup-hero {
    background: var(--gradient);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    position: relative;
}

.startup-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.startup-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.startup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.tier {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.tier-header h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tier-amount {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1.5rem 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.requirements-list {
    list-style: none;
    margin: 1.5rem 0;
}

.requirements-list li {
    margin: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.5;
}

.requirements-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 12px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateY(-50%) rotate(45deg);
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        padding: 1rem;
    }
    .nav-links {
        display: none;
    }
    .startup-hero h1 {
        font-size: 2rem;
    }
    .startup-grid {
        grid-template-columns: 1fr;
    }
    .tier {
        margin: 2rem 1rem;
        padding: 2rem;
    }
}
