/* Base Styles and Variables */
:root {
    --primary-color: #2e7ddd;
    --primary-dark: #1c68c5;
    --secondary-color: #32c4ab;
    --tertiary-color: #f67e7e;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --text-dark: #222222;
    --bg-color: #ffffff;
    --bg-light: #f7f9fc;
    --bg-dark: #1a1a2e;
    --border-color: #e1e5ee;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --info-color: #2196f3;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 3rem;
    margin-bottom: 0;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.6rem;
    padding: 0.5rem 0;
    position: relative;
}

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

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

nav a.active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--bg-dark);
    color: white;
    padding: 8rem 0;
    background-image: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.85)), url('images/6.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    color: white;
    font-size: 4.8rem;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    max-width: 70%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

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

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

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

.btn-secondary:hover {
    background-color: #2aa58f;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-full {
    width: 100%;
}

/* Featured Posts Section */
.featured-posts {
    padding: 8rem 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

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

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: var(--bg-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-content .date {
    color: var(--text-lighter);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--primary-dark);
}

.view-all {
    text-align: center;
    margin-top: 4rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 6rem 0 3rem;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 2rem;
}

.footer-links h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #b0b0c0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0c0;
    font-size: 1.4rem;
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
}

/* Blog Posts */
.blog-posts {
    padding: 6rem 0;
}

/* Contact Form */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    margin-bottom: 2.5rem;
}

.icon {
    margin-right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-family: var(--font-body);
}

textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-label input {
    width: auto;
    margin-right: 1rem;
}

/* Complaint Section */
.complaint-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.complaint-section h2 {
    margin-bottom: 1rem;
}

.complaint-section p {
    margin-bottom: 3rem;
}

/* About Page */
.about-mission {
    padding: 6rem 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-story {
    padding: 6rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.feature-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Blog Post Single */
.blog-post-container {
    padding: 6rem 0;
}

.post-header {
    margin-bottom: 4rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.post-author, .post-date, .post-category {
    display: flex;
    align-items: center;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.post-date svg, .post-category svg {
    margin-right: 0.5rem;
}

.featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 4rem;
}

.featured-image img {
    width: 100%;
    height: auto;
}

.post-content h2, .post-content h3, .post-content h4 {
    margin-top: 3rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 2.5rem;
}

.post-content img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.post-tags {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
    margin-right: 1rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--bg-light);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 1.4rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.share-post {
    margin-top: 3rem;
    display: flex;
    align-items: center;
}

.share-post span {
    font-weight: 600;
    margin-right: 1.5rem;
}

.social-share {
    display: flex;
    gap: 1.2rem;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-color);
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
}

.post-nav-prev, .post-nav-next {
    max-width: 45%;
}

.post-nav-prev {
    text-align: left;
}

.post-nav-next {
    text-align: right;
}

.post-nav-prev span, .post-nav-next span {
    display: block;
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.related-posts {
    margin-top: 6rem;
}

.related-posts h2 {
    margin-bottom: 3rem;
}

/* Info boxes for blog posts */
.info-box, .warning-box, .tip-box, .disclaimer-box {
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.info-box {
    background-color: #e3f2fd;
    border-left: 5px solid var(--info-color);
}

.warning-box {
    background-color: #fff8e1;
    border-left: 5px solid var(--warning-color);
}

.tip-box {
    background-color: #e8f5e9;
    border-left: 5px solid var(--success-color);
}

.disclaimer-box {
    background-color: #ffebee;
    border-left: 5px solid var(--error-color);
}

.info-box h3, .warning-box h3, .tip-box h3, .disclaimer-box h3, 
.info-box h4, .warning-box h4, .tip-box h4, .disclaimer-box h4 {
    margin-top: 0;
}

/* Pool Cards */
.pool-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.pool-header {
    background-color: var(--bg-light);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pool-header h4 {
    margin: 0;
}

.pool-stats {
    display: flex;
    gap: 2rem;
    font-size: 1.4rem;
}

.apy {
    color: var(--success-color);
    font-weight: 600;
}

.pool-body {
    padding: 2rem;
}

/* Comparison Table */
.comparison-table {
    margin: 4rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th, .comparison-table td {
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

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

.table-conclusion {
    font-style: italic;
    margin-bottom: 3rem;
}

/* Comparison Sections */
.comparison-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.protocol-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.protocol-card h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.comparison-verdict {
    font-weight: 600;
    margin: 2rem 0 4rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.strategy-box {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    box-shadow: var(--box-shadow);
}

.strategy-box h3 {
    margin-top: 0;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.success-content {
    background-color: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.checkmark {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.success-content h2 {
    margin-bottom: 1.5rem;
}

.success-content p {
    margin-bottom: 3rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: white;
    padding: 2rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.cookie-more-info {
    font-size: 1.4rem;
}

.cookie-more-info a {
    color: #a0a0d0;
}

.cookie-more-info a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content, .story-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comparison-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .hero p {
        font-size: 1.8rem;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .post-nav-prev, .post-nav-next {
        max-width: 100%;
        text-align: center;
    }
}
