/* ═══════════════════════════════════════════════
   OmniCall — Premium Landing Page Styles
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Righteous&display=swap');

:root {
    --bg-main: #020617;
    --bg-card: rgba(30, 41, 59, 0.4);
    --bg-card-hover: rgba(30, 41, 59, 0.7);

    /* Primary Gradient - Updated to Cyan/Blue */
    --primary-start: #0ea5e9;
    --primary-end: #0284c7;

    /* Accent Colors */
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-purple: #0ea5e9;
    /* Replaced purple with main color as requested */
    --accent-pink: #ec4899;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-start);
}

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

/* ── Dynamic Background ── */
.bg-universe {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.1), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05), transparent 60%);
    opacity: 0.8;
}

.bg-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 0.5px, transparent 0.5px);
    background-size: 50px 50px, 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.1;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    animation: starsMove 100s linear infinite;
}

@keyframes starsMove {
    from {
        background-position: 0 0, 10px 10px;
    }

    to {
        background-position: 1000px 1000px, 1010px 1010px;
    }
}

/* ── Layout ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ══════════════ NAVBAR ══════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    font-weight: 400;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-start);
    -webkit-text-fill-color: initial;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-start);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 2px;
    border: 1px solid var(--border-light);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ══════════════ HERO SECTION ══════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1.2fr 1fr;
        padding-right: 2rem;
    }
}

.hero-content {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Badge removed */

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeUp 0.8s ease-out 0.1s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-start), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientText 6s ease infinite;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.cta-group {
    display: flex;
    gap: 1rem;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    color: #fff;
    box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-light);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Hero Image/Visual ── */
.hero-visual {
    position: relative;
    width: 100%;
    height: auto;
    /* Removed aspect-ratio to let image define height */
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    z-index: 1;
    /* Removed overflow:hidden so full image shows */
    backdrop-filter: blur(10px);
    display: none;
    transform: perspective(1000px) rotateY(-12deg) rotateX(5deg) scale(0.9);
    transition: transform 0.5s ease;
}

.hero-visual:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(0.95);
}

.hero-dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* Make uncopyable/unselectable */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

/* ══════════════ SECTIONS ══════════════ */
section {
    padding: 8rem 0;
    position: relative;
}

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

.section-subtitle {
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

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

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--primary-start);
}

.feature-card:nth-child(2) .icon-box {
    color: var(--accent-cyan);
}

.feature-card:nth-child(3) .icon-box {
    color: var(--accent-purple);
}

.feature-card:nth-child(4) .icon-box {
    color: var(--accent-pink);
}

.feature-card:nth-child(5) .icon-box {
    color: var(--accent-blue);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ── Architecture / Tech Stack ── */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--primary-start);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 1));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.step-card:nth-child(1) .step-icon {
    color: var(--accent-cyan);
    border-color: rgba(6, 182, 212, 0.3);
}

.step-card:nth-child(2) .step-icon {
    color: var(--accent-purple);
    border-color: rgba(168, 85, 247, 0.3);
}

.step-card:nth-child(3) .step-icon {
    color: var(--accent-pink);
    border-color: rgba(236, 72, 153, 0.3);
}

/* Connector Lines (Desktop) - Removed for Ecosystem Grid */
@media (min-width: 1024px) {
    /* .step-card::after { content: ''; ... } removed */
}

/* ── Tech Stack ── */
.tech-scroller {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-3px);
}

/* ── CTA Section ── */
.cta-section {
    padding: 0 2rem 6rem;
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3rem;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
    align-items: center;
}

.cta-text-col .section-title {
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.cta-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

/* Modern Form Styles */
.modern-form {
    background: rgba(2, 6, 23, 0.6);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #f43f5e;
    /* Red/Rose color for asterisk */
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    /* Allow vertical resizing only */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-start);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .cta-wrapper {
        grid-template-columns: 1fr 1fr;
        padding: 0 2rem;
    }
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
    background: rgba(2, 6, 23, 0.5);
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ── Scroll Animations ── */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade Up Effect */
.scroll-animate.fade-up {
    transform: translateY(30px);
}

.scroll-animate.scale-up {
    transform: scale(0.9);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .steps-wrapper {
        grid-template-columns: 1fr;
    }

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

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

    /* Mobile menu implementation simple for now */
    .menu-btn {
        display: block;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }
}