@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2B;
    --primary-light: #FF8C5A;
    --accent: #00D4AA;
    --accent-dark: #00B894;
    --accent-light: #26E6C4;
    --bg: #0F0E17;
    --bg-elevated: #1A1825;
    --bg-card: #1F1D2E;
    --text: #F5F3F0;
    --text-muted: #B8B5C0;
    --text-dim: #9491A0;
    --border: rgba(255, 107, 53, 0.08);
    --border-light: rgba(255, 107, 53, 0.15);
    --gradient-1: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 50%, #FFA07A 100%);
    --gradient-2: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
    --gradient-3: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    --gradient-4: linear-gradient(135deg, #00D4AA 0%, #26E6C4 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav.scrolled {
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 107, 53, 0.4);
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--text);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-1);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.nav-cta-btn::after {
    display: none;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.intro {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 32px 100px;
    position: relative;
    overflow: hidden;
}

.intro-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.intro-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.intro-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 107, 53, 0.4);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.3), 0 0 100px rgba(0, 212, 170, 0.2);
    animation: logo-rotate 20s linear infinite;
    position: relative;
    z-index: 1;
}

.logo-ring {
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    animation: ring-rotate 15s linear infinite reverse;
}

@keyframes logo-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.intro-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
}

.intro-tagline {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.intro-description {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.intro-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}

.intro-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.capabilities {
    padding: 120px 32px;
    background: var(--bg-elevated);
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.section-heading {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

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

.capability-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card-1::before {
    background: var(--gradient-1);
}

.card-2::before {
    background: var(--gradient-2);
}

.card-3::before {
    background: linear-gradient(135deg, #FF6B35 0%, #00D4AA 100%);
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 64px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.card-1 .card-icon {
    background: var(--gradient-1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.card-2 .card-icon {
    background: var(--gradient-2);
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
}

.card-3 .card-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #00D4AA 100%);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25), 0 8px 20px rgba(0, 212, 170, 0.15);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.card-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.insights-section {
    padding: 120px 32px;
    background: var(--bg);
}

.insights-list {
    max-width: 1000px;
    margin: 0 auto;
}

.insight-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.insight-item:hover {
    border-color: rgba(255, 107, 53, 0.3);
}

.insight-item[open] {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}

.insight-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.insight-summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.insight-title {
    letter-spacing: -0.3px;
}

.insight-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

.insight-toggle::before,
.insight-toggle::after {
    content: '';
    position: absolute;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.insight-toggle::before {
    width: 2px;
    height: 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.insight-toggle::after {
    width: 16px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.insight-item[open] .insight-toggle::before {
    opacity: 0;
}

.insight-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.insight-item[open] .insight-content {
    max-height: 5000px;
}

.insight-body {
    padding: 0 32px 32px;
    color: var(--text-muted);
    line-height: 1.8;
}

.insight-body h4 {
    color: var(--text);
    font-size: 22px;
    margin-bottom: 16px;
    margin-top: 8px;
    font-weight: 700;
}

.insight-body p {
    margin-bottom: 24px;
    font-size: 16px;
}

.feature-list {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(4px);
}

.feature-item strong {
    display: block;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    margin: 0;
    font-size: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.about-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.about-label {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.about-value {
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
}

.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 60px 32px 40px;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.footer-main {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-brand-text {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-credit {
    color: var(--text-dim);
    font-size: 13px;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-scroll-top {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.footer-scroll-top:hover {
    transform: translateY(-50%) translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-mobile-toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .intro-title {
        font-size: 48px;
    }

    .intro-tagline {
        font-size: 20px;
    }

    .intro-description {
        font-size: 16px;
    }

    .section-heading {
        font-size: 40px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .capability-card {
        padding: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-scroll-top {
        position: static;
        transform: none;
        margin: 24px auto 0;
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .intro {
        padding: 100px 20px 60px;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .intro-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .intro-logo-container {
        margin-bottom: 20px;
    }

    .intro-logo {
        width: 100px;
        height: 100px;
    }

    .intro-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .intro-stats {
        flex-direction: column;
        gap: 24px;
        padding-top: 30px;
        margin-top: 10px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .capabilities,
    .insights-section {
        padding: 60px 20px;
    }
    
    .section-container {
        padding: 0;
    }

    .section-heading {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .insight-summary {
        padding: 18px 20px;
        font-size: 18px;
    }

    .insight-body {
        padding: 0 20px 20px;
    }
    
    .nav-wrapper {
        padding: 0 20px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 28px; 
    }
    
    .nav-logo-text {
        font-size: 18px;
    }
    
    .stat-value {
        font-size: 40px;
    }
    
    .card-number {
        font-size: 48px;
    }
}
