/* DELTAZYN AI - Core Stylesheet (Black & Orange Palette) */
:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --bg-card: #18181e;
    --bg-card-hover: #202028;
    --orange-primary: #ff5a00;
    --orange-hover: #ff7729;
    --orange-glow: rgba(255, 90, 0, 0.25);
    --text-primary: #f4f4f6;
    --text-secondary: #a8a8b3;
    --border-subtle: #2a2a35;
    --border-orange: rgba(255, 90, 0, 0.45);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Navigation Header */
header {
    background-color: rgba(10, 10, 12, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.logo-mark {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--orange-primary), #cc4400);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    display: inline-block;
}

.logo span {
    color: var(--orange-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange-primary);
}

/* Dropdown Menu for Services */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-orange);
    border-radius: 8px;
    padding: 0.6rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 90, 0, 0.14);
    color: var(--orange-primary);
    padding-left: 1.5rem;
}

.nav-cta {
    background-color: var(--orange-primary);
    color: #0a0a0c !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 6px;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background-color: var(--orange-hover);
    box-shadow: 0 0 20px var(--orange-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
    cursor: pointer;
}

/* Layout Containers */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Hero Section */
.hero {
    padding: 6.5rem 0 5.5rem;
    background: radial-gradient(circle at 80% 20%, rgba(255, 90, 0, 0.14), transparent 50%),
                linear-gradient(180deg, #0e0e12 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.badge {
    display: inline-block;
    background-color: rgba(255, 90, 0, 0.12);
    border: 1px solid var(--border-orange);
    color: var(--orange-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 880px;
}

.hero h1 span {
    color: var(--orange-primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.85rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--orange-primary);
    color: #0a0a0c;
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    box-shadow: 0 0 25px var(--orange-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-orange);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(255, 90, 0, 0.1);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

/* Page Header (Subpages) */
.page-header {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(180deg, #131318 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header h1 span {
    color: var(--orange-primary);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 740px;
}

/* Grids & Cards */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-header h2 span {
    color: var(--orange-primary);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 680px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 2.1rem;
    transition: all 0.25s ease;
}

.card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-orange);
    transform: translateY(-4px);
}

.card-tag {
    color: var(--orange-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    display: block;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.96rem;
}

/* Metrics Strip */
.metrics-strip {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-item h3 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--orange-primary);
    margin-bottom: 0.25rem;
}

.metric-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background-color: var(--bg-card);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

th {
    background-color: #111116;
    color: var(--orange-primary);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

td.highlight {
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact Form */
.form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.15);
}

.form-success {
    display: none;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background-color: rgba(255, 90, 0, 0.12);
    border: 1px solid var(--orange-primary);
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Demo Video Frame */
.video-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-orange);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at center, #1f1916 0%, #09090b 100%);
    border: 1px dashed var(--border-orange);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.play-btn-circle {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background-color: var(--orange-primary);
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 30px var(--orange-glow);
    cursor: pointer;
    transition: transform 0.25s ease;
}

.play-btn-circle:hover {
    transform: scale(1.08);
}

.video-placeholder video,
.video-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #181210 0%, #141419 100%);
    border: 1px solid var(--border-orange);
    border-radius: 12px;
    padding: 3.5rem;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background-color: #070709;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.1rem;
    letter-spacing: 0.04em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
}

.footer-col ul li a:hover {
    color: var(--orange-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border-orange);
        gap: 1rem;
    }
    .nav-links.open {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
