/* === LOOPHUB PROFESSIONAL DESIGN (Linear-Inspired + Crazy Effects) === */

/* 1. Typography & Base */
:root {
    --bg-deep: #050507;
    --bg-surface: rgba(20, 20, 30, 0.4);
    --bg-surface-hover: rgba(30, 30, 50, 0.6);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 255, 255, 0.3);
    --text-main: #f7f8f8;
    --text-muted: #8a8f98;
    --accent-cyan: #00f3ff;
    --accent-purple: #7000ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

/* 2. 3D Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 3. Layout & Sections */
.home-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* 4. Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 15px; }
h3 { font-size: 1.5rem; }

p { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto 20px; }

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

/* 5. Components: Cards (Glassmorphism + Tilt) */
.ai-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.ai-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    background: var(--bg-surface-hover);
}

/* 6. Components: Buttons */
.ai-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.ai-btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.ai-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
}

.ai-btn-secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.ai-btn-secondary:hover {
    border-color: var(--accent-purple);
    color: var(--accent-cyan);
}

/* 7. Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.stat-item { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--accent-cyan); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* 8. Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* 9. Funnel/Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
    width: 100%;
    max-width: 800px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
}

/* 10. Pricing */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    box-shadow: 0 0 50px rgba(112, 0, 255, 0.2);
    transform: scale(1.05);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--text-main);
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.price-features li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: 700;
}

/* 11. Industries */
.industry-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.industry-card:hover img { opacity: 1; }

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

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 13. Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-buttons { flex-direction: column; }
    .step-card { flex-direction: column; text-align: center; }
    .pricing-card.featured { transform: scale(1); }
}
