/* ==============================
   Global Styles & Variables
   ============================== */
:root {
    --primary-color: #3498DB;
    --primary-dark: #1E40AF;
    --primary-light: #E0F2FE;
    --secondary-color: #34D399;
    --text-color: #1E293B;
    --text-light: #64748B;
    --background-color: #F8FAFC;
    --background-alt: #F1F5F9;
    --border-color: #CBD5E1;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --font-primary: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ==============================
   Reset & Base Styles
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul, ol {
    list-style: none;
    margin-bottom: 1rem;
}

img, svg {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

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

.section {
    position: relative;
}

.section-alt {
    background-color: var(--background-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-color);
    text-decoration: underline;
    padding: 8px 16px;
}

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

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

.btn-white:hover {
    background-color: #f8f8f8;
    color: var(--primary-dark);
}

/* ==============================
   Cookie Banner & Modal
   ============================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 20px;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.cookie-options {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cookie-option label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-option p {
    margin-left: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==============================
   Header & Navigation
   ============================== */
header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 50;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* ==============================
   Hero Banner
   ============================== */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='pattern' width='100' height='100' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(5)'%3E%3Crect width='100%25' height='100%25' fill='%23E0F2FE'/%3E%3Cpath d='M-10 30h60v1h-60z' fill='%233498DB' fill-opacity='0.1'/%3E%3Cpath d='M-10 10h60v1h-60z' fill='%233498DB' fill-opacity='0.1'/%3E%3Cpath d='M10-10v60h1v-60z' fill='%233498DB' fill-opacity='0.1'/%3E%3Cpath d='M30-10v60h1v-60z' fill='%233498DB' fill-opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23pattern)'/%3E%3C/svg%3E");
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* ==============================
   Intro Section
   ============================== */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.intro-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.intro-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.intro-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.intro-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==============================
   Comparison Table
   ============================== */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

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

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

.comparison-table tr:hover td {
    background-color: #f9f9f9;
}

.rating {
    display: flex;
    align-items: center;
}

.star {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.star.filled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23F59E0B' stroke='%23F59E0B' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.star.half {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='half' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='50%25' stop-color='%23F59E0B' /%3E%3Cstop offset='50%25' stop-color='%23CBD5E1' stop-opacity='0.3' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2' fill='url(%23half)' stroke='%23F59E0B' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3C/polygon%3E%3C/svg%3E");
}

/* ==============================
   Equipment Grid
   ============================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.equipment-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.equipment-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.equipment-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.equipment-compare {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-tag {
    padding: 10px;
    border-radius: var(--border-radius);
    background-color: var(--primary-light);
    font-size: 0.9rem;
}

.company-tag .highlight {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==============================
   Reviews Slider
   ============================== */
.reviews-slider {
    position: relative;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 30px;
    scroll-snap-type: x mandatory;
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    scroll-snap-align: start;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-company {
    font-weight: 600;
    color: var(--primary-dark);
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
}

.review-author {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
}

.review-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.review-prev,
.review-next {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.review-prev:hover,
.review-next:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ==============================
   Financial Section
   ============================== */
.financial-chart-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    height: 400px;
}

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

.financial-highlight-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.financial-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.financial-highlight-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.financial-highlight-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==============================
   Blog Grid
   ============================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-link {
    font-weight: 600;
}

/* ==============================
   Newsletter Section
   ============================== */
.newsletter-wrapper {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: white;
}

.newsletter-icon {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    margin-bottom: 15px;
}

.form-group input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

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

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
}

.form-consent label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==============================
   Contact Section
   ============================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    flex: 0 0 40px;
    display: flex;
    align-items: flex-start;
}

.contact-info-item h3 {
    margin-bottom: 10px;
}

.contact-info-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-media h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-form-container .form-group {
    flex-direction: column;
    gap: 5px;
}

.contact-form-container label {
    font-weight: 600;
}

.contact-form-container input,
.contact-form-container textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.contact-form-container .form-consent label {
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==============================
   Footer
   ============================== */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 70px 0 30px;
    margin-top: 50px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

address p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==============================
   Responsive Styles
   ============================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        min-height: 400px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .newsletter-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero {
        min-height: 350px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .form-group {
        flex-direction: column;
    }
    .form-group input,
    .form-group button {
        width: 100%;
        border-radius: var(--border-radius);
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .hero {
        min-height: 300px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .equipment-grid,
    .financial-highlights,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
