/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10a37f;
    --secondary-color: #1a7f64;
    --accent-color: #ff6b6b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand i {
    font-size: 1.8rem;
    -webkit-text-fill-color: #667eea;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Главный экран */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: #667eea;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: #667eea;
    transform: translateY(-3px);
}

/* Имитация браузера */
.browser-mockup {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.browser-header {
    background: #f1f3f4;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #dadce0;
}

.browser-buttons {
    display: flex;
    gap: 0.5rem;
}

.browser-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-btn.red {
    background: #ff5f57;
}

.browser-btn.yellow {
    background: #ffbd2e;
}

.browser-btn.green {
    background: #28ca42;
}

.browser-address-bar {
    flex: 1;
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #5f6368;
}

.browser-address-bar i {
    color: #34a853;
    font-size: 0.85rem;
}

.browser-menu {
    color: #5f6368;
    cursor: pointer;
}

.browser-content {
    background: #ffffff;
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
}

.browser-content::-webkit-scrollbar {
    width: 8px;
}

.browser-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.browser-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.browser-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.browser-input-area {
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.chat-input-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f3f4f6;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: var(--transition);
}

.chat-input-container:hover {
    background: #e5e7eb;
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-input::placeholder {
    color: #94a3b8;
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chat-send-btn i {
    font-size: 0.95rem;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.user-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.ai-avatar {
    background: #10a37f;
    color: #ffffff;
}

.message-content {
    flex: 1;
    background: #f7f7f8;
    padding: 1rem 1.2rem;
    border-radius: 15px;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.ai-message .message-content {
    background: #f7f7f8;
}

.message-content p {
    margin-bottom: 0.8rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content strong {
    color: #0f172a;
    font-weight: 600;
}

.typing-indicator {
    display: flex;
    gap: 0.3rem;
    padding: 1rem;
    margin-left: 56px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Секции */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* О ChatGPT */
.about-section {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: justify;
}

.info-box {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.info-box i {
    font-size: 2.5rem;
    color: #667eea;
    flex-shrink: 0;
}

.info-box h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-box p {
    margin: 0;
    font-size: 1rem;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.image-card i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.image-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    text-align: left;
}

.features-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.features-list i {
    color: #10a37f;
    font-size: 1.2rem;
}

/* Доступ */
.access-section {
    background: var(--white);
}

.access-content p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.access-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.method-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    text-align: center;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.method-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.method-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.method-icon.official {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.method-icon.alternative {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.method-icon.api {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
}

.method-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.method-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.method-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
    display: block;
}

.method-badge.recommended {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.btn-access {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

/* Инструкция */
.instruction-box {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.instruction-box h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.8rem;
}

.instruction-box h3 i {
    color: #667eea;
}

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-light);
}

/* Возможности */
.features-section {
    background: var(--white);
}

.features-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(100, 116, 139, 0.1);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #667eea;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.limitations-box {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.limitations-box h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.limitations-box p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Библиотека промптов */
.prompts-section {
    background: var(--white);
}

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.prompts-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.category-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.category-btn i {
    font-size: 1.1rem;
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.prompt-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.prompt-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.prompt-card.hidden {
    display: none;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.prompt-header h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    flex: 1;
}

.prompt-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.prompt-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.copy-prompt-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--white);
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.copy-prompt-btn:hover {
    background: #667eea;
    color: var(--white);
}

.copy-prompt-btn.copied {
    background: #10a37f;
    border-color: #10a37f;
    color: var(--white);
}

.copy-prompt-btn.copied i::before {
    content: "\f00c";
}

.prompts-cta {
    text-align: center;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.prompts-cta p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Сравнение моделей */
.comparison-section {
    background: var(--light-bg);
}

.comparison-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.comparison-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table th i {
    margin-right: 0.3rem;
}

.comparison-table td {
    padding: 1.2rem;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tbody tr {
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.highlight-row {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.model-name {
    min-width: 200px;
}

.model-name strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.badge.popular {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.badge.new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
}

.rating-bar {
    width: 100%;
    max-width: 120px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1s ease;
}

.best-for {
    color: var(--text-dark);
    font-weight: 500;
    min-width: 150px;
}

.comparison-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.comparison-note i {
    color: #667eea;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.comparison-note p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Aijora */
.aijora-section {
    background: var(--light-bg);
}

.aijora-content p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.aijora-hero {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.aijora-hero-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.aijora-benefits {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.aijora-benefits li {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.aijora-benefits i {
    font-size: 2rem;
    color: #667eea;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.aijora-benefits strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.aijora-benefits span {
    color: var(--text-light);
}

/* Модели */
.models-showcase {
    margin-bottom: 3rem;
}

.models-showcase h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.model-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.model-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.model-header i {
    font-size: 2rem;
    color: #667eea;
}

.model-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.model-card h4 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.model-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA */
.aijora-cta {
    background: var(--gradient-primary);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-content h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* FAQ */
.faq-section {
    background: var(--white);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question i:first-child {
    color: #667eea;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.faq-question .fa-chevron-down {
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

.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 1.5rem 1.5rem 4.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Футер */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-brand i {
    color: #667eea;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-contact a {
    color: #667eea;
    text-decoration: none;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.6;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Кнопка наверх */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Адаптивность */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .browser-mockup {
        margin-bottom: 2rem;
    }

    .browser-content {
        height: 320px;
        padding: 1rem;
    }

    .browser-address-bar span {
        font-size: 0.8rem;
    }

    .chat-message {
        gap: 0.8rem;
    }

    .message-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .message-content {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }

    .typing-indicator {
        margin-left: 43px;
    }

    .browser-input-area {
        padding: 0.8rem 1rem;
    }

    .chat-input-container {
        padding: 0.7rem 1rem;
    }

    .chat-input {
        font-size: 0.9rem;
    }

    .chat-send-btn {
        width: 36px;
        height: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: static;
    }

    .access-methods {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .prompts-grid {
        grid-template-columns: 1fr;
    }

    .prompts-categories {
        gap: 0.8rem;
    }

    .category-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.8rem;
        font-size: 0.85rem;
    }

    .rating-bar {
        max-width: 80px;
    }

    .model-name {
        min-width: 150px;
    }

    .best-for {
        min-width: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .instruction-box {
        padding: 2rem 1.5rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .aijora-cta {
        padding: 3rem 2rem;
    }

    .cta-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .faq-answer p {
        padding-left: 1.5rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .browser-buttons {
        gap: 0.4rem;
    }

    .browser-btn {
        width: 10px;
        height: 10px;
    }

    .browser-address-bar {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .browser-content {
        height: 280px;
        padding: 0.8rem;
    }

    .chat-container {
        gap: 1rem;
    }

    .message-content {
        font-size: 0.85rem;
        padding: 0.8rem;
    }

    .message-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .typing-indicator {
        margin-left: 38px;
        padding: 0.5rem;
    }

    .browser-input-area {
        padding: 0.7rem 0.8rem;
    }

    .chat-input-container {
        padding: 0.6rem 0.9rem;
    }

    .chat-input {
        font-size: 0.85rem;
    }

    .chat-send-btn {
        width: 34px;
        height: 34px;
    }

    .chat-send-btn i {
        font-size: 0.85rem;
    }

    .prompts-cta {
        padding: 2rem 1.5rem;
    }

    .prompts-cta p {
        font-size: 1.1rem;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }

    .model-name {
        min-width: 130px;
    }

    .model-name strong {
        font-size: 0.9rem;
    }

    .rating-bar {
        max-width: 60px;
    }

    .best-for {
        min-width: 100px;
        font-size: 0.75rem;
    }

    .comparison-note {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}
