/* ========================================
   Project ATLAS — Google Startup Site
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #0a0a12;
    color: #e8e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

img, svg {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e94560;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #c0392b 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.35);
}

.btn-outline {
    background: transparent;
    color: #e94560;
    border: 2px solid #e94560;
}

.btn-outline:hover {
    background: #e94560;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-big {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #222335;
}

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

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e94560;
    box-shadow: 0 0 10px #e94560;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.navbar-links a {
    font-size: 0.92rem;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #ffffff;
}

.lang-btn {
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid rgba(233, 69, 96, 0.45);
    color: #e94560;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: #e94560;
    color: #ffffff;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #16213e 0%, #0a0a12 60%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 50px;
    color: #e94560;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #e94560;
    border-radius: 50%;
    box-shadow: 0 0 8px #e94560;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    color: #e94560;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 700px;
    opacity: 0.6;
    pointer-events: none;
}

.atlas-logo {
    width: 100%;
    height: auto;
}

/* ========================================
   PROBLEM
   ======================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    background: #121220;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: #e94560;
}

.problem-number {
    font-size: 2rem;
    font-weight: 800;
    color: #e94560;
    margin-bottom: 1rem;
    display: block;
}

.problem-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ========================================
   SOLUTION
   ======================================== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: #121220;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: #e94560;
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.solution-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.solution-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ========================================
   INNOVATIONS
   ======================================== */
.innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.innovation-card {
    background: #121220;
    border: 1px solid #222335;
    border-left: 4px solid #e94560;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s;
}

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

.innovation-badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid rgba(233, 69, 96, 0.2);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.innovation-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.innovation-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ========================================
   LIVE DEMO SANDBOX
   ======================================== */
.demo-section {
    background: radial-gradient(circle at 50% 20%, #16213e 0%, #0a0a12 75%);
    border-top: 1px solid #222335;
    border-bottom: 1px solid #222335;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.demo-terminal,
.demo-telemetry {
    background: #121220;
    border: 1px solid #222335;
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.demo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #222335;
}

.demo-dots {
    display: flex;
    gap: 0.45rem;
}

.demo-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.demo-dots span:nth-child(1) { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #f59e0b; }
.demo-dots span:nth-child(3) { background: #10b981; }

.demo-status-pill {
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.demo-chat-log {
    flex: 1;
    min-height: 290px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.chat-msg {
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    font-size: 0.93rem;
    line-height: 1.5;
}

.chat-msg.user {
    align-self: flex-end;
    background: rgba(233, 69, 96, 0.18);
    border: 1px solid rgba(233, 69, 96, 0.4);
    color: #ffffff;
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
    background: #0a0a12;
    border: 1px solid #222335;
    color: #e2e8f0;
    max-width: 92%;
}

.chat-msg.bot .msg-meta {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.76rem;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sys2-details {
    margin-top: 0.55rem;
    border-top: 1px dashed #222335;
    padding-top: 0.45rem;
}

.sys2-details summary {
    font-size: 0.76rem;
    color: #38bdf8;
    cursor: pointer;
    user-select: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sys2-details pre {
    margin-top: 0.4rem;
    padding: 0.55rem 0.7rem;
    background: #121220;
    border-radius: 8px;
    font-size: 0.73rem;
    color: #94a3b8;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.inline-followups {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.inline-followup-btn {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.32);
    color: #f8fafc;
    font-size: 0.75rem;
    padding: 0.28rem 0.65rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.inline-followup-btn:hover {
    background: #e94560;
    color: #ffffff;
}

.demo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.demo-chip {
    background: #0a0a12;
    border: 1px solid #282a40;
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-chip:hover {
    border-color: #e94560;
    color: #ffffff;
}

.demo-input-row {
    display: flex;
    gap: 0.65rem;
}

.demo-input-row input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: #0a0a12;
    border: 1px solid #222335;
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.demo-input-row input:focus {
    outline: none;
    border-color: #e94560;
}

.demo-input-row button {
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
}

.wave-canvas-wrap {
    background: #0a0a12;
    border: 1px solid #222335;
    border-radius: 14px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

#waveCanvas {
    width: 100%;
    height: 170px;
    display: block;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.telemetry-box {
    background: #0a0a12;
    border: 1px solid #222335;
    border-radius: 12px;
    padding: 0.8rem 1rem;
}

.telemetry-label {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.2rem;
}

.telemetry-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e94560;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ip-notice {
    margin-top: auto;
    font-size: 0.8rem;
    color: #94a3b8;
    background: rgba(233, 69, 96, 0.06);
    border: 1px solid rgba(233, 69, 96, 0.22);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
}

/* ========================================
   RESULTS
   ======================================== */
.results-section {
    background: #121220;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.result-card {
    background: #0a0a12;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.result-card.highlight {
    border-color: #e94560;
    background: linear-gradient(135deg, #121220 0%, #0f0f1a 100%);
}

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

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.result-card.highlight .result-value {
    color: #e94560;
}

.result-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.results-note {
    background: #0a0a12;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 2rem;
}

.results-note p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ========================================
   ROADMAP
   ======================================== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.roadmap-item {
    background: #121220;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.roadmap-item:hover {
    transform: translateY(-4px);
}

.roadmap-item.active {
    border-color: #e94560;
}

.roadmap-item.completed {
    border-color: #10b981;
}

.roadmap-item.planned {
    opacity: 0.6;
}

.roadmark-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.roadmap-item.active .roadmark-badge {
    background: #e94560;
}

.roadmap-item.completed .roadmark-badge {
    background: #10b981;
}

.roadmap-item.planned .roadmark-badge {
    background: transparent;
    border: 2px solid #64748b;
    color: #64748b;
}

.roadmap-item h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.roadmap-item p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================================
   GOOGLE SECTION
   ======================================== */
.google-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.google-card {
    background: #121220;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.google-card:hover {
    transform: translateY(-4px);
    border-color: #e94560;
}

.google-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.google-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.google-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.google-cta {
    background: linear-gradient(135deg, #121220 0%, #0f0f1a 100%);
    border: 1px solid #222335;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
}

.google-cta-text {
    margin-bottom: 2rem;
}

.google-cta-text h3 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.google-cta-text p {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.google-cta .btn {
    margin: 0 0.75rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-section {
    background: #0a0a12;
    border-top: 1px solid #222335;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: #121220;
    border: 1px solid #222335;
    border-radius: 24px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e8e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #0a0a12;
    border: 1px solid #222335;
    border-radius: 10px;
    color: #e8e8f0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #121220;
    border: 1px solid #222335;
    border-radius: 16px;
    padding: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item span {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .demo-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .google-cta .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0;
    }
}

@media (max-width: 768px) {
    .navbar-links a {
        display: none;
    }
    .section {
        padding: 3.5rem 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
}
