/* 
 * The News Catcher - Showcase Design System
 * Inspired by share.html aesthetics: bg #0A0A0A, GlassPanels, Outfit typography,
 * and translucent neon cyan buttons.
 */

/* ==========================================
   1. VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
    /* Colors from share.html */
    --color-bg: #0A0A0A;
    --color-widget: #1A1B22;
    --color-accent: #00FFFF;
    --color-accent-translucent: rgba(0, 255, 255, 0.59);
    --color-accent-hover: rgba(0, 255, 255, 0.7);
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A0A0A0;
    --color-text-button: rgba(255, 255, 255, 0.78);

    /* Fonts from share.html */
    --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Glass Panel styling from share.html */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 10px 20px rgba(255, 255, 255, 0.02);
    --glass-blur: blur(0.5px);

    /* Global Transitions */
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   2. RESET & BASE LAYOUT
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

.text-cyan {
    color: var(--color-accent) !important;
}

/* ==========================================
   3. BACKGROUND AMBIENT GLOWS
   ========================================== */
.bg-glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    opacity: 0.05;
}

.glow-orb-1 {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background-color: var(--color-accent);
}

.glow-orb-2 {
    top: 60%;
    left: 20%;
    width: 400px;
    height: 400px;
    background-color: #0077FF;
}

/* ==========================================
   4. NAVIGATION / HEADER
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 100;
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-widget);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

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

/* ==========================================
   5. BUTTONS (MATCHING share.html)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    gap: 8px;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--color-accent-translucent);
    color: var(--color-text-button);
    border-radius: 16px;
    font-weight: 800;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #FFFFFF;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
    transform: scale(0.97);
}

.btn-sm {
    height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
}

.btn-lg {
    height: 52px;
    padding: 0 28px;
    font-size: 1.05rem;
}

.btn svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-button);
}

.btn-primary:hover svg {
    color: #FFFFFF;
}

/* ==========================================
   6. HERO SECTION
   ========================================== */
.hero-section {
    padding-top: 170px;
    padding-bottom: 90px;
    position: relative;
    z-index: 1;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 40%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Glass-frame for screenshots */
.app-showcase-frame {
    background: var(--glass-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow), 0 30px 60px rgba(0, 0, 0, 0.6);
    border-radius: 24px;
    padding: 10px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    width: 100%;
    max-width: 360px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.app-showcase-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: shine 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    20%,
    100% {
        transform: translateX(100%);
    }
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================
   7. COMMON SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

/* ==========================================
   8. PROBLEMS SECTION (STYLISH ASYMMETRIC)
   ========================================== */
.problems-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.problem-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-smooth);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 74, 74, 0.2);
}

.problem-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(255, 74, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    margin-bottom: 24px;
}

.problem-icon {
    width: 22px;
    height: 22px;
    color: #FF4A4A;
}

.problem-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.problem-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================
   9. VISUAL SOLUTIONS (ALTERNATING ROWS)
   ========================================== */
.app-solutions-section {
    padding: 100px 0;
}

.app-solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

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

.app-solution-row.reverse {
    direction: rtl;
}

.app-solution-row.reverse .app-solution-info {
    direction: ltr;
    /* Reset text direction */
}

.app-solution-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.row-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.row-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.row-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.row-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.row-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.app-solution-visual {
    display: flex;
    justify-content: center;
}

.app-screenshot-wrapper {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 10px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--glass-shadow), 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.app-screenshot-wrapper:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.app-screenshot-contained {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* ==========================================
   10. FEATURES SECTION (GRID)
   ========================================== */
.features-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.005);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

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

.feature-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-smooth);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 255, 0.2);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
    background-color: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.15);
}

.feature-icon-box svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ==========================================
   11. INTERACTIVE DEMO (SPLIT LAYOUT)
   ========================================== */
.demo-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    gap: 32px;
    align-items: center;
}

.demo-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    height: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.demo-card-source {
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.demo-card-result {
    border-color: rgba(0, 255, 255, 0.15);
}

.demo-card-header {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.demo-source-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.demo-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.demo-article-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.demo-article-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.demo-action-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.demo-action-divider .btn {
    white-space: nowrap;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    height: 48px;
    padding: 0 20px;
}

.demo-result-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.summary-bullets-interactive {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.bullet-item {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    opacity: 0;
    transform: translateY(8px);
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.bullet-item::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.bullet-item b {
    color: var(--color-text-primary);
}

.bullet-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.read-time-pill {
    align-self: flex-start;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: auto;
    opacity: 0;
    transform: scale(0.9);
}

.read-time-pill.visible {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 12px;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(0, 255, 255, 0.1);
    border-top: 2px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================
   11.5 ANTI-ALGORITHM SECTION (SOVEREIGNTY)
   ========================================== */
.anti-algo-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.anti-algo-container {
    background: linear-gradient(135deg, rgba(25, 27, 34, 0.4) 0%, rgba(10, 15, 20, 0.4) 100%);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 28px;
    padding: 60px 48px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

.anti-algo-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.sovereign-badge-clean {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flag-tricolore {
    width: 12px;
    height: 8px;
    background: linear-gradient(to right, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%);
    border-radius: 1px;
    display: inline-block;
}

.anti-algo-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #FFFFFF 60%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.anti-algo-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.anti-algo-description strong {
    color: var(--color-text-primary);
}

.anti-algo-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.algo-point {
    display: flex;
    gap: 16px;
}

.point-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-icon-box svg {
    width: 18px;
    height: 18px;
}

.point-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.point-text p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ==========================================
   12. CTA WAITLIST CARD
   ========================================== */
.cta-section {
    padding: 100px 0 120px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(20, 21, 28, 0.8) 0%, rgba(10, 11, 14, 0.8) 100%);
    border: var(--glass-border);
    border-radius: 28px;
    padding: 70px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--glass-shadow), 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.cta-box::before {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.05) 0%, transparent 75%);
    pointer-events: none;
}

.cta-title {
    font-size: 2.3rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 auto 36px auto;
}

.cta-box .btn {
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.25);
}

/* ==========================================
   13. FOOTER
   ========================================== */
.main-footer {
    background-color: #060608;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 0 30px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.footer-logo .logo-image {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
}

.footer-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   14. ANIMATIONS / ENTRANCE
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   15. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

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

    .hero-title {
        font-size: 2.6rem;
    }

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

    .app-solution-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .app-solution-row.reverse {
        direction: ltr;
    }

    .app-solution-info {
        align-items: center;
    }

    .row-list {
        align-items: flex-start;
        text-align: left;
    }

    .demo-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .demo-card {
        height: auto;
        min-height: 260px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

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

    .anti-algo-points {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .anti-algo-container {
        padding: 40px 24px;
    }

    .nav-menu {
        display: none;
        /* Hide navigation menu links on tablet and mobile */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .problems-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 50px 24px;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .logo-text {
        font-size: 1.05rem;
        /* Scale down brand text size */
    }

    .logo-container {
        gap: 8px;
        /* Tighten gap */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .main-header {
        height: 72px;
    }

    .logo-text {
        font-size: 0.95rem;
        /* Further scale down to fit small screens */
    }

    .btn-sm.btn-waitlist {
        height: 36px;
        padding: 0 12px;
        font-size: 0.8rem;
        border-radius: 12px;
    }

    .btn-waitlist svg {
        display: none;
        /* Hide icon inside button to save space */
    }
}

@media (max-width: 350px) {
    .logo-text {
        display: none;
        /* Only hide text on extremely narrow displays like Galaxy Fold collapsed */
    }
}
