/* ============================================================
   Alvora WebSite — Landing Page Styles
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --accent: #06b6d4;
    --accent-light: #67e8f9;
    --green: #569d20;
    --green-light: #7bc547;
    --bg-dark: #0a0a12;
    --bg-card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --text: #f0f0f5;
    --text-muted: #8b8ba3;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

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

/* ── Glow Orbs (decorative) ── */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.glow-orb--purple {
    background: rgba(79, 70, 229, 0.25);
    width: 500px; height: 500px;
}
.glow-orb--cyan {
    background: rgba(6, 182, 212, 0.15);
    width: 400px; height: 400px;
}
.glow-orb--green {
    background: rgba(86, 157, 32, 0.12);
    width: 350px; height: 350px;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header-logo {
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(79,70,229,0.2);
}
.header-logo img { width: 100%; height: 100%; object-fit: contain; }
.header-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.header-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.header-nav a:hover { color: #fff; }
.btn-console {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s;
    cursor: pointer;
    color: #fff;
}
.btn-console:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(79,70,229,0.25);
}
.btn-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}

/* ── Hero ── */
.hero {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(86,157,32,0.6);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 25px rgba(79,70,229,0.35);
}
.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(79,70,229,0.5);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
}

/* Hero visual panel */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.hero-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}
.hero-card + .hero-card {
    margin-top: 1rem;
}
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.hero-card-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.hero-card-icon--purple { background: rgba(79,70,229,0.2); color: var(--primary-light); }
.hero-card-icon--green { background: rgba(86,157,32,0.2); color: var(--green-light); }
.hero-card-icon--cyan { background: rgba(6,182,212,0.2); color: var(--accent-light); }
.hero-card-title {
    font-size: 0.85rem;
    font-weight: 600;
}
.hero-card-value {
    font-size: 0.75rem;
    color: var(--text-muted);
}
/* Mini stat bars */
.stat-bars { display: flex; gap: 4px; align-items: flex-end; height: 32px; }
.stat-bar {
    width: 8px;
    border-radius: 3px;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    animation: grow-bar 1.5s ease-out forwards;
}
@keyframes grow-bar {
    from { height: 0; }
}
/* Status dots row */
.status-dots {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.status-dot {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.status-dot span {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.dot-green { background: #10b981; }
.dot-yellow { background: #f59e0b; }
.dot-blue { background: #3b82f6; }
.dot-red { background: #ef4444; }

/* ── Section base ── */
section { position: relative; }
.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    max-width: 700px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-top: 1.25rem;
    line-height: 1.7;
}

/* ── Problems ── */
.problems {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, var(--bg-dark) 100%);
}
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.problem-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.problem-card:hover {
    border-color: rgba(239,68,68,0.3);
    background: rgba(239,68,68,0.04);
    transform: translateY(-2px);
}
.problem-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(239,68,68,0.12);
    color: #f87171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.problem-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* ── Solution ── */
.solution {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}
.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 1.75rem;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(79,70,229,0.3);
    background: rgba(79,70,229,0.05);
    transform: translateY(-3px);
}
.feature-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── How it works ── */
.how-it-works {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, var(--bg-dark) 100%);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.step-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}
.step-card:hover {
    border-color: rgba(79,70,229,0.3);
    transform: translateY(-3px);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}
.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Capabilities ── */
.capabilities {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.cap-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 2rem;
    transition: all 0.3s;
}
.cap-card:hover {
    border-color: rgba(6,182,212,0.3);
    background: rgba(6,182,212,0.04);
    transform: translateY(-2px);
}
.cap-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}
.cap-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cap-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Use Cases ── */
.use-cases {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(79,70,229,0.03) 100%);
}
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}
.use-case-card:hover {
    border-color: rgba(79,70,229,0.3);
    background: rgba(79,70,229,0.05);
    transform: translateY(-3px);
}
.use-case-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(79,70,229,0.4));
}
.use-case-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.use-case-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── FAQ ── */
.faq-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-dark);
}
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.15); }
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\F64D'; /* bi-plus */
    font-family: 'bootstrap-icons';
    font-size: 1.25rem;
    color: var(--primary-light);
    transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '\F2E4'; /* bi-dash */ }
.faq-item .faq-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
    padding: 5rem 0;
}
.cta-box {
    border: 1px solid var(--border);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(6,182,212,0.05));
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box .section-title { margin: 0 auto; max-width: 650px; }
.cta-box .section-desc { margin: 1.25rem auto 0; }
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}
.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .solution-layout { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .problems-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .cap-grid { grid-template-columns: 1fr; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .header-nav a:not(.btn-console):not(.btn-header-cta) { display: none; }
    .header-nav .btn-console { display: none; } /* Hide console on very small screens to fit CTA */
    .hero { padding: 4rem 0 3rem; }
    .cta-box { padding: 3rem 1.5rem; }
    .site-footer .container { flex-direction: column; text-align: center; }
}

/* ── SVG icons inline ── */
.icon-svg {
    width: 1em; height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

/* ── Contact Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: #13131f;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.modal-header-section {
    text-align: center;
    margin-bottom: 2rem;
}
.modal-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(79,70,229,0.35);
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Honeypot (hidden) */
.honeypot { display: none !important; }

/* Form fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.required { color: #f87171; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.2);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
}
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success state */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    gap: 0.75rem;
}
.success-icon {
    font-size: 3.5rem;
    color: #10b981;
    line-height: 1;
}
.form-success h4 {
    font-size: 1.3rem;
    font-weight: 700;
}
.form-success p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
    .modal-box { padding: 1.75rem; }
}
