:root {
  --primary-glow: #8a2be2;
  --secondary-color: #00e5ff;
  --background-dark: #07090f;
  --background-card: rgba(20, 24, 39, 0.6);
  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background-color: var(--background-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

.glass { background: var(--background-card); backdrop-filter: blur(16px); border: 1px solid var(--border-color); border-radius: 20px; }
.gradient-text { background: linear-gradient(135deg, var(--secondary-color), var(--primary-glow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.8s ease-out forwards; }

/* Navigation */
nav { position: sticky; top: 0; width: 100%; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: rgba(7, 9, 15, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); transition: var(--transition-smooth); }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 800; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition-smooth); }
.nav-links a:hover { color: var(--secondary-color); }

/* Lang Dropdown */
.lang-dropdown-wrapper { position: relative; }
.lang-btn { background: var(--background-card); border: 1px solid var(--border-color); color: var(--text-main); padding: 0.5rem 1rem; border-radius: 30px; cursor: pointer; font-family: inherit; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; transition: var(--transition-smooth); }
.lang-btn:hover { border-color: var(--secondary-color); }
.lang-menu { display: none; position: absolute; top: 120%; right: 0; background: #0f121d; border: 1px solid var(--border-color); border-radius: 12px; overflow-y: auto; max-height: 400px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); min-width: 120px; z-index: 105; }
/* Custom Scrollbar for lang menu */
.lang-menu::-webkit-scrollbar { width: 6px; }
.lang-menu::-webkit-scrollbar-track { background: transparent; }
.lang-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 6px; }
.lang-menu::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }
.lang-menu.show { display: block; animation: fadeIn 0.2s ease-out; }
.lang-menu-item { padding: 0.75rem 1rem; cursor: pointer; transition: var(--transition-smooth); color: var(--text-muted); }
.lang-menu-item:hover { background: rgba(255,255,255,0.05); color: var(--text-main); }

/* Hero Section */
.hero { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 8rem 5% 4rem; position: relative; }
.hero::before { content: ''; position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 60vw; height: 50vh; background: radial-gradient(ellipse at center, rgba(138,43,226,0.25) 0%, transparent 70%); filter: blur(60px); z-index: -1; }
.hero-content { max-width: 900px; z-index: 2; }
.hero h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-highlight { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 50px; margin-bottom: 3rem; border: 1px solid rgba(0, 229, 255, 0.3); background: rgba(0, 229, 255, 0.05); }
.hero-highlight .icon { font-size: 1.2rem; }
.hero-highlight strong { font-weight: 500; font-size: 1rem; color: #e2e8f0; }
.store-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;}
.store-badge { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 24px; background: #000; border: 1px solid #333; border-radius: 12px; color: #fff; text-decoration: none; transition: var(--transition-smooth); }
.store-badge:hover:not(.disabled) { transform: scale(1.05); box-shadow: 0 10px 30px rgba(138,43,226,0.3); }
.store-badge.disabled { cursor: not-allowed; opacity: 0.7; }
.store-badge svg, .store-badge img { height: 32px; width: auto; display: block; }
.store-badge-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.store-badge-text small { font-size: 0.65rem; color: #aaa; text-transform: uppercase; }
.store-badge-text strong { font-size: 1.1rem; line-height: 1; }

/* Trusted Banner */
.trusted-banner { text-align: center; padding: 2rem 5% 4rem; }
.trusted-banner p { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.5rem; }
.trusted-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.t-logo { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; color: #fff; opacity: 0.7; transition: var(--transition-smooth); }
.t-logo:hover { opacity: 1; color: var(--secondary-color); }
.t-logo svg { opacity: 0.8; }

/* Marquee */
.marquee-strip { width: 100%; overflow: hidden; background: linear-gradient(90deg, var(--primary-glow), var(--secondary-color)); padding: 1rem 0; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: flex; white-space: nowrap; margin-bottom: 5rem; }
.marquee-content { display: flex; animation: scrollLeft 25s linear infinite; gap: 3rem; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 4-Grid Demo with Tabs */
.demo-section { padding: 4rem 5%; text-align: center; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 3rem; margin-bottom: 1rem; letter-spacing: -1px; }
.section-desc { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }
.grid-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.grid-tab { display: flex; align-items: center; gap: 6px; padding: 10px 24px; border-radius: 50px; border: 1px solid var(--border-color); background: rgba(255,255,255,0.03); color: var(--text-muted); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: var(--transition-smooth); font-family: inherit; }
.grid-tab:hover { border-color: rgba(138,43,226,0.4); color: #fff; }
.grid-tab.active { background: linear-gradient(135deg, rgba(138,43,226,0.25), rgba(0,229,255,0.1)); border-color: rgba(138,43,226,0.5); color: #fff; box-shadow: 0 4px 20px rgba(138,43,226,0.15); }
.grid-panel { display: none; }
.grid-panel.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; animation: fadeIn 0.4s ease-out; }
.video-card { position: relative; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); background: #111; }
.vid-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vid-content { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,0.3); background-size: cover; background-position: center; transition: var(--transition-smooth); position: relative; z-index: 0; }
.video-card:hover .vid-content { transform: scale(1.05); color: rgba(255,255,255,0.8); }
.vid-overlay { position: absolute; bottom: 15px; left: 15px; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); z-index: 2; }
.bg-1 { background: linear-gradient(45deg, #1a0b2e, #8a2be2); }
.bg-2 { background: linear-gradient(45deg, #0f2027, #203a43, #2c5364); }
.bg-3 { background: linear-gradient(45deg, #4b1248, #f0c27b); }
.bg-4 { background: linear-gradient(45deg, #000000, #434343); }

@media(max-width: 992px) {
  .grid-panel.active { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .grid-panel.active .video-card { min-width: 70vw; scroll-snap-align: center; }
}

/* Prompt Editor Animation */
.prompt-demo { padding: 6rem 5%; display: flex; flex-direction: column; align-items: center; }
.prompt-container { width: 100%; max-width: 700px; background: #0f121d; border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.prompt-header { padding: 12px 16px; background: #1a1f33; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border-color); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.prompt-header small { margin-left: auto; color: var(--text-muted); font-weight: 500; font-family: monospace; }
.prompt-body { padding: 2.5rem 2rem; font-family: 'Courier New', Courier, monospace; font-size: 1.2rem; line-height: 1.6; color: var(--secondary-color); min-height: 150px; }
.prompt-prefix { color: var(--text-main); font-weight: bold; }
.cursor { animation: blink 1s infinite; color: #fff; font-weight: bold; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-btn-wrap { padding: 1.5rem; border-top: 1px solid var(--border-color); text-align: right; background: rgba(0,0,0,0.3); }
.generate-btn { background: linear-gradient(90deg, var(--primary-glow), var(--secondary-color)); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 1rem; }
.generate-btn:hover { filter: brightness(1.2); box-shadow: 0 0 20px rgba(138,43,226,0.5); }

/* Viral Background Section */
.viral-section { margin: 6rem 0; background: linear-gradient(135deg, #0f121d 0%, #1a0b2e 100%); padding: 8rem 5%; display: flex; justify-content: center; align-items: center; border-top: 1px solid rgba(138,43,226,0.3); border-bottom: 1px solid rgba(138,43,226,0.3); }
.viral-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; width: 100%; gap: 4rem; }
.viral-text { flex: 1; padding: 4rem; border: none; box-shadow: 0 20px 50px rgba(0,0,0,0.5); background: rgba(10,12,20,0.6); }
.viral-text h2 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.1; }
.viral-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }
.viral-list { list-style: none; }
.viral-list li { font-size: 1.1rem; margin-bottom: 1rem; color: #fff; font-weight: 600; display: flex; gap: 10px; }
.viral-visual { flex: 1; display: flex; justify-content: center; }
.floating-phone { max-height: 500px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0,229,255,0.3)); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
@media(max-width: 992px) { .viral-inner { flex-direction: column; } .floating-phone { max-height: 400px; } }

/* Comparison Grid */
.comparison { padding: 6rem 5%; max-width: 1200px; margin: 0 auto; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.comp-card { padding: 4rem; border-radius: 32px; border: 1px solid var(--border-color); }
.comp-card h3 { font-size: 2rem; margin-bottom: 2rem; }
.comp-card.old { background: rgba(255,255,255,0.02); }
.comp-card.old h3 { color: var(--text-muted); }
.comp-card.new { background: linear-gradient(180deg, rgba(138,43,226,0.15), transparent); border-color: rgba(138,43,226,0.5); box-shadow: 0 20px 60px rgba(138,43,226,0.1); }
.comp-card ul { list-style: none; }
.comp-card li { margin-bottom: 1.5rem; font-size: 1.2rem; display: flex; align-items: center; gap: 12px; color: #e2e8f0; }
.comp-card.old li::before { content: '✕'; color: #ff5252; font-weight: bold; background: rgba(255,82,82,0.1); padding: 4px 10px; border-radius: 50%; }
.comp-card.new li::before { content: '✓'; color: #00e5ff; font-weight: bold; background: rgba(0,229,255,0.1); padding: 4px 10px; border-radius: 50%; }
@media(max-width:768px) { .comparison-grid { grid-template-columns: 1fr; } }

/* Matrix Section */
.matrix-section { padding: 4rem 5%; max-width: 1200px; margin: 0 auto; }
.matrix-wrapper { overflow-x: auto; background: var(--background-card); border-radius: 20px; border: 1px solid var(--border-color); padding: 1.5rem; }
.matrix-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.matrix-table th, .matrix-table td { padding: 1rem 0.75rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.matrix-table th { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.matrix-table td.align-left, .matrix-table th.align-left { text-align: left; font-size: 0.95rem; white-space: nowrap; }
.matrix-table th.sely-col { color: #fff; font-weight: 800; font-size: 1.1rem; background: rgba(138,43,226,0.15); border-radius: 12px 12px 0 0; white-space: nowrap; }
.matrix-table td.sely-col { background: rgba(138,43,226,0.08); font-weight: 700; }
.matrix-table tr:last-child td { border-bottom: none; }
.check { color: var(--secondary-color); font-size: 1.4rem; }
.partial { color: #ffbd2e; font-size: 1.4rem; font-weight: 700; }
.dash { color: rgba(255,255,255,0.2); }

/* Models Masonry Auto-Scroll */
.models { padding: 6rem 0; text-align: center; overflow: hidden; }
.models .section-title { padding: 0 5%; }
.models-carousel-wrap { width: 100%; overflow: hidden; margin-top: 3rem; mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%); }
.models-masonry-track { display: flex; gap: 1.25rem; width: max-content; }
@keyframes scrollModelsLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.m-col { display: flex; flex-direction: column; gap: 1.25rem; flex-shrink: 0; }
.m-card { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); background: #111; transition: var(--transition-smooth); flex-shrink: 0; }
.m-card:hover { border-color: var(--primary-glow); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(138,43,226,0.3); z-index: 5; }
.m-card.tall { height: 600px; }
.m-card.short { height: 290px; } /* 290 + 290 + 20 (1.25rem gap) = 600px */
.m-card.wide { width: 380px; min-width: 380px; }
.m-card.medium { width: 280px; min-width: 280px; }
.m-card.narrow { width: 220px; min-width: 220px; }
.m-vid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.m-vid-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,0.15); }
.m-name { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); font-size: 0.9rem; font-weight: 700; color: #fff; text-align: left; z-index: 2; letter-spacing: 0.5px; text-transform: uppercase;}

/* Testimonials - Premium Redesign */
.testimonials-section { padding: 8rem 5%; max-width: 1100px; margin: 0 auto; text-align: center; }
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.testi-card { min-width: 100%; padding: 1rem; }
.testi-card-inner { background: linear-gradient(135deg, rgba(138,43,226,0.08) 0%, rgba(0,229,255,0.05) 100%); border: 1px solid rgba(138,43,226,0.2); border-radius: 24px; padding: 3rem 3.5rem; text-align: left; position: relative; transition: var(--transition-smooth); }
.testi-card-inner::before { content: '\201C'; position: absolute; top: 1.5rem; right: 2rem; font-size: 5rem; color: rgba(138,43,226,0.15); font-family: Georgia, serif; line-height: 1; }
.testi-stars { color: #ffbd2e; font-size: 1.3rem; margin-bottom: 1.5rem; letter-spacing: 3px; }
.testi-quote { font-size: 1.3rem; font-style: italic; color: #e2e8f0; line-height: 1.7; margin-bottom: 2rem; font-weight: 400; }
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-glow); }
.testi-author strong { display: block; color: #fff; font-size: 1rem; }
.testi-author span { color: var(--secondary-color); font-size: 0.85rem; font-weight: 500; }
.testi-nav { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; }
.testi-nav button { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: 0.3s; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.testi-nav button:hover { background: var(--primary-glow); border-color: var(--primary-glow); transform: scale(1.1); }

/* Accordion FAQ */
.faq-section { padding: 6rem 5%; max-width: 900px; margin: 0 auto; }
.faq-container { background: var(--background-card); border: 1px solid var(--border-color); border-radius: 24px; padding: 2rem; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-question { padding: 1.5rem 1rem; font-size: 1.25rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-question:hover { color: var(--secondary-color); }
.icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-muted); padding: 0 1rem; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.7; }
.faq-answer.open { max-height: 300px; }
.faq-item.active .icon { transform: rotate(45deg); color: var(--primary-glow); }

/* Tags / Solutions Grid (Massive SEO Addition) */
.tags-section { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; text-align: center; }
.tags-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.tag-pill { padding: 6px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; color: var(--text-muted); text-decoration: none; font-size: 0.75rem; font-weight: 500; transition: var(--transition-smooth); white-space: nowrap; letter-spacing: 0.2px; }
.tag-pill:hover { background: rgba(138,43,226,0.12); border-color: rgba(138,43,226,0.4); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(138,43,226,0.08); }

/* Huge Vivideo Style Footer */
footer { border-top: 1px solid var(--border-color); padding: 5rem 5% 2rem; background: #030407; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.brand-col .brand-desc { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 700; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.95rem; transition: var(--transition-smooth); }
.footer-col a:hover { color: var(--secondary-color); transform: translateX(5px); }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); transition: 0.3s; }
.social-links a:hover { background: var(--primary-glow); color: #fff; transform: translateY(-3px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; color: #718096; font-size: 0.9rem; }
@media(max-width: 992px) { .footer-container { grid-template-columns: 1fr 1fr; } .brand-col { grid-column: span 2; } }
@media(max-width: 768px) { .footer-container { grid-template-columns: 1fr; } .brand-col { grid-column: span 1; } }

/* Article Modal (Full Screen SEO Content) */
.article-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 9, 15, 0.95); backdrop-filter: blur(10px); z-index: 1000; overflow-y: auto; }
.article-modal.show { display: block; animation: fadeIn 0.3s ease-out; }
.article-modal-content { max-width: 900px; margin: 4rem auto; background: #0f121d; border: 1px solid var(--border-color); border-radius: 24px; padding: 4rem; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.8); }
.close-modal { position: absolute; top: 2rem; right: 2rem; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: 0.3s; }
.close-modal:hover { background: var(--primary-glow); transform: rotate(90deg); }

/* Article Body Typography (SEO Friendly) */
.article-body h1 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -1px; }
.article-body h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; color: var(--secondary-color); }
.article-body h3 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; }
.article-body p { font-size: 1.15rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.5rem; }
.article-body ul, .article-body ol { margin-bottom: 2rem; padding-left: 2rem; color: var(--text-muted); font-size: 1.15rem; }
.article-body li { margin-bottom: 0.8rem; }
.article-body strong { color: #fff; }
.article-body a { color: var(--primary-glow); text-decoration: none; }
.article-body a:hover { text-decoration: underline; }
.article-banner { width: 100%; height: 300px; border-radius: 16px; object-fit: cover; margin-bottom: 2rem; border: 1px solid var(--border-color); }
@media(max-width: 768px) { .article-modal-content { padding: 2rem; margin: 2rem 1rem; } .article-body h1 { font-size: 2rem; } }

/* ========================================= */
/* COMPREHENSIVE MOBILE OPTIMIZATIONS        */
/* ========================================= */
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 0.5rem; margin-right: -0.5rem; }

@media (max-width: 768px) {
  /* Navigation */
  .mobile-menu-btn { display: block; }
  .nav-links { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: rgba(3,4,7,0.98); 
    backdrop-filter: blur(10px);
    flex-direction: column; 
    padding: 1.5rem; 
    align-items: flex-start; 
    gap: 1.5rem; 
    border-bottom: 1px solid var(--border-color); 
  }
  .nav-links.show { display: flex; }
  nav { justify-content: space-between; position: sticky; top: 0; z-index: 1000; }

  /* Hero & Typography */
  .hero h1 { font-size: 2.8rem; line-height: 1.1; }
  .section-title { font-size: 1.8rem !important; line-height: 1.2; padding: 0 1rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .section-desc { font-size: 0.8rem !important; padding: 0 1rem; line-height: 1.4; color: var(--text-muted); }
  
  /* Viral Section Mobile Tuning */
  .viral-text { padding: 2rem 1.5rem !important; }
  .viral-text h2 { font-size: 2.2rem !important; line-height: 1.25; padding: 0; margin-bottom: 1rem; }
  .viral-text h2 span { display: block; }
  .viral-text p { font-size: 0.95rem !important; padding: 0; margin-bottom: 1.5rem; line-height: 1.5; color: var(--text-muted); }
  .viral-list li { font-size: 0.95rem !important; margin-bottom: 0.8rem; }

  /* Trusted Brands & Marquee */
  .trusted-banner p { font-size: 0.8rem; white-space: normal; max-width: 250px; margin: 0 auto 1rem auto; line-height: 1.4; text-transform: uppercase; letter-spacing: 1px; }
  .trusted-logos { gap: 1rem; flex-wrap: wrap; justify-content: center; overflow-x: visible; }
  .t-logo { font-size: 0.75rem; white-space: nowrap; }
  .marquee-content span { font-size: 0.85rem; }

  /* Tags (Shopify, Amazon, etc.) */
  .tag, .tag-pill { white-space: nowrap; font-size: 0.7rem; padding: 4px 10px; }
  .hero-highlight { padding: 0.5rem 1rem; font-size: 0.8rem; }
  
  /* Top Video Grid (One Prompt) - Swipeable */
  .video-grid-scroll { 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding-bottom: 1rem; 
    gap: 1rem;
    scroll-behavior: smooth;
  }
  .video-grid-scroll::-webkit-scrollbar { display: none; }
  .video-card.vertical { flex: 0 0 65% !important; scroll-snap-align: center; }
  .grid-panel { display: none !important; }
  .grid-panel.active { display: flex !important; }

  /* Prompt Editor */
  .prompt-header small { font-size: 0.75rem; }
  .prompt-body { font-size: 0.9rem; padding: 1rem; }
  .prompt-prefix, #typewriter, .cursor { font-size: 0.9rem; }
  .generate-btn { font-size: 0.9rem; padding: 0.8rem 1.5rem; }

  /* Grid Tabs (UGC, Product Ad) */
  .grid-tabs { flex-wrap: wrap; gap: 0.5rem; padding: 0 1rem; }
  .grid-tab { font-size: 0.8rem; padding: 8px 12px; white-space: nowrap; flex: 1; text-align: center; justify-content: center; }

  /* Matrix Table Title */
  #compare .section-title { font-size: 1.6rem !important; white-space: nowrap; }

  /* Models Masonry Scaling */
  .m-card.tall { height: 400px; }
  .m-card.short { height: 190px; } /* 190 + 190 + 20 = 400px */
  .m-card.wide { width: 260px; min-width: 260px; }
  .m-card.medium { width: 190px; min-width: 190px; }
  .m-card.narrow { width: 140px; min-width: 140px; }
  .m-name { font-size: 0.75rem; padding: 10px 12px; }
  .m-vid-bg { font-size: 2rem; }

  /* FAQ */
  .faq-question { font-size: 1rem; padding: 1rem; }
  .faq-answer p { font-size: 0.9rem; }
  .faq-section { padding: 3rem 1rem; }

  /* Testimonials Slider (Swipeable) */
  .testi-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scroll-behavior: smooth; }
  .testi-track::-webkit-scrollbar { display: none; }
  .testi-card { scroll-snap-align: center; }
  .testi-card-inner { padding: 2rem 1.5rem; }
  .testi-quote { font-size: 1rem; margin-bottom: 1.5rem; }
  .testi-card-inner::before { font-size: 3rem; top: 1rem; right: 1rem; }
  .testi-nav { display: none; } /* Hide buttons since it's swipeable */

  /* Footer Restructuring */
  .footer-container { grid-template-columns: repeat(2, 1fr) !important; gap: 2rem 1rem; }
  .brand-col { grid-column: span 2 !important; text-align: center; }
  .brand-col .logo { justify-content: center; }
  .social-links { justify-content: center; }
  .store-buttons { justify-content: center !important; }
  .footer-col h4 { font-size: 1rem; margin-bottom: 1rem; }
  .footer-col a { font-size: 0.85rem; }
  
  /* Article Modals (SEO Content) */
  .article-modal-content { padding: 1.5rem; margin: 1rem; }
  .article-body h1 { font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.3; }
  .article-body h2 { font-size: 1.25rem; margin-top: 1.5rem; }
  .article-body h3 { font-size: 1.1rem; margin-top: 1.5rem; }
  .article-body p, .article-body li { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
  .article-banner { height: 180px; margin-bottom: 1.5rem; }
  .close-modal { top: 1rem; right: 1rem; width: 32px; height: 32px; font-size: 1.2rem; }
}
