/* 
   RecallSpace Landing Website - Stylesheet
   Designed with ultra-premium dark theme, glassmorphism, and smooth animations.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #07080d;
    --bg-card: rgba(13, 15, 26, 0.6);
    --bg-card-hover: rgba(20, 23, 41, 0.8);
    --border-glow: rgba(99, 102, 241, 0.15);
    --border-light: rgba(255, 255, 255, 0.07);
    --primary: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #06b6d4; /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #a855f7; /* Purple */
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Scrollbar Design */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

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

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 70%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    background: rgba(7, 8, 13, 0.7);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    margin-top: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.01em;
}

.badge i {
    color: var(--primary);
    font-size: 0.8rem;
}

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

.hero-phone-mockup {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 10;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease;
}

.hero-phone-mockup:hover {
    transform: translateY(-10px) rotate(-1deg);
}

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(7, 8, 13, 0.5);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

/* Interactive Simulator Section */
.simulator-section {
    padding: 100px 0;
    background: relative;
}

.simulator-container {
    background: rgba(13, 15, 26, 0.5);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.simulator-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.simulator-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.simulator-inputs {
    display: flex;
    gap: 0.75rem;
}

.simulator-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    flex: 1;
    transition: all 0.3s ease;
}

.simulator-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.emoji-select {
    width: 60px;
    text-align: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.simulator-canvas-container {
    position: relative;
    background: #0d0f1a;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: crosshair;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

/* SVG Room Grid */
.room-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.2;
    pointer-events: none;
}

.isometric-room-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.simulator-instructions {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 8, 13, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #a5b4fc;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.spatial-anchor {
    position: absolute;
    transform: translate(-50%, -100%);
    z-index: 20;
    cursor: pointer;
    animation: anchorSpawn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes anchorSpawn {
    0% { transform: translate(-50%, -100%) scale(0); opacity: 0; }
    100% { transform: translate(-50%, -100%) scale(1); opacity: 1; }
}

.anchor-bubble {
    background: rgba(99, 102, 241, 0.8);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 
                inset 0 0 8px rgba(255,255,255,0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.anchor-bubble:hover {
    transform: scale(1.1);
    background: var(--primary);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
}

.anchor-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: inherit;
    border-right: 1.5px solid rgba(255,255,255,0.4);
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
}

.anchor-pulse {
    position: absolute;
    width: 20px;
    height: 10px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.6) 0%, transparent 70%);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 19;
    border-radius: 50%;
    animation: anchorPulseEffect 2s infinite ease-out;
}

@keyframes anchorPulseEffect {
    0% { transform: translateX(-50%) scale(0.6); opacity: 1; }
    100% { transform: translateX(-50%) scale(2.2); opacity: 0; }
}

.anchor-popover {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 15, 26, 0.95);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1rem;
    width: 200px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.spatial-anchor:hover .anchor-popover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.popover-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.popover-content {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    word-wrap: break-word;
}

/* App Interface Showcase Section */
.showcase {
    padding: 100px 0;
    position: relative;
}

.showcase-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide standard Firefox scrollbar */
}

.showcase-slider::-webkit-scrollbar {
    display: none; /* Hide Chrome/Safari scrollbar */
}

.showcase-slide {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.showcase-slide:hover {
    border-color: rgba(255,255,255,0.15);
    background: var(--bg-card-hover);
}

.slide-image-wrapper {
    background: #07080d;
    border-radius: 20px;
    aspect-ratio: 9/16;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* Steps Section */
.steps-section {
    padding: 100px 0;
    background: rgba(13, 15, 26, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, transparent 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.step-title {
    font-size: 1.5rem;
}

.step-desc {
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* No gap — items share borders, cleaner list look */
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-light);
}

.faq-question {
    padding: 1.35rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-question:hover {
    color: #c7d2fe;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 400px;
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.2s ease;
    pointer-events: none;
    width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Footer & Call To Action */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid var(--border-glow);
    padding: 5rem 3rem;
    border-radius: 32px;
    backdrop-filter: blur(20px);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Memory Type Tabs Section */
.memory-types-section {
    padding: 100px 0;
}

.memory-tabs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.mem-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mem-tab:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255,255,255,0.15);
    color: var(--text-primary);
}

.mem-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.memory-tab-content {
    position: relative;
}

.mem-panel {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.mem-panel.active {
    display: block;
}

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

.mem-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 3rem;
}

.mem-panel-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mem-panel-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.mem-panel-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mem-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mem-features-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.mem-features-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mem-panel-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-anchor-card {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3),
                inset 0 0 30px rgba(99,102,241,0.04);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.mock-anchor-card:hover {
    transform: translateY(-4px);
}

.mock-emoji {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.mock-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.mock-card-content {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Privacy Section */
.privacy-section {
    padding: 0 0 80px;
}

.privacy-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.privacy-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.privacy-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

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

/* Simulator hint & clear */
.sim-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.sim-hint i {
    color: var(--primary);
    flex-shrink: 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Inline code tag */
code {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 0.85em;
    padding: 0.15em 0.5em;
    border-radius: 6px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Simulator instructions fade */
.simulator-instructions {
    transition: opacity 0.4s ease;
}

/* Mock Store Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 8, 13, 0.85);
    backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    padding: 3rem;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Scroll Animation Hooks */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .simulator-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mem-panel-grid {
        grid-template-columns: 1fr;
    }

    .privacy-card {
        flex-direction: column;
        text-align: center;
    }
}

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

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

    .section-title {
        font-size: 2rem;
    }

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

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

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

    .simulator-container {
        padding: 1.5rem;
        gap: 2rem;
    }

    .mem-panel-grid {
        padding: 1.5rem;
        gap: 2rem;
    }

    .emoji-select {
        width: 100%;
    }

    .memory-tabs {
        gap: 0.5rem;
    }

    .mem-tab {
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
    }

    .privacy-card {
        padding: 2rem 1.5rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}
