/* ==========================================================================
   Mina Erian — Apple-Inspired Minimal Dark + Neon Green
   Clean, premium, smooth animations
   ========================================================================== */

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;
    
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-muted: #6e6e73;
    
    --green: #32d74b;
    --green-bright: #4ade80;
    --green-dim: #22c55e;
    --green-glow: rgba(50, 215, 75, 0.5);
    --green-soft: rgba(50, 215, 75, 0.2);
    --green-subtle: rgba(50, 215, 75, 0.1);
    
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    --font-main: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', monospace;
    
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 17px;
    overflow-x: hidden;
}

/* Subtle star field */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Remove scan lines and HUD - keep it clean */
.scan-lines,
.hud-frame,
.hud-corner {
    display: none;
}

/* Navigation */
.nav-hud {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.nav-link {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    font-size: 0;
    transition: all 0.3s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
    background: var(--green);
    box-shadow: 0 0 15px var(--green-glow);
    transform: scale(1.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    position: relative;
}

.hero-content {
    max-width: 1000px;
}

.transmission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--green-subtle);
    border: 1px solid var(--green-soft);
}

.pulse {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--green);
}

.hero-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    display: none;
}

.hero-name {
    font-size: clamp(56px, 12vw, 140px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    margin-bottom: 24px;
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.name-part {
    display: inline-block;
    transition: color 0.3s var(--ease-out), -webkit-text-fill-color 0.3s var(--ease-out);
}

.name-part:hover {
    color: var(--green);
    -webkit-text-fill-color: var(--green);
}

.name-char {
    display: inline-block;
    transition: transform 0.3s var(--ease-out);
}

.name-part:hover .name-char {
    transform: translateY(-5px);
}

.name-space {
    width: 20px;
    display: inline-block;
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-value.online {
    color: var(--green);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.holo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 980px;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.holo-btn .btn-border {
    display: none;
}

.holo-btn.primary {
    background: var(--green);
    color: #000;
}

.holo-btn.primary:hover {
    background: var(--green-bright);
    transform: scale(1.02);
    box-shadow: 0 10px 40px var(--green-soft);
}

.holo-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.holo-btn.secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.scroll-prompt {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.scroll-prompt:hover {
    opacity: 1;
}

.scroll-prompt span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 64px;
}

.section-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-line {
    display: none;
}

/* ==========================================================================
   Origin Section
   ========================================================================== */

.holo-panel {
    background: transparent;
    border: none;
    padding: 0;
}

.panel-corner {
    display: none;
}

.origin-text {
    font-size: 21px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 700px;
}

.origin-quote {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 40px;
    padding-left: 24px;
    border-left: 3px solid var(--green);
    max-width: 600px;
}

.quote-mark {
    display: none;
}

/* ==========================================================================
   Discovery Section
   ========================================================================== */

.discovery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.discovery-text h3 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 32px;
    line-height: 1.2;
}

.discovery-text .highlight {
    color: var(--green);
}

.discovery-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.layer-visualization {
    display: flex;
    justify-content: center;
}

.layer-stack {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.layer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
}

.layer:hover {
    background: var(--bg-card-hover);
    border-color: var(--green);
    transform: translateX(8px);
}

.layer-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    background: var(--green-subtle);
    padding: 4px 10px;
    border-radius: 6px;
}

.layer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.layer-bar {
    width: 60px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.layer-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: var(--green);
    transition: width 0.6s var(--ease-out);
}

.layer:hover .layer-bar::after {
    width: 100%;
}

.data-packet {
    position: absolute;
    left: -15px;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--green-glow);
    animation: packet-travel 4s ease-in-out infinite;
}

@keyframes packet-travel {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 8px); opacity: 0; }
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */

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

.holo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s var(--ease-smooth);
}

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

.holo-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.holo-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.holo-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-glow {
    display: none;
}

/* ==========================================================================
   Proof Section (Metrics)
   ========================================================================== */

.proof-subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

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

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s var(--ease-smooth);
}

.metric-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.metric-value {
    font-size: 56px;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    display: inline;
}

.metric-suffix {
    font-size: 32px;
    font-weight: 600;
    color: var(--green);
    display: inline;
}

.metric-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 4px;
}

.metric-detail {
    font-size: 13px;
    color: var(--text-muted);
}

.metric-bar {
    margin-top: 20px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.metric-bar span {
    display: block;
    height: 100%;
    background: var(--green);
    border-radius: 2px;
    transition: width 1s var(--ease-out);
}

/* ==========================================================================
   Journey Section (Timeline)
   ========================================================================== */

.timeline {
    position: relative;
    padding-left: 0;
}

.timeline-line {
    display: none;
}

.timeline-item {
    margin-bottom: 48px;
}

.timeline-marker {
    display: none;
}

.marker-pulse {
    display: none;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 16px;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s var(--ease-smooth);
}

.timeline-item:hover .timeline-card {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.card-header {
    margin-bottom: 24px;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-header .company {
    font-size: 16px;
    color: var(--green);
}

.achievement-group {
    margin-bottom: 24px;
}

.achievement-group h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.achievement-group ul {
    list-style: none;
}

.achievement-group li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.achievement-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: var(--green);
    border-radius: 50%;
}

.achievement-group li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tech span {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--green-subtle);
    border-radius: 6px;
    color: var(--green);
}

/* ==========================================================================
   Toolkit Section
   ========================================================================== */

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

.toolkit-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s var(--ease-smooth);
}

.toolkit-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.toolkit-item h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}

.toolkit-item ul {
    list-style: none;
}

.toolkit-item li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}

.toolkit-item li:last-child {
    border-bottom: none;
}

.toolkit-item li:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Writing Section
   ========================================================================== */

.writing-intro {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

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

.writing-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
}

.writing-card::after {
    display: none;
}

.writing-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--green);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.writing-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.writing-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-arrow {
    display: none;
}

.writing-cta {
    text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-tagline {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.link-divider {
    color: var(--text-muted);
}

.footer-signal {
    display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .discovery-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .philosophy-grid,
    .metrics-grid,
    .toolkit-grid,
    .writing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-hud {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 24px;
    }
    
    .hero {
        padding: 40px 24px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .philosophy-grid,
    .metrics-grid,
    .toolkit-grid,
    .writing-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-card {
        padding: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .link-divider {
        display: none;
    }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

.metric-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}

.metric-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
