/* CSS Variables & Reset */
:root {
    --bg-dark: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-color: #818cf8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.08);
    --container-width: 1200px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 30px;
}

.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.glass-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
}

/* About Section */
.content-block h2 {
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.link-arrow {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.cards-stack .glass-card.offset {
    margin-left: 40px;
}

.badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 10px 0;
}

/* Services Grid */
.service-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card.full-width {
    grid-column: span 4;
}

/* Features Highlight */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    padding: 15px 25px;
    border-radius: 50px;
}

.check-icon {
    color: #4ade80;
    font-weight: bold;
}

/* Industries */
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.industry-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 15px;
    width: calc(33.333% - 20px);
    border: 1px solid var(--glass-border);
}

.industry-card h3 {
    margin-bottom: 10px;
    color: white;
}

.industry-card .highlight {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.industry-card ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.industry-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

/* Learn */
.learn-grid .learn-item {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.learn-item .num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -10px;
    right: 0;
}

.learn-item p {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Pricing */
.pricing-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    background: rgb(22 22 35);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card .status {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.examples-box {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.examples-box h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.examples-box p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: #050508;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.contact-form-wrapper {
    padding-right: 50px;
}

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

.contact-form input, .contact-form textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.link-columns {
    display: flex;
    gap: 50px;
    margin: 30px 0;
}

.link-columns a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.link-columns a:hover {
    color: var(--accent-color);
}

.meta {
    color: #555;
    font-size: 0.8rem;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .col-4, .col-3, .col-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .industry-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px;
        transform: translateY(-100%);
        transition: 0.3s;
        z-index: 999;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .col-4, .col-3, .col-2 {
        grid-template-columns: 1fr;
    }
    
    .service-card.full-width {
        grid-column: span 1;
    }
    
    .industry-card {
        width: 100%;
    }
    
    .cards-stack .glass-card.offset {
        margin-left: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding-right: 0;
        margin-bottom: 50px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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