/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #111827;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --gray-lighter: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: #f8fafc;
    line-height: 1.6;
    font-feature-settings: 'liga', 'clig', 'calt';
}

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

/* ===== ТИПОГРАФИЯ ===== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* ===== УТИЛИТАРНЫЕ КЛАССЫ ===== */
.hidden {
    display: none !important;
}

/* ===== ЗАГОЛОВОК ДАШБОРДА ===== */
.dashboard-header {
    margin: 30px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content p {
    font-size: 1.1rem;
    max-width: 600px;
}

.header-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 8px;
}

/* ===== СЕКЦИЯ СОКРАЩЕНИЯ ===== */
.shorten-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a6bff;
    background: rgba(74, 107, 255, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Для мобильных */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 12px;
        padding: 4px 12px;
        margin-bottom: 6px;
    }
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.view-all:hover {
    text-decoration: underline;
}

/* ===== ФОРМЫ ===== */
.shorten-form {
    background-color: var(--gray-lighter);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    margin-bottom: 20px;
}

.input-icon {
    padding: 0 15px;
    color: var(--gray);
    font-size: 1.2rem;
}

.url-input {
    flex: 1;
    padding: 16px 0;
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.url-input:focus {
    outline: none;
}

.url-input::placeholder {
    color: var(--gray);
}

.form-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-weight: 500;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.option-group label i {
    color: var(--primary);
}

.custom-path-container {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.domain-prefix {
    padding: 12px 15px;
    background-color: var(--gray-lighter);
    color: var(--gray-dark);
    font-weight: 500;
    border-right: 1px solid var(--gray-light);
    white-space: nowrap;
    font-size: 0.95rem;
}

#customPathInput {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

#customPathInput:focus {
    outline: none;
}

#expirationSelect {
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--gray-dark);
    cursor: pointer;
}

#expirationSelect:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.btn-shorten {
    background-color: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

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

.utm-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    padding: 10px 15px;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.utm-toggle:hover {
    background-color: var(--gray-lighter);
}

/* ===== UTM ФОРМА ===== */
.utm-form {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-light);
    display: none;
}

.utm-form h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.utm-form h3 i {
    color: var(--primary);
}

.utm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.utm-input label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.utm-input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.utm-input input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== КОНТЕЙНЕР РЕЗУЛЬТАТА ===== */
#resultContainer {
    background-color: var(--gray-lighter);
    border-radius: var(--radius);
    padding: 25px;
    border-left: 5px solid var(--primary);
    margin-top: 20px;
}

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

.result-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.btn-copy {
    background-color: var(--white);
    color: var(--gray-dark);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-copy:hover {
    background-color: var(--gray-light);
}

.btn-copy.copied {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.url-info {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-light);
}

.url-row {
    display: flex;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-lighter);
    gap: 20px;
}

.url-row:last-child {
    border-bottom: none;
}

.url-label {
    font-weight: 600;
    color: var(--gray-dark);
    min-width: 200px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.url-value {
    color: var(--dark);
    word-break: break-all;
    flex: 1;
    font-size: 0.95rem;
}

.url-value a {
    color: var(--primary);
    text-decoration: none;
}

.url-value a:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-analytics,
.btn-qr {
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

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

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

.btn-qr {
    background-color: var(--white);
    color: var(--gray-dark);
    border: 1px solid var(--gray-light);
}

.btn-qr:hover {
    background-color: var(--gray-lighter);
}

.error-message {
    color: var(--danger);
    padding: 3px 15px;
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 0.95rem;
    display: block;
    min-height: 30px;
}

/* ===== ПРЕДПРОСМОТР АНАЛИТИКИ ===== */
.analytics-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.analytics-preview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.single-donut-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.donut-chart-large {
    width: 300px;
    height: 300px;
}

.donut-large {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.donut-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-urls {
    background-color: var(--gray-lighter);
    border-radius: var(--radius);
    padding: 25px;
}

.url-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.url-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
    transition: transform 0.2s ease;
}

.url-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.url-short {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.url-clicks {
    font-size: 0.85rem;
    color: var(--gray);
}

.url-analytics-link {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: var(--radius);
    transition: background-color 0.2s ease;
}

.url-analytics-link:hover {
    background-color: var(--gray-lighter);
}

/* ===== ИНТЕРАКТИВНОЕ ЗНАКОМСТВО ===== */
.intro-showcase {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.badge-new {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.showcase-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.showcase-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.showcase-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.showcase-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.showcase-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.showcase-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.showcase-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-footer {
    margin-top: auto;
    width: 100%;
}

.card-example {
    background: var(--gray-lighter);
    padding: 12px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.example-before {
    color: var(--gray);
    text-decoration: line-through;
    flex: 1;
    min-width: 200px;
    overflow: visible;
    white-space: normal;
    word-break: break-all;
    font-size: 0.8rem;
    line-height: 1.4;
}

.example-after {
    color: var(--primary);
    font-weight: 600;
    background: white;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--gray-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.utm-preview {
    background: var(--gray-lighter);
    padding: 12px;
    border-radius: var(--radius);
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.utm-preview code {
    color: var(--primary);
    font-size: 0.8rem;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--gray-light);
    display: block;
    white-space: normal;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
}

.card-stats-preview {
    background: var(--gray-lighter);
    padding: 15px;
    border-radius: var(--radius);
    width: 100%;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    width: 100%;
}

.stat-row span:first-child {
    width: 80px;
    color: var(--gray-dark);
    font-weight: 500;
    flex-shrink: 0;
}

.stat-bar-container {
    flex: 1;
    height: 8px;
    background-color: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.stat-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.stat-row span:last-child {
    width: 45px;
    color: var(--primary);
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

.timer-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--gray-lighter);
    padding: 15px;
    border-radius: var(--radius);
    color: var(--secondary);
}

/* ===== ВАРИАНТЫ ИСПОЛЬЗОВАНИЯ ===== */
.use-cases {
    margin: 60px 0;
}

.tabs-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    margin-top: 20px;
}

.tabs-header {
    display: flex;
    background: var(--gray-lighter);
    border-bottom: 1px solid var(--gray-light);
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

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

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tab-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.tab-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.tab-pane h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.tab-pane p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.tab-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.tab-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.tab-benefits li i {
    color: var(--secondary);
}

/* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ (ОСНОВНАЯ) ===== */
.features-section {
    padding: 60px 0;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-content {
    flex: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a6bff 0%, #6b4aff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(74, 107, 255, 0.2);
}

.feature-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
}

.feature-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #4a5568;
}

.stat-item i {
    color: #10b981;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-text {
    line-height: 1.4;
}

/* .feature-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.mini-stat {
    background: #f7fafc;
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 3px solid #4a6bff;
}

.mini-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #4a6bff;
    line-height: 1.2;
}

.mini-label {
    font-size: 13px;
    color: #718096;
} */

.feature-visual {
    flex: 1;
}

.demo-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #edf2f7;
}

.demo-card-header {
    margin-bottom: 15px;
}

.demo-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #4a6bff;
    background: rgba(74, 107, 255, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Трансформация ссылок */
.transformation-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 35px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.transformation-demo {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.long-url-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.url-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.url-text {
    font-size: 13px;
    opacity: 0.9;
    word-break: break-all;
    flex: 1;
    color: white;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 18px;
    margin: 0 auto;
}

.short-url-box {
    background: white;
    border-radius: 20px;
    padding: 25px;
}

.short-url-content {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.short-url-domain {
    color: #667eea;
    opacity: 0.7;
}

.short-url-path {
    color: #764ba2;
}

/* Аналитика - большая диаграмма-пончик */
.analytics-showcase {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #edf2f7;
}

.stats-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 107, 255, 0.1);
}

.stats-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.stats-mini-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a6bff 0%, #6b4aff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 6px 12px rgba(74, 107, 255, 0.2);
}

.stats-mini-content {
    display: flex;
    flex-direction: column;
}

.stats-mini-number {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.stats-mini-label {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stats-mini-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #e2e8f0, transparent);
}

.single-donut-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.donut-chart {
    width: 240px;
    height: 240px;
}

.donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#4a6bff 0% 40%, #10b981 40% 65%, #f59e0b 65% 85%, #ef4444 85% 100%);
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.donut::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chart-hint {
    text-align: center;
    color: #718096;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

.chart-hint i {
    color: #4a6bff;
    margin-right: 6px;
}

/* Highlight items */
.feature-highlights {
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 10px;
}

.highlight-item i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-item strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.highlight-item span {
    font-size: 12px;
    color: #718096;
}

/* UTM секция */
.utm-params-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.param-tag {
    background: rgba(74, 107, 255, 0.08);
    color: #4a6bff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.utm-demo-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #edf2f7;
}

.utm-builder-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.utm-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.utm-field label {
    width: 70px;
    font-size: 12px;
    font-weight: 600;
    color: #4a6bff;
}

.utm-field input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f7fafc;
    font-size: 13px;
    color: #2d3748;
}

.utm-result-demo {
    margin-top: 15px;
    padding: 15px;
    background: #1a202c;
    border-radius: 8px;
}

.result-label {
    display: block;
    font-size: 11px;
    color: #a0aec0;
    margin-bottom: 6px;
}

.utm-result-demo code {
    color: #a0d8ff;
    font-size: 12px;
    word-break: break-all;
    line-height: 1.5;
}

/* Безопасность */
.feature-row:last-child .feature-content {
    max-width: 100% !important;
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 32px;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-row:last-child .feature-icon-wrapper {
    margin-left: auto;
    margin-right: auto;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.feature-row:last-child .feature-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
}

.feature-row:last-child .feature-list li {
    background: white;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.feature-list li i {
    color: #10b981;
}

/* ===== ФУТЕР ===== */
.footer {
    background: #1a1a1a;
    padding: 30px 0;
    margin-top: 60px;
}

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

.footer-links-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links-horizontal a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-links-horizontal a:hover {
    color: #4a6bff;
}

/* ===== АНИМАЦИИ ===== */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1100px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
    }

    .header-stats {
        width: 100%;
        justify-content: space-between;
    }

    .analytics-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }

    .feature-content h3 {
        font-size: 24px;
    }

    .donut-chart {
        width: 180px;
        height: 180px;
    }

    .donut::before {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-stats {
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 10px);
        min-width: auto;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-shorten,
    .utm-toggle {
        width: 100%;
        justify-content: center;
    }

    .url-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .url-label {
        min-width: auto;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-analytics,
    .btn-qr {
        justify-content: center;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn.active::after {
        height: 100%;
        width: 3px;
    }

    .card-example {
        flex-direction: column;
        align-items: flex-start;
    }

    .example-before {
        min-width: 100%;
        white-space: normal;
    }

    .example-after {
        align-self: flex-end;
    }

    .utm-preview code {
        font-size: 0.7rem;
        padding: 6px 8px;
    }

    .footer-links-horizontal {
        gap: 20px;
        flex-direction: column;
    }

    .footer-links-horizontal a {
        white-space: normal;
        text-align: center;
    }

    .feature-row:last-child .feature-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ===== AOS АНИМАЦИИ ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--gray-dark);
    transition: all 0.2s ease;
    margin-right: 5px;
}

.settings-btn:hover {
    background: var(--gray-lighter);
    color: var(--primary);
    transform: rotate(30deg);
}

.settings-btn i {
    font-size: 1.2rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}