/* 
   PREMIUM DARK MODE DESIGN SYSTEM FOR ARTIFIT
*/

:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #131317;
    --bg-card: rgba(25, 25, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --accent-brand: #ea580c;
    --accent-glow: #ef4444;
    --accent-cyan: #f97316;

    --font-main: 'Outfit', sans-serif;
    
    --transition-snappy: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    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.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -- UTILS -- */
a {
    text-decoration: none;
    color: inherit;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-gradient {
    background: linear-gradient(135deg, var(--accent-brand), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-right: 4px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-brand), var(--accent-glow));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: var(--transition-snappy);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* -- NAVBAR -- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition-snappy);
}

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

/* -- HERO SECTION -- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(10,10,12,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeUp 1s ease-out forwards;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-glow);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* -- CAPABILITIES (BENTO GRID) -- */
.capabilities {
    padding: 6rem 5%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-snappy);
    backdrop-filter: blur(10px);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bento-card .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

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

.bento-card p {
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.highlight-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(25, 25, 30, 0.8), rgba(99, 102, 241, 0.05));
}

@media (min-width: 768px) {
    .highlight-card {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }
    
    .highlight-card .icon-wrapper {
        margin-bottom: 0;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
}

/* -- INTEGRATION SHOWCASE (Data Consolidation) -- */
.integration-showcase {
    padding: 6rem 5%;
    background: radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.08), transparent 50%), var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.integration-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.integration-text {
    flex: 1;
    min-width: 300px;
}

.badge-accent {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(6, 182, 212, 0.2);
}

.integration-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.integration-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
}

.feature-checklist li svg {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-checklist li strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 5px;
}

.integration-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.visual-node {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin: 0.5rem 0;
    z-index: 2;
    width: 220px;
}

.source-node {
    border-left: 4px solid var(--accent-cyan);
}

.central-node {
    border: 1px solid var(--accent-brand);
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-glow);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.destination-node {
    border-right: 4px solid var(--accent-glow);
}

.visual-path {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-brand));
}

.destination-path {
    background: linear-gradient(to bottom, var(--accent-brand), var(--accent-glow));
}

@media (min-width: 900px) {
    .integration-text {
        padding-right: 2rem;
    }
}

/* -- ENHANCED FOOTER -- */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
}

.footer-brand {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: -0.5rem;
}

.footer-brand .doc-link {
    font-weight: 500;
}

.footer-brand .doc-link a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition-snappy);
}

.footer-brand .doc-link a:hover {
    text-decoration-color: var(--accent-cyan);
}

.footer-brand .copyright {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

.footer-contact {
    min-width: 250px;
}

.contact-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-underline {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ef4444);
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-snappy);
}

.contact-list li svg {
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-list li a {
    transition: var(--transition-snappy);
}

.contact-list li a:hover {
    color: var(--accent-glow);
}

/* ANIMATIONS */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- MOBILE RESPONSIVENESS -- */
@media (max-width: 768px) {
    /* Navbar Compression */
    .navbar {
        padding: 1rem 5%;
    }
    .logo {
        font-size: 1.25rem;
    }
    .logo-gradient {
        margin-right: 2px;
    }
    .nav-links {
        gap: 1rem;
    }
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    /* Hero Downscaling */
    .hero {
        padding: 7rem 5% 3rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Feature Pages */
    .feature-hero {
        padding: 6rem 5% 3rem;
    }
    .feature-hero h1, .feature-hero .hero-title {
        font-size: 2.5rem;
    }
    .integration-text h2 {
        font-size: 2rem;
    }
    .central-node {
        margin: 1rem 0;
        background: transparent;
    }
    
    /* Interface Pads */
    .bento-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Strict Mobile Optimizations */
    .nav-links a:not(.btn-primary) {
        display: none; /* Hide standard links to prioritize CTA on extreme mobile screens */
    }
    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .bento-grid, .adtech-grid, .sports-grid {
        grid-template-columns: 1fr; /* Force strictly 1 column */
    }
    .integration-visual {
        display: none; /* Hide heavy architectural diagram on strict mobile to preserve UX */
    }
}