/* ===========================================
   ISISTANT Invest Landing - Premium Minimalist
   =========================================== */

:root {
    /* Color Palette - Dark & Gold */
    --primary-dark: #0a0a0f;
    --secondary-dark: #12121a;
    --card-dark: #1a1a24;
    --border-dark: #2a2a3a;

    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #aa8b2f;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Rating Colors */
    --rating-a: #22c55e;
    --rating-b: #f59e0b;
    --rating-c: #ef4444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px 0;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.15);

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

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

.btn-full {
    width: 100%;
}

/* ===========================================
   Header
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
}

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

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

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.logo-version {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--card-dark);
    color: var(--gold);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    gap: 5px;
}

.mobile-menu-btn:hover {
    border-color: var(--gold);
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mobile-nav a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text-secondary);
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-actions .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-dark);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-hint {
    font-size: 13px;
    color: var(--text-muted);
}

/* Project Card Preview */
.hero-visual {
    display: flex;
    justify-content: center;
}

.project-card-preview {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

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

.preview-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.rating-a {
    background: rgba(34, 197, 94, 0.15);
    color: var(--rating-a);
}

.rating-b {
    background: rgba(245, 158, 11, 0.15);
    color: var(--rating-b);
}

.rating-c {
    background: rgba(239, 68, 68, 0.15);
    color: var(--rating-c);
}

.rating-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.preview-category {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--secondary-dark);
    padding: 4px 10px;
    border-radius: 4px;
}

.preview-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
}

.metric-value {
    font-size: 16px;
    font-weight: 600;
}

.metric.highlight .metric-value {
    color: var(--gold);
}

.preview-progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: var(--secondary-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 4px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-dark);
}

.investors-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.preview-btn {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ===========================================
   Trust Section
   =========================================== */
.trust-section {
    padding: 40px 0;
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-icon {
    font-size: 20px;
}

/* ===========================================
   Section Titles
   =========================================== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* ===========================================
   How It Works
   =========================================== */
.how-section {
    padding: var(--section-padding);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================================
   Advantages
   =========================================== */
.advantages-section {
    padding: var(--section-padding);
    background: var(--secondary-dark);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.advantage-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.advantage-main {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, var(--card-dark), rgba(212, 175, 55, 0.05));
    border-color: rgba(212, 175, 55, 0.2);
}

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

.advantage-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.advantage-icon {
    font-size: 36px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Витрина рейтингов */
.rating-showcase {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.rating-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    transition: var(--transition);
}

.rating-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.rating-card-a {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.rating-card-a:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.1);
}

.rating-card-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}

.rating-card-a .rating-card-badge {
    background: linear-gradient(135deg, var(--rating-a), #16a34a);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.rating-card-b .rating-card-badge {
    background: linear-gradient(135deg, var(--rating-b), #d97706);
    color: white;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.rating-card-c .rating-card-badge {
    background: linear-gradient(135deg, var(--rating-c), #dc2626);
    color: white;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.rating-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.rating-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.rating-card-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    color: var(--rating-a);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

/* Доверительные метрики */
.trust-metrics {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
    flex-wrap: wrap;
}

.trust-metric {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    transition: var(--transition);
}

.trust-metric:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.25);
}

.trust-metric-icon {
    font-size: 14px;
}

.trust-metric-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
}

/* Legacy rating styles */
.rating-preview {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rating-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.rating-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.rating-item .rating-badge {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0;
}

/* ===========================================
   Projects Section
   =========================================== */
.projects-section {
    padding: var(--section-padding);
}

.projects-preview {
    position: relative;
    margin-bottom: 60px;
    min-height: 200px;
}

.project-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 16px;
}

.blur-content {
    text-align: center;
    max-width: 400px;
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.blur-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blur-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.projects-grid.blurred {
    filter: blur(4px);
    pointer-events: none;
}

.project-card-mini {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 24px;
}

.card-rating {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-roi {
    font-size: 14px;
    color: var(--gold);
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.pstat-item {
    text-align: center;
}

.pstat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
}

.pstat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===========================================
   Calculator
   =========================================== */
.calculator-section {
    padding: var(--section-padding);
    background: var(--secondary-dark);
}

.calculator-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 40px;
}

.calculator-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.calculator-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.calc-input-group label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.calc-input-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-input-wrapper input[type="range"] {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--secondary-dark);
    border-radius: 3px;
    cursor: pointer;
}

.calc-input-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.calc-input-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.calc-input-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 120px;
    justify-content: flex-end;
}

.calc-input-value span:first-child {
    font-size: 20px;
    font-weight: 600;
}

.calc-input-value span:last-child {
    font-size: 14px;
    color: var(--text-muted);
}

.calculator-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
    background: var(--secondary-dark);
    border-radius: 12px;
    margin-bottom: 24px;
}

.result-item {
    text-align: center;
}

.result-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
}

.result-item.highlight .result-value {
    font-size: 24px;
    color: var(--gold);
}

/* ===========================================
   FAQ
   =========================================== */
.faq-section {
    padding: var(--section-padding);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item.active {
    border-color: var(--gold);
}

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

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
}

.faq-toggle {
    font-size: 24px;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--gold);
}

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

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

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

/* ===========================================
   Final CTA
   =========================================== */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary-dark), var(--primary-dark));
    text-align: center;
}

.final-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.final-guarantees {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.final-guarantees span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===========================================
   Footer
   =========================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--primary-dark);
    border-top: 1px solid var(--border-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contacts a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contacts a:hover {
    color: var(--gold);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-dark);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 12px !important;
}

/* ===========================================
   Responsive - Desktop First Approach
   =========================================== */

/* Large tablets and small desktops (1024px and below) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-cta {
        align-items: center;
    }

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

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

    .advantage-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .projects-stats {
        gap: 48px;
    }

    .footer-content {
        gap: 40px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Header Mobile */
    .nav {
        display: none;
    }

    .header-actions .btn-outline,
    .header-actions .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .header-content {
        height: 64px;
    }

    .logo-version {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        text-align: center;
    }

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

    .stat-label {
        font-size: 12px;
    }

    /* Trust Section */
    .trust-section {
        padding: 30px 0;
    }

    .trust-items {
        gap: 20px;
        justify-content: flex-start;
    }

    .trust-item {
        font-size: 13px;
        flex: 0 0 calc(50% - 10px);
    }

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

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-icon {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .step-card h3 {
        font-size: 16px;
    }

    .step-card p {
        font-size: 13px;
    }

    /* Advantages */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-main {
        grid-column: span 1;
        grid-row: span 1;
    }

    .advantage-card {
        padding: 24px;
    }

    .advantage-card h3 {
        font-size: 18px;
    }

    .rating-showcase {
        gap: 10px;
    }

    .rating-card {
        padding: 12px 16px;
        gap: 12px;
    }

    .rating-card-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .rating-card-title {
        font-size: 14px;
    }

    .rating-card-desc {
        font-size: 12px;
    }

    .trust-metrics {
        gap: 8px;
        flex-wrap: wrap;
    }

    .trust-metric {
        padding: 6px 10px;
    }

    .trust-metric-text {
        font-size: 11px;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card-mini {
        padding: 20px;
    }

    .projects-stats {
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }

    .pstat-value {
        font-size: 30px;
    }

    .pstat-label {
        font-size: 13px;
    }

    /* Calculator */
    .calculator-card {
        padding: 28px 20px;
    }

    .calculator-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .calc-input-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .calc-input-value {
        justify-content: center;
        min-width: auto;
    }

    .calculator-result {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .result-label {
        margin-bottom: 0;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 20px;
    }

    .faq-question h3 {
        font-size: 14px;
        padding-right: 20px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 13px;
    }

    /* Final CTA */
    .final-cta {
        padding: 60px 0;
    }

    .final-cta h2 {
        font-size: 26px;
    }

    .final-cta p {
        font-size: 15px;
    }

    .final-guarantees {
        flex-direction: column;
        gap: 10px;
    }

    .final-guarantees span {
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contacts {
        align-items: center;
    }

    .footer-bottom {
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* Large phones / Phablets (640px and below) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 40px;
    }

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

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .trust-items {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .trust-item {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
    }

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

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 32px;
    }

    .blur-content h3 {
        font-size: 20px;
    }

    .blur-content p {
        font-size: 13px;
    }

    .lock-icon {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .advantage-icon {
        font-size: 28px;
    }

    .advantage-card h3 {
        font-size: 16px;
    }

    .advantage-card p {
        font-size: 13px;
    }

    .rating-card {
        padding: 10px 14px;
    }

    .rating-card-badge {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .rating-card-title {
        font-size: 13px;
    }

    .rating-card-desc {
        font-size: 11px;
    }

    .rating-card-check {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .trust-metric {
        padding: 5px 8px;
    }

    .trust-metric-text {
        font-size: 10px;
    }

    .trust-metric-icon {
        font-size: 12px;
    }

    .pstat-value {
        font-size: 26px;
    }

    .final-cta h2 {
        font-size: 22px;
    }

    .final-cta p {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

/* Medium phones (480px and below) */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px 0;
    }

    .header-content {
        height: 60px;
    }

    .mobile-menu {
        top: 60px;
        padding: 20px 16px;
    }

    .logo-icon {
        font-size: 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .lang-switcher {
        margin-right: 8px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .hero {
        padding: 80px 0 36px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .hero-stats {
        gap: 14px;
        margin-bottom: 28px;
    }

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

    .stat-label {
        font-size: 11px;
    }

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

    .cta-hint {
        font-size: 12px;
    }

    .trust-section {
        padding: 24px 0;
    }

    .trust-item {
        font-size: 12px;
    }

    .trust-icon {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 12px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .step-card {
        padding: 20px 16px;
    }

    .step-number {
        font-size: 11px;
        top: 12px;
        left: 12px;
    }

    .step-icon {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .step-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .step-card p {
        font-size: 12px;
    }

    .advantage-card {
        padding: 20px 16px;
    }

    .advantage-header {
        margin-bottom: 12px;
    }

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

    .advantage-badge {
        font-size: 9px;
        padding: 3px 8px;
    }

    .advantage-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .advantage-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    .rating-showcase {
        margin: 20px 0;
        gap: 8px;
    }

    .rating-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .rating-card-badge {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .rating-card-title {
        font-size: 12px;
    }

    .rating-card-desc {
        font-size: 10px;
    }

    .rating-card-check {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .trust-metrics {
        margin-top: 16px;
        padding-top: 16px;
        gap: 6px;
    }

    .trust-metric {
        padding: 4px 8px;
    }

    .trust-metric-icon {
        font-size: 11px;
    }

    .trust-metric-text {
        font-size: 9px;
    }

    .project-card-mini {
        padding: 16px;
    }

    .card-rating {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-bottom: 12px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-roi {
        font-size: 13px;
    }

    .projects-stats {
        gap: 20px;
        margin-top: 32px;
    }

    .pstat-value {
        font-size: 24px;
    }

    .pstat-label {
        font-size: 12px;
    }

    .calculator-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .calculator-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .calculator-body {
        gap: 20px;
        margin-bottom: 24px;
    }

    .calc-input-group label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .calc-input-value span:first-child {
        font-size: 18px;
    }

    .calc-input-value span:last-child {
        font-size: 13px;
    }

    .calculator-result {
        padding: 16px;
        gap: 12px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .result-label {
        font-size: 11px;
    }

    .result-value {
        font-size: 16px;
    }

    .result-item.highlight .result-value {
        font-size: 20px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question h3 {
        font-size: 13px;
    }

    .faq-toggle {
        font-size: 20px;
    }

    .faq-answer p {
        padding: 0 16px 14px;
        font-size: 12px;
    }

    .final-cta {
        padding: 48px 0;
    }

    .final-cta h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .final-cta p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .final-guarantees {
        gap: 8px;
        margin-top: 20px;
    }

    .final-guarantees span {
        font-size: 12px;
    }

    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        gap: 28px;
        margin-bottom: 28px;
    }

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

    .footer-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .footer-contacts a {
        font-size: 13px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-col a {
        font-size: 13px;
        padding: 5px 0;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .footer-disclaimer {
        font-size: 10px !important;
    }
}

/* Small phones (375px and below) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .logo-badge {
        display: none;
    }

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

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

    .hero-stats {
        gap: 12px;
    }

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

    .stat-label {
        font-size: 10px;
    }

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

    .section-subtitle {
        font-size: 11px;
    }

    .step-card {
        padding: 18px 14px;
    }

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

    .step-card h3 {
        font-size: 14px;
    }

    .step-card p {
        font-size: 11px;
    }

    .advantage-card {
        padding: 18px 14px;
    }

    .advantage-icon {
        font-size: 22px;
    }

    .advantage-card h3 {
        font-size: 14px;
    }

    .advantage-card p {
        font-size: 11px;
    }

    .rating-card {
        padding: 8px 10px;
        gap: 8px;
    }

    .rating-card-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .rating-card-title {
        font-size: 11px;
    }

    .rating-card-desc {
        font-size: 9px;
    }

    .rating-card-check {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .trust-metric {
        padding: 3px 6px;
    }

    .trust-metric-icon {
        font-size: 10px;
    }

    .trust-metric-text {
        font-size: 8px;
    }

    .calculator-card {
        padding: 20px 14px;
    }

    .calculator-title {
        font-size: 16px;
    }

    .calc-input-group label {
        font-size: 12px;
    }

    .calc-input-value span:first-child {
        font-size: 16px;
    }

    .blur-content h3 {
        font-size: 18px;
    }

    .blur-content p {
        font-size: 12px;
    }

    .pstat-value {
        font-size: 22px;
    }

    .pstat-label {
        font-size: 11px;
    }

    .final-cta h2 {
        font-size: 18px;
    }

    .final-cta p {
        font-size: 12px;
    }

    .final-guarantees span {
        font-size: 11px;
    }

    .footer-desc {
        font-size: 12px;
    }

    .footer-contacts a {
        font-size: 12px;
    }

    .footer-col h4 {
        font-size: 12px;
    }

    .footer-col a {
        font-size: 12px;
    }
}

/* Extra small phones (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .header-content {
        height: 56px;
    }

    .mobile-menu {
        top: 56px;
        padding: 16px 10px;
    }

    .logo-text {
        font-size: 16px;
    }

    .hero {
        padding: 72px 0 32px;
    }

    .hero-badge {
        font-size: 9px;
        padding: 4px 10px;
    }

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

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

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

    .stat-label {
        font-size: 9px;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 13px;
    }

    .cta-hint {
        font-size: 11px;
    }

    .trust-item {
        font-size: 11px;
    }

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

    .section-subtitle {
        font-size: 10px;
    }

    .step-icon {
        font-size: 22px;
    }

    .step-card h3 {
        font-size: 13px;
    }

    .step-card p {
        font-size: 10px;
    }

    .advantage-icon {
        font-size: 20px;
    }

    .advantage-card h3 {
        font-size: 13px;
    }

    .advantage-card p {
        font-size: 10px;
    }

    .faq-question h3 {
        font-size: 12px;
    }

    .faq-answer p {
        font-size: 11px;
    }

    .final-cta h2 {
        font-size: 16px;
    }

    .final-cta p {
        font-size: 11px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
    }

    .stat-divider {
        display: block;
    }

    .mobile-menu {
        padding: 16px;
    }

    .mobile-nav a {
        padding: 12px 16px;
    }
}

/* Touch devices - bigger touch targets */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
    }

    .faq-question {
        min-height: 56px;
    }

    .mobile-nav a {
        min-height: 52px;
    }

    .lang-btn {
        min-height: 40px;
        min-width: 44px;
    }
}

/* Disclaimer styles - small, italic, gray text */
.pstat-disclaimer,
.calc-disclaimer,
.cta-hint {
    font-size: 0.75rem;
    font-style: italic;
    color: #888;
    text-align: center;
    margin-top: 1rem;
}

.pstat-disclaimer {
    margin-top: 0.75rem;
}

.calc-disclaimer {
    margin-top: 1.5rem;
    line-height: 1.4;
}

.cta-hint {
    display: block;
    margin-top: 0.75rem;
}
