/* =============================================
   Moris AI Video — Landing Page Styles
   ============================================= */

:root {
    --primary: #FF3366;
    --primary-dark: #E0294F;
    --primary-light: #FF5580;
    --accent: #00D4FF;
    --accent-dark: #00B8DB;
    --accent-green: #00FF88;
    --bg-dark: #08080D;
    --bg-card: #0F0F18;
    --bg-card-hover: #161625;
    --bg-surface: #121220;
    --text-primary: #F5F5F7;
    --text-secondary: #9090A8;
    --text-muted: #5A5A72;
    --border: #1E1E30;
    --border-light: #2E2E42;
    --gradient-primary: linear-gradient(135deg, #FF3366 0%, #FF6B3D 50%, #FFD93D 100%);
    --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    --gradient-hero: linear-gradient(180deg, #08080D 0%, #0F0F18 100%);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(255, 51, 102, 0.1);
    --shadow-glow-accent: 0 0 40px rgba(0, 212, 255, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* =============================================
   Navigation
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    background: rgba(8, 8, 13, 0.85);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1rem;
}

.logo-version {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 1px solid rgba(255, 51, 102, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 30px rgba(255, 51, 102, 0.45);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-channel {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-channel:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent);
}

.btn-create {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
    font-family: inherit;
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 51, 102, 0.45);
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 51, 102, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        var(--gradient-hero);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 51, 102, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 51, 102, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 32px;
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.highlight-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 2;
}

.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.pipe-item {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pipe-result {
    background: rgba(255, 51, 102, 0.1);
    border-color: rgba(255, 51, 102, 0.3);
    color: var(--primary-light);
}

.pipe-arrow {
    color: var(--text-muted);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Comparison Bar */
.comparison-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 560px;
    margin: 0 auto;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.compare-icon { font-size: 1.4rem; }

.compare-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.compare-time {
    font-weight: 800;
    font-size: 1.1rem;
    margin-left: auto;
}

.compare-old .compare-time { color: #FF5555; }
.compare-new .compare-time { color: var(--accent-green); }

.compare-vs {
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 100px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

/* =============================================
   Section Common
   ============================================= */

section {
    padding: 120px 0;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
}

/* =============================================
   Dashboard Section
   ============================================= */

.dashboard {
    background: var(--bg-dark);
}

.dashboard-screenshot-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    margin-bottom: 60px;
    border: 1px solid var(--border);
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dashboard Features */
.dashboard-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dash-feature {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.dash-feature:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.df-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dash-feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.dash-feature p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =============================================
   Channels Section
   ============================================= */

.channels {
    background: var(--bg-surface);
}

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

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.channel-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--bg-dark);
    display: block;
    text-decoration: none;
}

.cover-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.channel-cover:hover .cover-thumb {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.cover-2 {
    background: linear-gradient(135deg, #0A1628 0%, #1B4332 50%, #00D4FF 100%);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.channel-cover:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.channel-body {
    padding: 24px;
    display: flex;
    gap: 16px;
}

.channel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.avatar-1 {
    background: linear-gradient(135deg, #FF3366 0%, #FF6B3D 100%);
}

.avatar-2 {
    background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
}

.cover-3 { background: linear-gradient(135deg, #2D1B69 0%, #8B5CF6 50%, #C084FC 100%); }
.cover-4 { background: linear-gradient(135deg, #064E3B 0%, #10B981 50%, #34D399 100%); }
.cover-5 { background: linear-gradient(135deg, #1E3A5F 0%, #4A90D9 50%, #93C5FD 100%); }
.cover-6 { background: linear-gradient(135deg, #78350F 0%, #D97706 50%, #FCD34D 100%); }

.avatar-3 { background: linear-gradient(135deg, #8B5CF6 0%, #C084FC 100%); }
.avatar-4 { background: linear-gradient(135deg, #10B981 0%, #34D399 100%); }
.avatar-5 { background: linear-gradient(135deg, #3B82F6 0%, #93C5FD 100%); }
.avatar-6 { background: linear-gradient(135deg, #D97706 0%, #FCD34D 100%); }

.channel-info { flex: 1; }

.channel-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.arabic {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.channel-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.meta-tag {
    padding: 3px 10px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
}

.channel-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.channel-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.ch-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.ch-stat-icon { font-size: 1rem; }

/* =============================================
   Features Section
   ============================================= */

.features {
    background: var(--bg-dark);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-cross {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.2rem;
    opacity: 0.6;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.comparison-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.compare-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compare-header,
.compare-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
}

.compare-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 4px;
}

.ch-old { text-align: center; color: #FF5555; }
.ch-new { text-align: center; color: var(--accent-green); }

.compare-row {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.compare-row.compare-total {
    background: rgba(255, 51, 102, 0.05);
    border: 1px solid rgba(255, 51, 102, 0.15);
    font-weight: 700;
    margin-top: 4px;
}

.compare-feature { color: var(--text-secondary); }
.compare-old { text-align: center; color: #FF5555; font-weight: 600; }
.compare-new-val { text-align: center; color: var(--accent-green); font-weight: 700; }

/* =============================================
   How It Works Section
   ============================================= */

.how-it-works {
    background: var(--bg-surface);
}

.steps-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.3;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.step:last-child { margin-bottom: 0; }

.step-marker {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-num {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.85rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content {
    padding-top: 8px;
}

.step-icon-wrap {
    color: var(--accent);
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   CTA Section
   ============================================= */

.cta-section {
    background: var(--bg-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    margin-bottom: 32px;
    position: relative;
}

.cta-tools {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.tool-killed {
    padding: 6px 16px;
    background: rgba(255, 85, 85, 0.06);
    border: 1px solid rgba(255, 85, 85, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #FF5555;
    text-decoration: line-through;
    font-weight: 500;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

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

/* =============================================
   Responsive
   ============================================= */

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .btn-nav { display: none; }
    .mobile-toggle { display: flex; }

    .hero { padding: 120px 0 80px; }
    .hero-title { font-size: 2rem; }

    .pipeline { flex-direction: column; gap: 4px; }
    .pipe-arrow { display: none; }

    .comparison-bar { flex-direction: column; gap: 12px; }
    .compare-item { justify-content: space-between; width: 100%; }
    .compare-vs { align-self: center; }

    section { padding: 80px 0; }

    .dashboard-screenshot-wrap { border-radius: var(--radius); }

    .dashboard-features { grid-template-columns: 1fr; }
    .channels-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }

    .channel-body { flex-direction: column; }

    .comparison-table { padding: 24px 16px; }
    .compare-header, .compare-row { font-size: 0.8rem; }

    .footer-content { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; }
}

/* =============================================
   Animations
   ============================================= */

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* =============================================
   Contact Form Modal
   ============================================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover { color: var(--text-primary); }

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A5A72' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .modal { padding: 28px 20px; }
    .modal-title { font-size: 1.25rem; }
}
