/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4A90E2;
    --soft-blue: #87CEEB;
    --purple: #764ba2;
    --gradient: linear-gradient(135deg, #4A90E2 0%, #87CEEB 50%, #AED6F0 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --shadow: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 30px 60px rgba(74, 144, 226, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #f8fbff; /* Soft background to allow glows to show */
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
    animation: pulseFloat 12s infinite ease-in-out;
}

.glow-1 {
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
}

.glow-2 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    animation-delay: -6s;
}

@keyframes pulseFloat {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.2; }
    50% { transform: scale(1.1) translate(20px, -15px); opacity: 0.3; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.ai-toggle {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.ai-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(120, 119, 198, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
}

.hero-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    display: block;
    background: linear-gradient(45deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.hero-stats {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.elevate:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.5);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.founder-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: var(--gradient-purple);
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.light-title {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-card ul {
    list-style: none;
}

.contact-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-card li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 4rem 0 2rem;
}

.footer-content {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}


/* 🔥 MATH STYLES */
.math-inline {
    font-size: 1.1em !important;
    vertical-align: middle;
}

.math-display {
    font-size: 1.3em !important;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.katex {
    font-size: inherit !important;
}

.katex-display {
    margin: 1rem 0 !important;
}









/* MODERN FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
}

/* HOVER EFFECTS */
.feature-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 64px rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.4);
}

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

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 2rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-overlay span {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #8b5cf6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* THEME COLORS */
.study-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 32px 64px rgba(59, 130, 246, 0.3);
}

.game-card:hover {
    border-color: #10b981;
    box-shadow: 0 32px 64px rgba(16, 185, 129, 0.3);
}

.ai-card {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.ai-card p {
    color: rgba(255,255,255,0.9);
}

.ai-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 32px 64px rgba(139, 92, 246, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        min-height: 200px;
        padding: 2rem 1.5rem;
    }
}








/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        display: none; /* Hide by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 8px;
        padding: 16px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex; /* Show when active */
    }
    
    .nav-link {
        padding: 12px 16px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu {
        display: block !important;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
    }
    
    /* Hide desktop nav elements on mobile */
    .ai-toggle {
        display: none;
    }
}

/* Desktop styles (ensure these exist) */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

/* 2026 UI refresh */
:root {
    --ink: #17202a;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-soft: #f6f9fc;
    --line: #dbe5ef;
    --blue: #2563eb;
    --green: #059669;
    --amber: #f59e0b;
    --rose: #e11d48;
    --soft-shadow: 0 18px 45px rgba(23, 32, 42, 0.10);
    --premium-shadow: 0 26px 70px rgba(23, 32, 42, 0.12);
}

body {
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px),
        linear-gradient(0deg, rgba(5, 150, 105, 0.022) 1px, transparent 1px),
        var(--surface-soft);
    background-size: 44px 44px;
    color: var(--ink);
}

.ambient-glow,
.hero-bg {
    display: none;
}

.header {
    top: 14px;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    padding: 0;
    border: 1px solid rgba(219, 229, 239, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 30px rgba(23, 32, 42, 0.06);
}

.nav-container {
    padding: 0.85rem 1rem;
}

.logo {
    gap: 0.65rem;
    font-size: 1.35rem;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--ink);
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eaf6ff;
    font-size: 1.25rem;
}

.nav-links {
    gap: 0.35rem;
}

.nav-link {
    display: block;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    color: #344054;
    font-weight: 700;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    background: #eef6ff;
    color: var(--blue);
}

.ai-toggle,
.btn-primary,
.btn-secondary {
    border-radius: 8px;
    box-shadow: none;
}

.ai-toggle {
    background: var(--ink);
    padding: 0.75rem 1rem;
}

.ai-toggle:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(23, 32, 42, 0.14);
}

.hero {
    min-height: 88vh;
    align-items: flex-end;
    padding: 8.5rem 1rem 2.5rem;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(5, 150, 105, 0.055) 44%, rgba(245, 158, 11, 0.08)),
        var(--surface-soft);
    color: var(--ink);
    text-align: left;
}

.hero-content {
    width: min(1120px, 100%);
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
    grid-template-areas:
        "badge visual"
        "title visual"
        "subtitle visual"
        "buttons visual"
        "stats visual";
    gap: 1.15rem 3rem;
    align-items: center;
}

.hero-badge {
    grid-area: badge;
    width: fit-content;
    margin: 0;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    backdrop-filter: none;
}

.hero-title {
    grid-area: title;
    margin: 0;
    font-size: clamp(3rem, 6.4vw, 6.1rem);
    letter-spacing: 0;
}

.hero-title span {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--ink);
}

.hero-title span:last-child {
    color: var(--blue);
}

.hero-subtitle {
    grid-area: subtitle;
    max-width: 620px;
    margin: 0;
    color: #475569;
    opacity: 1;
}

.hero-buttons {
    grid-area: buttons;
    justify-content: flex-start;
    margin: 0.6rem 0 0;
}

.btn-primary {
    background: var(--blue);
    color: white;
    border: 1px solid var(--blue);
}

.btn-primary,
.btn-secondary {
    min-height: 48px;
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
}

.hero-stats {
    grid-area: stats;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    color: var(--muted);
    opacity: 1;
    font-weight: 700;
}

.hero-visual {
    grid-area: visual;
    position: relative;
    min-height: 450px;
    display: grid;
    place-items: center;
}

.brand-orbit {
    position: absolute;
    top: 0;
    right: 0;
    width: min(330px, 82%);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
    display: grid;
    place-items: center;
    transform: rotate(2deg);
}

.brand-orbit img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    border-radius: 8px;
}

.hero-preview {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: min(390px, 88%);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--soft-shadow);
}

.preview-top {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.preview-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--rose);
}

.preview-top span:nth-child(2) {
    background: var(--amber);
}

.preview-top span:nth-child(3) {
    background: var(--green);
}

.preview-row,
.preview-line {
    height: 14px;
    border-radius: 8px;
    background: #dbeafe;
}

.preview-row.strong {
    width: 68%;
    height: 24px;
    margin-bottom: 1rem;
    background: var(--blue);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.preview-grid div {
    height: 72px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.preview-grid div:nth-child(2) {
    background: #fff7ed;
    border-color: #fed7aa;
}

.preview-grid div:nth-child(3) {
    background: #fff1f2;
    border-color: #fecdd3;
}

.preview-line {
    width: 100%;
    margin-bottom: 0.65rem;
}

.preview-line.short {
    width: 58%;
    margin-bottom: 0;
}

.section {
    padding: 5rem 0;
    scroll-margin-top: 110px;
    overflow: visible;
}

.section-title {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--ink);
    letter-spacing: 0;
}

.section-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--muted);
}

.features-section {
    background: var(--surface);
}

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

.feature-card {
    min-height: 250px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    border-radius: 8px;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
}

.feature-card::before {
    inset: 0 auto 0 0;
    width: 5px;
    height: auto;
    opacity: 1;
    background: var(--blue);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    background: #eef6ff;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.feature-card p,
.ai-card p {
    color: var(--muted);
}

.card-action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-weight: 800;
}

.card-action::after {
    content: ">";
    margin-left: 0.5rem;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12);
}

.app-section {
    background: #f8fafc;
}

.app-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)),
        var(--surface);
    box-shadow: var(--premium-shadow);
}

.app-copy {
    padding: clamp(0.5rem, 2vw, 1.25rem);
}

.app-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--ink);
    font-weight: 900;
}

.app-section-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.app-copy h2 {
    max-width: 720px;
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.app-copy p {
    max-width: 650px;
    margin: 0 0 1.7rem;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.8;
}

.app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.app-preview {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.phone-frame {
    width: min(310px, 92%);
    min-height: 460px;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 28px;
    background: #111827;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.phone-top {
    width: 92px;
    height: 5px;
    margin: 0.25rem auto 0.75rem;
    border-radius: 999px;
    background: #334155;
}

.app-screen {
    min-height: 410px;
    padding: 1.1rem;
    border-radius: 22px;
    background: #f8fafc;
}

.app-pill {
    display: inline-flex;
    margin-bottom: 1.3rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.78rem;
    font-weight: 800;
}

.app-screen h3 {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1.15;
}

.app-progress {
    height: 10px;
    margin-bottom: 1.1rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.app-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
}

.app-list {
    display: grid;
    gap: 0.75rem;
}

.app-list div {
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.app-list strong,
.app-list span,
.app-card-mini strong,
.app-card-mini span {
    display: block;
}

.app-list strong {
    color: var(--ink);
}

.app-list span,
.app-card-mini span {
    color: var(--muted);
    font-size: 0.9rem;
}

.app-card-mini {
    position: absolute;
    right: 0;
    bottom: 3.5rem;
    width: 150px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
}

.app-card-mini strong {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.game-card::before {
    background: var(--green);
}

.game-card .feature-icon {
    background: #ecfdf5;
}

.game-card .card-action {
    color: var(--green);
}

.floak-ai-card::before {
    background: var(--green);
}

.floak-ai-card .feature-icon {
    background: #ecfdf5;
    font-size: 0;
}

.floak-ai-card .feature-icon::after {
    content: "AI";
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 900;
}

.floak-ai-card .card-action {
    color: var(--green);
}

.ai-card {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}

.ai-card::before {
    background: var(--amber);
}

.ai-card h3,
.ai-card .card-action {
    color: white;
}

.ai-card .feature-icon {
    background: rgba(255, 255, 255, 0.12);
}

.about-section {
    background: #f8fafc;
    display: block;
    position: relative;
    z-index: 1;
    color: var(--ink);
    padding: 7rem 0;
    overflow: visible;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: start;
    min-height: 0;
    overflow: visible;
}

.about-text {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
    max-width: 720px;
}

.about-section .section-title {
    color: var(--ink);
    display: block;
    visibility: visible;
    opacity: 1;
}

.about-section .section-subtitle,
.about-section .about-text p {
    color: var(--muted);
    margin-left: 0;
    margin-right: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(23, 32, 42, 0.06);
    visibility: visible;
    opacity: 1;
}

.stat-item {
    padding: 1rem;
    border-radius: 8px;
    background: #f8fafc;
}

.stat-number {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--blue);
}

.founder-card,
.contact-card {
    border-radius: 8px;
}

.founder-avatar {
    border-radius: 8px;
    background: var(--green);
}

.contact-section {
    background: var(--ink);
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
}

.contact-item {
    border-radius: 8px;
}

@media (max-width: 900px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "badge"
            "title"
            "subtitle"
            "buttons"
            "stats"
            "visual";
        justify-items: center;
    }

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

    .hero-visual {
        width: min(520px, 100%);
        min-height: 360px;
        margin-top: 1rem;
    }

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

    .app-shell {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-copy {
        display: grid;
        justify-items: center;
    }

    .app-actions {
        justify-content: center;
    }

    .app-preview {
        min-height: 440px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        top: 8px;
        width: calc(100% - 16px);
    }

    .nav-links {
        border: 1px solid var(--line);
        border-radius: 8px;
        margin-top: 0.75rem;
    }

    .hero {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero-title {
        font-size: clamp(2.6rem, 15vw, 4.5rem);
    }

    .hero-subtitle {
        font-size: 1.08rem;
    }

    .btn-large {
        width: min(100%, 320px);
        justify-content: center;
        padding: 1rem 1.2rem;
    }

    .hero-visual {
        min-height: 320px;
    }

    .brand-orbit {
        width: 72%;
    }

    .hero-preview {
        width: 78%;
    }

    .app-shell {
        padding: 1rem;
    }

    .app-copy h2 {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .app-copy p {
        font-size: 1rem;
    }

    .app-actions {
        width: 100%;
    }

    .app-actions .btn-primary,
    .app-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .app-preview {
        min-height: 410px;
    }

    .phone-frame {
        min-height: 390px;
        border-radius: 24px;
    }

    .app-screen {
        min-height: 340px;
        border-radius: 18px;
    }

    .app-card-mini {
        right: 0.5rem;
        bottom: 1rem;
        width: 132px;
    }
}

/* Redesigned About section */
.about-section {
    padding: 6.5rem 0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(5, 150, 105, 0.06)),
        #f8fafc;
}

.about-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
    align-items: stretch;
}

.about-copy,
.about-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(23, 32, 42, 0.08);
}

.about-copy {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.about-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.about-copy h2 {
    max-width: 760px;
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.about-copy > p {
    max-width: 660px;
    margin: 0 0 2rem;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.8;
}

.about-founder {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.about-founder h4,
.about-founder p {
    margin: 0;
}

.about-founder p {
    color: var(--muted);
}

.about-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem;
}

.about-metric,
.about-note {
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.about-metric {
    min-height: 135px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-metric.wide,
.about-note {
    grid-column: 1 / -1;
}

.about-metric strong {
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.about-metric span {
    color: var(--muted);
    font-weight: 800;
}

.about-note {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
}

.about-note span {
    width: 12px;
    height: 12px;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--green);
    flex: 0 0 auto;
}

.about-note p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .about-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .about-panel {
        grid-template-columns: 1fr;
    }

    .about-founder {
        width: 100%;
    }
}

/* Clean simple UI */
:root {
    --ink: #111827;
    --muted: #667085;
    --surface: #ffffff;
    --surface-soft: #f7f8fa;
    --line: #e5e7eb;
    --blue: #2563eb;
    --green: #0f766e;
    --amber: #b45309;
    --rose: #be123c;
    --soft-shadow: none;
    --premium-shadow: none;
}

body {
    background: var(--surface-soft);
    color: var(--ink);
}

.loader {
    background: var(--surface);
}

.loader-content,
.logo-spin {
    color: var(--ink);
}

.logo-spin {
    animation: none;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.header {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.nav-container {
    max-width: 1120px;
    padding: 0.8rem 1rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 800;
}

.nav-links {
    gap: 0.15rem;
}

.nav-link {
    padding: 0.55rem 0.75rem;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-link:hover {
    background: var(--surface-soft);
    color: var(--ink);
}

.ai-toggle,
.app-drawer-toggle,
.btn-primary,
.btn-secondary,
#sendBtn {
    border-radius: 8px;
    box-shadow: none;
}

.ai-toggle {
    background: var(--ink);
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
}

.app-drawer-toggle {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
}

.ai-toggle:hover,
.app-drawer-toggle:hover,
.btn-primary:hover,
.btn-secondary:hover,
.feature-card:hover,
.elevate:hover {
    transform: none;
    box-shadow: none;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.app-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2200;
    width: min(430px, 100%);
    height: 100vh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-left: 1px solid var(--line);
    background: var(--surface);
    transform: translateX(100%);
    transition: transform 0.24s ease;
}

.app-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.drawer-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.drawer-header h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.55rem;
    line-height: 1.1;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.drawer-list {
    display: grid;
    gap: 0.85rem;
    overflow-y: auto;
}

.download-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.download-app-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.download-app-logo,
.admin-app-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.download-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
}

.download-card h3 {
    margin: 0 0 0.35rem;
    color: var(--ink);
    font-size: 1.1rem;
}

.download-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.download-card a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 800;
}

.drawer-note {
    margin: auto 0 0;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.drawer-empty {
    margin: 0;
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface-soft);
    text-align: center;
}

.drawer-admin-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    text-decoration: none;
    font-weight: 800;
}

.admin-page {
    min-height: 100vh;
    background: var(--surface-soft);
}

.admin-shell {
    width: min(920px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0;
}

.admin-header {
    margin-bottom: 1rem;
}

.admin-back {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

.admin-header h1 {
    margin: 0 0 0.6rem;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.admin-header p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-card {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.admin-form {
    display: grid;
    gap: 1rem;
}

.admin-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink);
    font-weight: 800;
}

.admin-form input {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--ink);
    font: inherit;
}

.admin-status {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.admin-status[data-tone="success"] {
    color: var(--green);
}

.admin-status[data-tone="error"] {
    color: var(--rose);
}

.admin-list-header,
.admin-app-row,
.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-list-header {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-list-header h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
}

.admin-app-list {
    display: grid;
    gap: 0.8rem;
}

.admin-app-list > p {
    margin: 0;
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface-soft);
}

.admin-app-row {
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.admin-app-info {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.85rem;
}

.admin-app-info > div {
    min-width: 0;
}

.admin-app-row h3,
.admin-app-row p {
    margin: 0;
}

.admin-app-row h3 {
    color: var(--ink);
    font-size: 1.05rem;
}

.admin-app-row p {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-row-actions {
    flex: 0 0 auto;
}

.admin-row-actions a,
.admin-row-actions button {
    min-height: 38px;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.admin-row-actions button {
    color: var(--rose);
}

.hero {
    min-height: auto;
    padding: 9.5rem 1rem 5rem;
    background: var(--surface);
    color: var(--ink);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.hero-content {
    max-width: 760px;
    display: block;
    margin: 0 auto;
}

.hero-badge,
.section-kicker,
.about-kicker {
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.hero-title {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5rem);
    line-height: 1.04;
}

.hero-title span:last-child {
    color: var(--blue);
}

.hero-subtitle {
    max-width: 560px;
    margin: 1.2rem auto 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-buttons {
    justify-content: center;
    margin: 2rem 0 0;
    gap: 0.8rem;
}

.btn-primary,
.btn-secondary {
    min-height: 46px;
    padding: 0.85rem 1.1rem;
    font-size: 0.96rem;
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
}

.hero-stats {
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.4rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-stats span {
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
}

.hero-visual,
.brand-orbit,
.hero-preview,
.app-card-mini,
.phone-frame {
    display: none;
}

.section {
    padding: 4.5rem 0;
    scroll-margin-top: 82px;
}

.section-header {
    max-width: 620px;
    margin: 0 auto 2rem;
}

.section-title,
.app-copy h2,
.about-copy h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    color: var(--ink);
}

.section-subtitle,
.app-copy p,
.about-copy > p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.features-section,
.app-section,
.about-section {
    background: var(--surface-soft);
}

.features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0;
}

.feature-card,
.app-shell,
.about-copy,
.about-panel,
.contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: none;
}

.feature-card {
    min-height: 220px;
    padding: 1.25rem;
}

.feature-card::before {
    display: none;
}

.feature-icon {
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    background: none;
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 800;
}

.floak-ai-card .feature-icon {
    font-size: 0.85rem;
}

.floak-ai-card .feature-icon::after {
    content: none;
}

.feature-card h3 {
    margin-bottom: 0.65rem;
    color: var(--ink);
    font-size: 1.2rem;
}

.feature-card p,
.ai-card p {
    color: var(--muted);
}

.ai-card {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
}

.ai-card h3,
.ai-card .card-action {
    color: var(--ink);
}

.card-action {
    color: var(--blue);
    font-size: 0.92rem;
}

.app-shell,
.about-shell {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 1rem;
}

.app-shell {
    padding: 1rem;
}

.app-copy,
.about-copy {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.app-preview {
    min-height: auto;
}

.clean-screen,
.app-screen {
    width: 100%;
    min-height: auto;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.app-list div,
.about-metric,
.about-note,
.about-founder,
.contact-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.about-section {
    padding: 4.5rem 0;
}

.about-panel {
    padding: 1rem;
}

.about-metric {
    min-height: 112px;
}

.about-metric strong,
.app-card-mini strong {
    color: var(--blue);
}

.founder-avatar {
    border-radius: 8px;
    background: var(--ink);
}

.founder-photo {
    width: 64px;
    height: 64px;
    margin: 0;
    flex: 0 0 auto;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: transparent;
    font-weight: 800;
}

.founder-photo::before {
    content: "";
    width: 28px;
    height: 28px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
}

.founder-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.founder-photo img[src]:not([src=""]) {
    opacity: 1;
}

.founder-photo:has(img[src]:not([src=""]))::before {
    opacity: 0;
}

.founder-photo img[src]:not([src=""]) + span {
    opacity: 0;
}

.contact-section {
    background: var(--ink);
}

.contact-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.contact-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.footer {
    padding: 2.5rem 0;
    background: #0b1220;
}

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

@media (max-width: 900px) {
    .features-grid,
    .app-shell,
    .about-shell {
        grid-template-columns: 1fr;
    }

    .app-copy {
        justify-items: start;
        text-align: left;
    }

    .app-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header {
        top: 0;
        width: 100%;
    }

    .nav-links {
        left: 1rem;
        right: 1rem;
        border: 1px solid var(--line);
        box-shadow: none;
    }

    .mobile-menu {
        color: var(--ink);
        font-size: 0.92rem;
        font-weight: 800;
    }

    .app-drawer-toggle {
        padding: 0.55rem 0.65rem;
        font-size: 0.82rem;
    }

    .hero {
        padding-top: 7.5rem;
    }

    .hero-title {
        font-size: clamp(2.35rem, 12vw, 3.6rem);
    }

    .hero-buttons,
    .app-actions {
        width: 100%;
    }

    .btn-large,
    .app-actions .btn-primary,
    .app-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .app-drawer-toggle {
        display: none;
    }

    .app-drawer {
        width: 100%;
    }

    .admin-app-row,
    .admin-row-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-row-actions a,
    .admin-row-actions button {
        justify-content: center;
        text-align: center;
    }
}

/* Larger founder photo */
.about-founder {
    align-items: center;
    gap: 1.1rem;
}

.founder-photo {
    width: 108px;
    height: 108px;
}

.founder-photo::before {
    width: 44px;
    height: 44px;
}

@media (max-width: 520px) {
    .founder-photo {
        width: 92px;
        height: 92px;
    }
}










