:root {
    --primary: #3b82f6;
    --secondary: #f97316;
    --bg-dark: #0b1120;
    --bg-darker: #020617;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #f97316 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-nav {
    background: var(--gradient);
    padding: 10px 24px;
    border-radius: 8px;
    color: #fff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-text-block {
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 600;
}

.hero-bg-elements .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 1;
}

.orb-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
}

.orb-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
}

/* Sections & Components */
.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Tabs */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

pre {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid var(--border-color);
}

/* Use Cases */
.use-case-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.use-case-row.reverse {
    flex-direction: row-reverse;
}

.use-case-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.use-case-content {
    flex: 1;
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* Forms */
.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-field {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    width: 100%;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-gradient {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-gradient:hover {
    transform: scale(1.02);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    z-index: 9999;
    display: none;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 1024px) {
    .grid-3,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 100px 40px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    .use-case-row, .use-case-row.reverse {
        flex-direction: column;
    }
    .contact-split {
        grid-template-columns: 1fr;
    }
    .grid-3, .footer-grid {
        grid-template-columns: 1fr;
    }
}