:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #3182ce;
    --light: #ebf8ff;
    --dark: #1a202c;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #38a169;
    --warning: #d69e2e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

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

.ad-disclosure {
    background: var(--dark);
    color: var(--text-light);
    font-size: 12px;
    padding: 8px 20px;
    text-align: center;
}

.top-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.hero-magazine {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-magazine::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=80') center/cover;
    opacity: 0.15;
}

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

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-align: center;
}

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

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
}

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

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

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

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

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

.article-image {
    height: 220px;
    background-color: var(--secondary);
    overflow: hidden;
}

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

.article-body {
    padding: 24px;
}

.article-category {
    display: inline-block;
    background: var(--light);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.trend-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.trend-item:last-child {
    border-bottom: none;
}

.trend-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    min-width: 40px;
}

.trend-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.trend-content p {
    font-size: 12px;
    color: var(--text-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: calc(33.333% - 16px);
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 14px;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.multi-column {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.column-wide {
    flex: 3;
    min-width: 300px;
}

.column-narrow {
    flex: 2;
    min-width: 250px;
}

.feature-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

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

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

.feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0;
}

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

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

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

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-dark .stat-label {
    color: rgba(255,255,255,0.7);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 80px;
    color: var(--light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.author-info p {
    font-size: 13px;
    color: var(--text-light);
}

.cta-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    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: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.form-checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 16px;
}

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

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form-wrap {
    flex: 2;
    min-width: 300px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
}

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

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

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-light);
}

.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.wide {
    flex: 2;
    min-width: 280px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

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

.disclaimer {
    background: var(--light);
    padding: 24px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 30px;
    border-left: 4px solid var(--warning);
}

.references {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.references-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.references-list {
    list-style: none;
}

.references-list li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-light);
}

.references-list a {
    color: var(--accent);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

.cookie-content {
    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: 280px;
    font-size: 14px;
    line-height: 1.6;
}

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

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

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

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

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

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

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

.thanks-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

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

.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;
    stroke: var(--white);
}

.thanks-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.content-page {
    padding: 60px 0;
}

.content-page h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 16px;
}

.content-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 24px 0 12px;
}

.content-page p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-page ul,
.content-page ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

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

.about-image {
    flex: 1;
    min-width: 280px;
    background-color: var(--secondary);
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

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

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    flex: 1;
    min-width: 220px;
    max-width: calc(25% - 23px);
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--text-light);
}

.inline-cta {
    background: var(--light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.inline-cta h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.inline-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .service-card {
        max-width: calc(50% - 12px);
    }

    .team-card {
        max-width: calc(50% - 15px);
    }
}

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

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 20px;
    }

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

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

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

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-card {
        max-width: 100%;
    }

    .team-card {
        max-width: 100%;
    }

    .cta-block {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 24px;
    }

    .form-container {
        padding: 24px;
    }

    .stat-value {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }
}
