/* ═══════════════════════════════════════════
   MOTION CRAFT LABS — Redesign (Editify Aesthetic)
   Minimal Dark • Bento Grid • Premium Agency
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --bg-base: #000000;
    --bg-surface: #0a0a0c; /* Very dark zinc/pitch black */
    --bg-surface-hover: #121215;
    
    --primary: #00f0ff; /* Vibrant Cyan */
    --accent: #a855f7; /* Purple */
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa; /* Zinc 400 */
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Metrics */
    --radius-pill: 9999px;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Background Glows */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse at top, rgba(0, 240, 255, 0.08), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: var(--primary);
    color: #000;
}

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

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 800; /* Bolder */
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Layout ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

/* ── Navbar ── */
.navbar-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
}

.navbar {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    pointer-events: auto;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.navbar:hover {
    border-color: var(--border-hover);
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
}

.nav-brand-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-cta {
    padding: 0.8rem 1.75rem;
    background: var(--text-main);
    color: var(--bg-base);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 25px rgba(0,240,255,0.4);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-base);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,240,255,0.3);
}

.btn-outline {
    background: rgba(255,255,255,0.02);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0,240,255,0.05);
    transform: translateY(-4px);
    color: var(--primary);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900; /* Extra bold */
    line-height: 0.95;
    letter-spacing: -0.04em;
    max-width: 1000px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* ── Showreel ── */
.showreel-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}
.showreel-inner {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
}
.showreel-inner iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

/* ── Bento Grid (Cards) ── */
.bento-card {
    background: linear-gradient(145deg, var(--bg-surface), #050505);
    border: 1px solid var(--border-subtle);
    border-top-color: rgba(255,255,255,0.12); /* Brighter top edge */
    border-radius: var(--radius-xl);
    padding: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.5);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.03), transparent 50%);
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 50px rgba(0, 240, 255, 0.1);
    transform: translateY(-8px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Responsive grid */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 2rem;
    box-shadow: inset 0 0 20px rgba(0,240,255,0.05);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── Section Headers ── */
.section-header {
    margin-bottom: 5rem;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* ── Portfolio Grid ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 9/16;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.portfolio-item.landscape {
    aspect-ratio: 16/9;
}

.portfolio-item iframe, .portfolio-item video, .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    transition: var(--transition);
}

/* ── Process / System (Vertical Line) ── */
.roadmap-vertical {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2rem 0;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}
.roadmap-line {
    position: absolute;
    top: 0; bottom: 0; left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 0;
    opacity: 0.3;
}
.roadmap-step {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    position: relative;
    z-index: 1;
}
.roadmap-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(0,240,255,0.2);
}
.roadmap-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    flex-grow: 1;
    transition: var(--transition);
}
.roadmap-step:hover .roadmap-content {
    border-color: rgba(0,240,255,0.4);
    transform: translateX(10px);
}
.roadmap-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* ── Pricing ── */
.pricing-card {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin: 3rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pricing-features li .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Extras Bar */
.extras-bar {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    text-align: center;
}
.extras-bar h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.extras-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.extra-chip {
    padding: 0.75rem 1.5rem;
    background: #000;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── FAQ ── */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item summary {
    padding: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-copy {
    color: rgba(255,255,255,0.3);
    font-size: 0.95rem;
}

/* ── Animations (GSAP hooks) ── */
.pop-in {
    opacity: 0;
    transform: translateY(30px);
}

/* Utility */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
