/* Base & Reset */
:root {
    --bg-color: #030712;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #1e293b;
    --surface: #0f172a;
    --surface-hover: #1e293b;
    
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #1e293b;
    
    --grad-red: #ef4444;
    --grad-yellow: #f59e0b;
    --grad-green: #10b981;
    --grad-purple: #8b5cf6;
    --grad-blue: #3b82f6;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

.text-gradient {
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(3,7,18,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    perspective: 1000px;
}

.dashboard-mockup {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body {
    height: 350px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Problems Section */
.problem-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--surface);
}

.icon-wrapper svg {
    color: white;
}

.red-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.red-icon svg { stroke: #ef4444; }

.orange-icon { background: rgba(245, 158, 11, 0.1); }
.orange-icon svg { stroke: #f59e0b; }

.purple-icon { background: rgba(139, 92, 246, 0.1); }
.purple-icon svg { stroke: #8b5cf6; }

.blue-icon { background: rgba(59, 130, 246, 0.1); }
.blue-icon svg { stroke: #3b82f6; }

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Services */
.service-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--surface-hover);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

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

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Gradients for icons */
.gradient-blue { background: linear-gradient(135deg, #3b82f622, #2563eb22); }
.gradient-blue svg { stroke: #3b82f6; }

.gradient-purple { background: linear-gradient(135deg, #8b5cf622, #7c3aed22); }
.gradient-purple svg { stroke: #8b5cf6; }

.gradient-green { background: linear-gradient(135deg, #10b98122, #05966922); }
.gradient-green svg { stroke: #10b981; }

.gradient-orange { background: linear-gradient(135deg, #f59e0b22, #d9770622); }
.gradient-orange svg { stroke: #f59e0b; }

.gradient-teal { background: linear-gradient(135deg, #14b8a622, #0d948822); }
.gradient-teal svg { stroke: #14b8a6; }

/* Timeline / Process */
.process-section {
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.5), transparent);
}

.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    color: transparent;
    line-height: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
}

.step-visual {
    width: 80px;
    height: 80px;
}

/* Use Cases */
.case-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.case-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.case-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 24px;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 50%;
    border: 4px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.about-content {
    flex: 2;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.founder-signature {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.founder-signature strong {
    font-size: 1.125rem;
}
.founder-signature span {
    color: var(--primary);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-text {
    flex: 1;
    position: sticky;
    top: 100px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 1rem;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.form-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-email {
    color: var(--primary);
}

.footer-links h4,
.footer-legal h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-content, 
    .about-container, 
    .contact-container {
        flex-direction: column;
    }
    
    .contact-text {
        position: static;
        top: auto;
    }
    
    .hero-text { 
        text-align: center; 
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-list li {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero h1 { font-size: 3rem; }
    
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .about-container, .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Additional Classes for V2 Updates */
.mt-4 { margin-top: 2rem; }

.hero-list {
    list-style: none;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Tech List */
.tech-list-wrapper {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

/* Social Proof */
.bg-alt-surface {
    background: linear-gradient(to bottom, var(--surface), var(--bg-color));
}

.social-proof-section {
    padding: 6rem 0;
}

.testimonial-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--primary);
    font-weight: 600;
}

.carousel-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.carousel-mask {
    --logo-size: 80px;
    --logo-gap: 3rem;
    width: calc(3 * var(--logo-size) + 2 * var(--logo-gap));
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    margin: -1rem 0;
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: var(--logo-gap);
    animation: step-carousel 12s infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes step-carousel {
    0%, 13% { transform: translateX(0); }
    16.66%, 29.66% { transform: translateX(calc(-1 * (var(--logo-size) + var(--logo-gap)))); }
    33.33%, 46.33% { transform: translateX(calc(-2 * (var(--logo-size) + var(--logo-gap)))); }
    50%, 63% { transform: translateX(calc(-3 * (var(--logo-size) + var(--logo-gap)))); }
    66.66%, 79.66% { transform: translateX(calc(-4 * (var(--logo-size) + var(--logo-gap)))); }
    83.33%, 96.33% { transform: translateX(calc(-5 * (var(--logo-size) + var(--logo-gap)))); }
    100% { transform: translateX(calc(-6 * (var(--logo-size) + var(--logo-gap)))); }
}

.company-logo {
    width: var(--logo-size);
    height: var(--logo-size);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.company-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo.logo-rect img {
    object-fit: contain;
    width: 80%;
    height: 80%;
}

@media (max-width: 768px) {
    .tech-list {
        grid-template-columns: 1fr;
    }
    .carousel-mask {
        --logo-size: 65px;
        --logo-gap: 1.5rem;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
    color: white;
}
