
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #8B5CF6;
    --accent-color: #EC4899;
    --success-color: #10B981;
    --bg-color: #F8FAFC;
    --surface-color: #FFFFFF;
    --dark-color: #0F172A;
    --light-gray: #E2E8F0;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --gradient-1: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-2: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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


.site-header {
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

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

.logo {
    height: 45px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}


.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

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

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    color: var(--text-primary);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.hero-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}


.intro-section {
    padding: 80px 0;
    background: var(--surface-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: var(--gradient-1);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}


.top-books-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.book-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.book-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
}

.book-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.book-author {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.book-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.book-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-tag {
    background: var(--light-gray);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
}


.book-review-section {
    padding: 80px 0;
    background: var(--surface-color);
}

.book-review-section.alt-layout {
    background: var(--bg-color);
}

.review-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.review-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.review-image img {
    width: 100%;
    height: auto;
    display: block;
}

.review-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.review-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.review-text h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.review-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}


.planning-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.planning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.planning-card {
    background: var(--surface-color);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.planning-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.planning-icon i {
    color: white;
    font-size: 1.5rem;
}

.planning-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.planning-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.planning-image-section {
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.planning-image-section img {
    width: 100%;
    height: auto;
    display: block;
}


.investment-section {
    padding: 80px 0;
    background: var(--surface-color);
}

.investment-header {
    text-align: center;
    margin-bottom: 60px;
}

.investment-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.investment-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.investment-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.investment-book-highlight h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.book-author-large {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.investment-book-highlight h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.investment-book-highlight p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.investment-tips-box {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.investment-tips-box h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.investment-tips-list {
    list-style: none;
}

.investment-tips-list li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.investment-tips-list i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.investment-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.investment-image img {
    width: 100%;
    height: auto;
    display: block;
}


.insurance-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.insurance-section h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.insurance-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.insurance-type {
    background: var(--surface-color);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.insurance-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.insurance-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.insurance-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.insurance-type p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.insurance-type h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.insurance-type ul {
    list-style: none;
    padding-left: 0;
}

.insurance-type ul li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.insurance-type ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.insurance-recommendation {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid var(--primary-color);
}

.insurance-books {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.insurance-books h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.book-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-item {
    color: var(--text-secondary);
    line-height: 1.7;
}

.book-item strong {
    color: var(--text-primary);
}

.insurance-image-section {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.insurance-image-section img {
    width: 100%;
    height: auto;
    display: block;
}


.working-retirement-section {
    padding: 80px 0;
    background: var(--surface-color);
}

.working-retirement-section h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 15px;
}

.working-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.working-card {
    background: var(--bg-color);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.working-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.working-card h3 i {
    color: var(--primary-color);
}

.working-card h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.working-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.working-card ul {
    list-style: none;
    padding-left: 0;
}

.working-card ul li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.working-card ul li:before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.working-card ul li strong {
    color: var(--text-primary);
}

.working-example {
    background: var(--surface-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--accent-color);
}

.book-recommendation {
    background: var(--surface-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.book-recommendation strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.working-image {
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.working-image img {
    width: 100%;
    height: auto;
    display: block;
}


.collections-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.collections-grid {
    display: grid;
    gap: 40px;
}

.collection-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.collection-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.collection-icon i {
    color: white;
    font-size: 2rem;
}

.collection-card h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.collection-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.book-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.book-entry {
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.7;
}

.book-entry strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.collection-image {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.collection-image img {
    width: 100%;
    height: auto;
    display: block;
}


.reader-form-section {
    padding: 80px 0;
    background: var(--surface-color);
}

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

.form-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.reader-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    padding: 15px 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}


.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.footer-legal-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cookie-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cookie-btn-primary {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--secondary-color);
}

.cookie-btn-secondary {
    background: var(--light-gray);
    color: var(--text-primary);
}

.cookie-btn-secondary:hover {
    background: var(--text-secondary);
    color: white;
}

.cookie-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--light-gray);
}

.cookie-btn-outline:hover {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}


.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--surface-color);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.cookie-modal-header {
    padding: 25px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.cookie-modal-close:hover {
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 25px;
}

.cookie-category-header {
    display: flex;
    gap: 15px;
    align-items: start;
}

.cookie-category h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-category p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 25px;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}


.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-modal.show {
    display: flex;
}

.success-modal-content {
    background: var(--surface-color);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-modal-content h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-modal-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.modal-close-btn {
    padding: 12px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--secondary-color);
}


.legal-page {
    padding: 80px 0;
    background: var(--bg-color);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.legal-section h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.legal-section ul li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
}

.legal-section ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.cookie-table {
    overflow-x: auto;
    margin: 25px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.cookie-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.cookie-table td {
    color: var(--text-secondary);
}

.cookie-settings-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.cookie-settings-btn:hover {
    background: var(--secondary-color);
}


.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 30px;
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.thanks-submessage {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-secondary);
    color: white;
}


.iti, #phone {
    width: 100%;
}

.iti__flag-container {
    padding: 0;
}


@media (max-width: 768px) {
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--surface-color);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

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

    .nav-menu li {
        margin-bottom: 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

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

    
    .review-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .review-content h2 {
        font-size: 2rem;
    }

    
    .investment-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .checkbox-group {
        grid-template-columns: 1fr;
    }

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

    
    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    
    .cookie-modal-content {
        max-height: 80vh;
    }

    .success-modal-content {
        padding: 30px;
    }

    
    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    
    .thanks-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    
    .insurance-comparison {
        grid-template-columns: 1fr;
    }

    
    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    
    .hero-content {
        gap: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .planning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .working-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.book-card,
.planning-card,
.working-card,
.collection-card {
    animation: fadeIn 0.6s ease-out;
}


html {
    scroll-behavior: smooth;
}


::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}