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

:root {
    /* Color Palette - Inspired by Reference */
    --primary-color: #4d6ef3;
    --primary-dark: #33489f;
    --primary-light: #7a99ff;
    --secondary-color: #3b82f6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-teal: #14b8a6;
    
    /* Neutral Colors */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    
    /* Section Title Color */
    --section-title-color: #263659;
    
    /* Shadows */
    --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);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

/* ===================================
   Top Banner
   =================================== */
.top-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
}

.top-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.banner-text {
    font-weight: 500;
}

.banner-link {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 10px;
}

.banner-link:hover {
    opacity: 0.8;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-name {
    color: var(--text-dark);
}

.logo-domain {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 18px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--section-title-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.trust-icon {
    color: var(--accent-green);
    font-weight: 700;
}

/* Hero Image Container */
.hero-image-container {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Hero CTA Button with Gradient */
.hero-cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(77, 110, 243, 0.3) !important;
}

.hero-cta-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 110, 243, 0.4) !important;
}

/* Stats Card */
.stats-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.stats-icon {
    font-size: 24px;
}

.stats-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
}

.stat-icon.purple {
    background: linear-gradient(135deg, #a78bfa, var(--primary-color));
}

.stat-icon.blue {
    background: linear-gradient(135deg, #60a5fa, var(--secondary-color));
}

.stat-icon.green {
    background: linear-gradient(135deg, #34d399, var(--accent-green));
}

.stat-icon.orange {
    background: linear-gradient(135deg, #fbbf24, var(--accent-orange));
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===================================
   Section Headers
   =================================== */
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--section-title-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

/* ===================================
   About Section
   =================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* ===================================
   Regions Section
   =================================== */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.region-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.region-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.region-flag {
    font-size: 48px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.flag-svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.clickable-region {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-region:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(77, 110, 243, 0.15);
}

.clickable-region:active {
    transform: translateY(-2px);
}

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

.region-code {
    font-size: 14px;
    color: var(--text-gray);
}

.region-note {
    background: #fff7ed;
    border: 2px solid #fed7aa;
    border-radius: 12px;
    padding: 20px;
    color: #9a3412;
    font-size: 15px;
    text-align: center;
}

/* ===================================
   Advantages Section
   =================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.advantage-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

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

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.advantage-icon.purple {
    background: linear-gradient(135deg, #a78bfa, var(--primary-color));
}

.advantage-icon.blue {
    background: linear-gradient(135deg, #60a5fa, var(--secondary-color));
}

.advantage-icon.green {
    background: linear-gradient(135deg, #34d399, var(--accent-green));
}

.advantage-icon.orange {
    background: linear-gradient(135deg, #fbbf24, var(--accent-orange));
}

.advantage-icon.red {
    background: linear-gradient(135deg, #f87171, var(--accent-red));
}

.advantage-icon.teal {
    background: linear-gradient(135deg, #2dd4bf, var(--accent-teal));
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--section-title-color);
}

.advantage-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.advantage-card p strong {
    font-weight: 600;
}

.check-list {
    margin-top: 16px;
}

.check-list li {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 8px;
}

/* ===================================
   How It Works Section
   =================================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.step-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 20px 0;
}

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

.step-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 16px;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--section-title-color);
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-note {
    margin-top: 24px;
    font-size: 16px;
    opacity: 0.9;
}

.cta-note a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* CTA Section Button - Minimalistic Contrast Style */
.cta-section .btn-primary {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3) !important;
}

.cta-section .btn-primary:hover {
    background: var(--bg-light) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 12px;
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 500px;
    margin: 50px auto;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-gray);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

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

.modal-header {
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.modal-header p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

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

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

.required {
    color: var(--accent-red);
}

.optional {
    color: var(--text-light);
    font-weight: 400;
}

.modal-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.error-message {
    display: block;
    color: var(--accent-red);
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.form-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), #34d399);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.success-message p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-right {
        order: -1;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
    }
    
    .modal-content {
        margin: 20px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .top-banner .container {
        font-size: 12px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Loading & Disabled States
   =================================== */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   Legal Pages Styles
   =================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #263659;
}

.legal-updated {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

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

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
    color: #263659;
}

.legal-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 24px;
    color: #263659;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.legal-section ul,
.legal-section ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: disc;
}

.legal-section ol {
    list-style: decimal;
}

.legal-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 8px;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

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

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

.contact-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.contact-info li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.legal-back-link {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 32px;
    }
    
    .legal-section h2 {
        font-size: 24px;
    }
    
    .legal-section h3 {
        font-size: 20px;
    }
}
.nav-wrapper .logo img {
    transition: opacity 0.3s ease;
}

.nav-wrapper .logo img:hover {
    opacity: 0.7;
}
@media (max-width: 768px) {
    .top-banner .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-text {
        flex: 1 1 100%;
        text-align: center;
        order: 1;
    }
    
    .banner-icon {
        order: 0;
    }
    
    .banner-link {
        order: 2;
    }
}
@media (max-width: 480px) {
    .top-banner .container {
        /* убираем колонку и даём обычный inline‑ряд */
        display: block;
        text-align: center;
        font-size: 12px; /* можешь подправить */
        line-height: 1.3;
    }

    .top-banner .banner-icon,
    .top-banner .banner-text,
    .top-banner .banner-link {
        display: inline;          /* все в одну строку */
    }
}
@media (max-width: 768px) {
    .nav-wrapper {
        display: flex !important;
        flex-direction: row !important; /* заставляем элементы встать в ряд */
        justify-content: space-between !important; /* лого слева, кнопка справа */
        align-items: center !important;
        flex-wrap: nowrap !important; /* запрещаем перенос на новую строку */
    }

    /* Скрываем текстовое меню на мобилках, если оно мешает (обычно его прячут в "бургер") */
    .nav-menu {
        display: none; 
    }

    /* Уменьшаем размеры, чтобы точно влезло в один ряд */
    .nav-wrapper .logo img {
        height: 35px !important; /* немного уменьшаем лого */
    }

    .nav-wrapper .btn-primary {
        padding: 8px 12px !important; /* уменьшаем отступы кнопки */
        font-size: 13px !important;   /* уменьшаем шрифт кнопки */
        margin: 0 !important;
        white-space: nowrap !important; /* чтобы текст в кнопке не переносился */
    }
}
