:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --accent-hover: #dd6b20;
    --light: #f7fafc;
    --dark: #1a202c;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --success: #48bb78;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

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

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.ad-disclosure {
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

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

.nav-main a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

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

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

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

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

/* Magazine Layout */
.magazine-section {
    padding: 80px 0;
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.magazine-full {
    flex: 0 0 100%;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-image {
    height: 200px;
    background-color: var(--gray-light);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

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

.card-text {
    color: var(--gray);
    margin-bottom: 15px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.card-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

/* Service Cards Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
}

/* Feature Boxes */
.feature-box {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-box p {
    color: var(--gray);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

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

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

.comparison-table tr:hover td {
    background: var(--light);
}

/* Stats Section */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 30px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-light);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-value {
    color: var(--gray);
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.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;
}

.footer-disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin-bottom: 0;
}

.cookie-text a {
    color: var(--accent);
}

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

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--accent);
    color: var(--white);
}

.cookie-accept:hover {
    background: var(--accent-hover);
}

.cookie-reject {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--white);
}

.cookie-reject:hover {
    border-color: var(--white);
}

/* Thanks Page */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

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

.thanks-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

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

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 40px 0 15px;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin: 30px 0 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--dark);
}

.legal-content ul {
    margin: 15px 0 15px 30px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-member {
    flex: 0 0 280px;
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gray-light);
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--gray);
}

/* Split Layout */
.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.split-content {
    flex: 1;
    min-width: 300px;
    padding: 60px;
}

.split-image {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    background: var(--gray-light);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .nav-main.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .magazine-sidebar {
        flex: 0 0 100%;
    }

    .service-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .split-content {
        padding: 40px 20px;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .stat-item {
        flex: 0 0 50%;
    }

    .footer-col {
        flex: 0 0 100%;
    }

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

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

@media (max-width: 480px) {
    .header-top-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
