/* Ortaokul Kanki — Cosmic Theme */

:root {
    --space-deep: #0B0420;
    --space-mid: #1A0B3A;
    --neon-cyan: #00F5FF;
    --neon-purple: #A855F7;
    --neon-gold: #FBBF24;
    --neon-green: #34D399;
    --neon-pink: #F472B6;
    --text-primary: #FFFFFF;
    --text-muted: #C4B5FD;
    --text-dim: #9CA3AF;
    --card-bg: rgba(26, 11, 58, 0.6);
    --card-border: rgba(168, 85, 247, 0.25);
    --glow-cyan: 0 0 30px rgba(0, 245, 255, 0.3);
    --glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
    --radius: 16px;
    --radius-lg: 24px;
    --header-h: 72px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: 'Nunito', system-ui, sans-serif;
    background: var(--space-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--neon-gold);
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

/* Stars background */
.stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 50% 10%, rgba(0,245,255,0.5), transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(168,85,247,0.4), transparent),
        radial-gradient(1px 1px at 20% 90%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(251,191,36,0.3), transparent),
        radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.4), transparent),
        linear-gradient(180deg, var(--space-deep) 0%, var(--space-mid) 50%, #0f172a 100%);
    background-size: 100% 100%;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.85; }
    100% { opacity: 1; }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(11, 4, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

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

.nav-logo {
    border-radius: 12px;
    box-shadow: var(--glow-cyan);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand-text strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.nav-brand-text small {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width var(--transition);
}

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

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

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

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--space-deep);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
    color: var(--space-deep);
}

.btn-secondary {
    background: rgba(168, 85, 247, 0.2);
    color: var(--text-primary);
    border-color: var(--neon-purple);
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.btn-outline:hover {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

.btn-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 245, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 245, 255, 0.6); }
}

.btn-icon {
    font-size: 1.1em;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(2px);
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--neon-gold);
}

.hero-demo-note {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    padding: 1rem 1.25rem;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: var(--radius);
    max-width: 560px;
}

.hero-demo-note strong {
    color: var(--neon-green);
}

/* Demo Banner */
.demo-banner {
    padding: 0 0 20px;
    position: relative;
    z-index: 1;
}

.demo-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(0, 245, 255, 0.08));
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.1);
}

.demo-banner-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.demo-banner-content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--neon-green);
}

.demo-banner-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.demo-banner-content strong {
    color: var(--text-primary);
}

.demo-banner .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.demo-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.25rem;
    margin-bottom: 1.75rem;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-green);
}

.demo-highlight-icon {
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-cyan);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 600;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-purple);
    border: 2px solid var(--card-border);
}

.device-mockup img {
    width: 100%;
    height: auto;
}

.device-phone {
    width: min(280px, 70%);
    z-index: 2;
}

.float-slow {
    animation: float 6s ease-in-out infinite;
}

.float-fast {
    animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* App switch banner */
.app-switch-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 245, 255, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-lg);
    text-align: left;
}

.app-switch-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.app-switch-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.app-switch-text strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--neon-purple);
}

.app-switch-text span {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ecosystem */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.eco-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform var(--transition), box-shadow var(--transition);
}

.eco-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-purple);
}

.eco-card-parent {
    border-color: rgba(251, 191, 36, 0.3);
}

.eco-card-parent:hover {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.eco-card-visual {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: center;
}

.eco-card-visual img {
    max-height: 280px;
    object-fit: contain;
    border-radius: var(--radius);
}

.eco-card-body {
    padding: 1.5rem 2rem 2rem;
}

.eco-card-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.eco-role {
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.eco-card-parent .eco-role {
    color: var(--neon-gold);
}

.eco-card-body > p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.75;
    font-size: 0.95rem;
}

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

.eco-features li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.55;
}

.eco-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-size: 0.7rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: var(--glow-cyan);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.35;
    color: var(--neon-cyan);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.feature-points {
    list-style: none;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.feature-points li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.feature-points li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-size: 0.65rem;
    top: 0.35em;
}

/* Detail rows */
.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

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

.detail-reverse {
    direction: rtl;
}

.detail-reverse > * {
    direction: ltr;
}

.detail-text h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    color: var(--neon-cyan);
}

.detail-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.detail-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--card-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), var(--glow-purple);
    transition: transform var(--transition);
}

.detail-frame:hover {
    transform: scale(1.02);
}

/* Parent section */
.parent-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(251, 191, 36, 0.05));
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.parent-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.parent-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.parent-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.parent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.parent-list li {
    padding-left: 1.25rem;
    border-left: 3px solid var(--neon-gold);
}

.parent-list strong {
    display: block;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.parent-list span {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.parent-phone {
    position: relative;
    z-index: 1;
    max-width: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(251, 191, 36, 0.3);
    animation: float 5s ease-in-out infinite;
}

.parent-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Videos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 4, 32, 0.4);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition);
}

.video-play-btn svg {
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.6));
    transition: transform var(--transition);
}

.video-card:hover .video-play-btn svg {
    transform: scale(1.15);
}

.video-info {
    padding: 1.25rem;
}

.video-info h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.05), transparent, rgba(0, 245, 255, 0.05), transparent);
    animation: rotate-glow 10s linear infinite;
    z-index: 0;
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

@keyframes rotate-glow {
    to { transform: rotate(360deg); }
}

.pricing-badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--neon-gold), #F59E0B);
    color: var(--space-deep);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.pricing-amount {
    margin-bottom: 1rem;
}

.price-original {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.price-current {
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon-gold);
    line-height: 1;
}

.price-current small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pricing-features li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 800;
}

.pricing-trial {
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Download */
.download-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.download-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.download-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.02rem;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all var(--transition);
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.store-badge small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.store-badge strong {
    font-size: 1rem;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-visual {
    position: relative;
}

.download-hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-purple);
    border: 2px solid var(--card-border);
}

.download-accent-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 45%;
    border-radius: var(--radius);
    border: 2px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: float 5s ease-in-out infinite reverse;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 0 0;
    background: rgba(11, 4, 32, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    border-radius: 14px;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 360px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--neon-cyan);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-package {
    font-size: 0.75rem !important;
    color: var(--text-dim) !important;
    margin-top: 1rem !important;
}

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

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

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal[hidden] {
    display: none;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 4, 32, 0.9);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: min(900px, 92vw);
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}

.video-modal-close:hover {
    color: var(--neon-cyan);
}

#modal-video {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner,
    .ecosystem-grid,
    .features-grid,
    .detail-row,
    .parent-inner,
    .videos-grid,
    .download-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 380px;
        margin-top: 2rem;
    }

    .device-phone {
        width: min(240px, 65%);
    }

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

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

    .detail-reverse {
        direction: ltr;
    }

    .download-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        gap: 2rem;
    }
}

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

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(11, 4, 32, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--card-border);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        padding: 12px 0;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }

    .nav-cta {
        margin-top: 12px;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 1rem;
    }

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

    .section {
        padding: 70px 0;
    }

    .detail-row {
        gap: 2rem;
        margin-bottom: 3.5rem;
    }

    .demo-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .demo-banner .btn {
        width: 100%;
    }

    .app-switch-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .store-badges {
        flex-direction: column;
    }

    .store-badge {
        justify-content: center;
    }

    .download-actions {
        flex-direction: column;
    }

    .download-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 320px;
    }

    .device-phone {
        width: min(200px, 60%);
    }

    .pricing-card {
        padding: 1.75rem;
    }

    .price-current {
        font-size: 2.4rem;
    }
}
