
/* --- CARTOON / NEO-BRUTALISM VARIABLES --- */
:root {
    --primary: #FFD93D; /* Yellow */
    --secondary: #6BCB77; /* Green */
    --accent: #4D96FF; /* Blue */
    --danger: #FF6B6B; /* Red */
    --dark: #1e293b;
    --white: #ffffff;
    --border-color: #000000;
    --border-width: 3px;
    --shadow-hard: 5px 5px 0px 0px #000000;
    --shadow-hover: 2px 2px 0px 0px #000000;
    --radius: 12px;
}

/* --- BASE STYLES --- */
* {
    box-sizing: border-box;
}

body {
    background-color: #f0f8ff;
    background-image: radial-gradient(#dbeafe 2px, transparent 2px);
    background-size: 20px 20px;
    font-family: 'Nunito', sans-serif; /* Rounded readable font */
    color: var(--dark);
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif; /* Cartoonish heading font */
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.2s;
}

a:hover {
    color: var(--danger);
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- HEADER & NAVIGATION --- */
.header-wrapper {
    background-color: var(--primary);
    border-bottom: var(--border-width) solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem; /* Slightly smaller for mobile safety, adjusted in media query */
    font-weight: 700;
    color: var(--dark);
    text-shadow: 2px 2px 0px #fff;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 60%;
}

/* Desktop Language Nav */
.desktop-lang {
    display: none;
}

/* Mobile Controls */
.mobile-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-dropdown-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    font-family: 'Fredoka', sans-serif;
}

.burger {
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
    user-select: none;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0 #000;
}

.burger:active, .lang-dropdown-btn:active {
    box-shadow: none;
    transform: translate(3px, 3px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%; /* Push below header */
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: var(--border-width) solid var(--border-color);
    padding: 20px;
    flex-direction: column;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lang-item {
    background: #f1f5f9;
    border: 2px solid var(--border-color);
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    color: var(--dark);
    font-weight: bold;
    box-shadow: 2px 2px 0 #000;
}

.lang-item:hover {
    background: var(--accent);
    color: white;
    text-decoration: none;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

/* --- HERO SECTION --- */
.homepage-intro {
    background-color: var(--white);
    border: var(--border-width) solid var(--border-color);
    box-shadow: var(--shadow-hard);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    margin: 3rem auto;
    position: relative;
}

/* Decorative "Paper Clip" or "Tape" look */
.homepage-intro::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 20px;
    z-index: -1;
}

.homepage-intro h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.homepage-intro h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 #000;
}

/* Intro Text Field Logic */
.intro-text-wrapper {
    background: #fff;
    padding: 1rem;
    font-size: 1.1rem;
    color: #333;
}

/* --- FEATURE BLOCKS --- */
.intro-section-block {
    padding: 2rem;
    margin: 2rem 0;
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hard);
    transition: transform 0.2s;
}

.intro-section-block:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #000;
}

/* Specific Block Colors */
.intro-section-block:nth-of-type(1) { background-color: #fee2e2; } /* Red tint */
.intro-section-block:nth-of-type(2) { background-color: #dcfce7; } /* Green tint */
.intro-section-block:nth-of-type(3) { background-color: #e0f2fe; } /* Blue tint */
.author-block { background-color: #fef9c3 !important; } /* Yellow tint */

.intro-section-block h3 {
    font-size: 1.5rem;
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

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

.intro-section-block ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
}

/* Custom Checkmarks */
.intro-section-block ul li::before {
    content: '✖';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--danger);
    font-weight: 900;
    font-size: 1.2rem;
}

.advantage-block ul li::before {
    content: '✔';
    color: var(--secondary); /* Green */
    text-shadow: 1px 1px 0 #000;
}

/* --- COMPARISON TABLE --- */
.table-container {
    overflow-x: auto; /* Scroll on mobile */
    margin: 2rem 0;
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hard);
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Force scroll on small screens */
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
}

.comparison-table thead {
    background-color: var(--dark);
    color: var(--white);
}

.comparison-table thead th {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table td:last-child {
    border-right: none;
    font-weight: bold;
    color: var(--dark);
    background-color: rgba(107, 203, 119, 0.1); /* Slight green tint for Delaware column */
}

/* --- PRICING --- */
.pricing-tier-wrapper {
    padding: 3rem 0;
    background-color: var(--primary); /* Yellow stripe */
    margin-top: 3rem;
    border-top: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    background-image: repeating-linear-gradient(45deg, var(--primary) 0, var(--primary) 20px, #facc15 20px, #facc15 40px);
}

.pricing-tier-header h2 {
    font-size: 3rem;
    color: var(--dark);
    text-shadow: 2px 2px 0 #fff;
    margin-bottom: 10px;
}
.pricing-tier-header p {
    font-weight: bold;
    background: white;
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid black;
    border-radius: 20px;
}

.pricing-tier-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-tier-card {
    background: var(--white);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-hard);
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    position: relative;
}

.pricing-tier-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 8px 8px 0 #000;
}

.pricing-tier-card h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-tier-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    color: var(--dark);
    font-family: 'Fredoka', sans-serif;
}

.pricing-tier-tagline {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.pricing-tier-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding-left: 25px;
    position: relative;
}
.pricing-tier-features li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--primary);
    text-shadow: 1px 1px 0 #000;
}

.pricing-tier-button {
    margin-top: auto;
    display: block;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-weight: 800;
    border-radius: 8px;
    border: 2px solid transparent;
    font-family: 'Fredoka', sans-serif;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.pricing-tier-button:hover {
    background: var(--accent);
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

/* Gold & Platinum Specifics */
.is-gold {
    border-color: #000;
}
.is-gold h3 { color: #d97706; }
.is-gold .pricing-tier-button {
    background: #fbbf24;
    color: #000;
    border: 2px solid #000;
}
.is-gold .pricing-tier-button:hover { background: #f59e0b; }

.is-platinum {
    border-color: #000;
}
.is-platinum h3 { color: var(--danger); }
.is-platinum .pricing-tier-button {
    background: var(--danger);
    color: white;
    border: 2px solid #000;
}
.is-platinum .pricing-tier-button:hover { background: #dc2626; }

/* --- FAQ ACCORDION --- */
.faq-accordion {
    margin: 2rem 0;
}

.accordion-button {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 15px;
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--white);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    box-shadow: 4px 4px 0 #000;
    transition: all 0.2s;
    outline: none;
    position: relative;
}

.accordion-button:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-weight: 900;
    font-size: 1.5rem;
}

.accordion-button.active:after {
    content: '-';
}

.accordion-button:active, .accordion-button.active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

/* Fun Colors for FAQ */
.color-1 { background-color: #ffe4e6; }
.color-2 { background-color: #dbeafe; }
.color-3 { background-color: #dcfce7; }
.color-4 { background-color: #fef9c3; }
.color-5 { background-color: #f3e8ff; }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    margin-top: -10px;
    margin-bottom: 15px;
    border-left: var(--border-width) solid var(--border-color);
    border-right: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0 20px;
}
.accordion-panel.show-panel {
    padding: 20px;
}

/* --- KNOWLEDGE BASE --- */
.knowledge-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 3rem;
}

.knowledge-link {
    background: white;
    border: 2px solid #000;
    padding: 10px 20px;
    border-radius: 50px;
    color: #000 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 3px 3px 0 #000;
}

.knowledge-link:hover {
    background: var(--accent);
    color: white !important;
    text-decoration: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
}

.color-red { border-color: var(--danger); color: var(--danger) !important; }
.color-blue { border-color: var(--accent); color: var(--accent) !important; }
.color-green { border-color: var(--secondary); color: var(--secondary) !important; }

/* --- FOOTER --- */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    border-top: 5px solid var(--border-color);
}

.footer h6 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: var(--primary);
}

.social-media a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 42px;
    background: white;
    color: var(--dark);
    border-radius: 50%;
    margin: 0 8px;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 var(--primary);
    transition: 0.2s;
}

.social-media a:hover {
    transform: translateY(-3px);
    background: var(--primary);
    box-shadow: 3px 3px 0 #fff;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright a {
    color: var(--primary);
}

/* --- POPUP (TitovOS) --- */
#info-popup {
    display: none;
    position: absolute;
    background: white;
    border: 2px solid black;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.5);
    z-index: 2000;
    max-width: 250px;
    font-size: 0.9rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 768px) {
    /* Show desktop nav, hide mobile controls */
    .mobile-controls { display: none; }
    
    .desktop-lang {
        display: block;
    }
    .desktop-lang a {
        color: var(--dark);
        margin: 0 5px;
        font-weight: 700;
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    /* Make menu horizontal on desktop if needed, though design keeps it strictly language */
}

@media (max-width: 600px) {
    .homepage-intro h1 { font-size: 1.8rem; }
    .homepage-intro h2 { font-size: 1.5rem; }
    .pricing-tier-amount { font-size: 2.5rem; }
    .intro-section-block { padding: 1.5rem 1rem; }
    .container { width: 95%; padding: 0 10px; }
}
