:root {
    /* Color Palette */
    --bg-dark: #070B14;
    --bg-card: rgba(20, 25, 35, 0.6);
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --accent-blue: #00E1FF;
    --accent-blue-dim: rgba(0, 225, 255, 0.2);
    --accent-purple: #7000FF;
    --accent-red: #FF3366;
    --accent-red-dim: rgba(255, 51, 102, 0.15);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-blur: blur(16px);

    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Details */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #A5B4CB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 225, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 225, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: var(--accent-blue-dim);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Common Section */
section {
    padding: 6rem 0;
    position: relative;
}

/* Glass & Mockups */
.glass-mockup {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 10px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.glass-mockup img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
}

.glow-2 {
    bottom: 20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-benefits {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-item .icon {
    font-size: 1.25rem;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.micro-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.perspective-mockup {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.5);
}

.perspective-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Generic Cards */
.card {
    background: var(--bg-card);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(30, 35, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-icon.red {
    background: var(--accent-red-dim);
    color: var(--accent-red);
}

.card-icon.blue {
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-visual .image-wrapper {
    position: relative;
}

.red-tint::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-red-dim);
    mix-blend-mode: color;
    border-radius: 12px;
    pointer-events: none;
}

.floating-img {
    width: 100%;
    border-radius: 12px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(255, 51, 102, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Solution Section */
.solution-section {
    background: linear-gradient(to bottom, transparent, rgba(0, 225, 255, 0.03), transparent);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accent-glow {
    box-shadow: 0 0 50px var(--accent-blue-dim);
}

/* Process Section */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    opacity: 0.3;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-blue);
    z-index: 2;
    flex-shrink: 0;
}

.step-content h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    margin-top: 5px;
}

.time-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-weight: 400;
}

.step-content p {
    color: var(--text-muted);
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: linear-gradient(180deg, rgba(20, 25, 35, 0.8) 0%, rgba(10, 15, 25, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.1);
}

.role-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-blue);
}

.role-icon svg {
    width: 48px;
    height: 48px;
}

.use-case-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}

.glass-panel {
    background: var(--bg-card);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 40%, rgba(0, 225, 255, 0.1) 50%, transparent 60%, transparent 100%);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.5);
}

.pulse-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #04070D;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contacts,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contacts a,
.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contacts a:hover,
.footer-legal a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.fade-left {
    transform: translateX(50px);
}

.fade-right {
    transform: translateX(-50px);
}

.slide-up {
    transform: translateY(50px);
}

.scale-in {
    transform: scale(0.9);
}

/* Responsive Media Queries */
@media (max-width: 992px) {

    .hero-grid,
    .problem-grid,
    .solution-grid,
    .glass-panel {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .solution-visual {
        order: 2;
    }

    .solution-cards {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    section {
        padding: 4rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-contacts,
    .footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .glass-panel {
        padding: 2rem;
    }
}