:root {
    --bg-color: #030303;
    --surface: #0a0a0a;
    --surface-hover: #141414;
    --border: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #1e3a8a; /* deep cinematic blue */
    --accent-glow: rgba(30, 58, 138, 0.4);

    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle, #030303 40%, #1e3a8a 120%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

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

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border 0.2s;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    transition: text-shadow 0.3s ease;
    color: var(--text-primary);
    text-decoration: none;
}

.logo:hover {
    text-shadow: 0 0 15px var(--accent-glow);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary-sm {
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}
.btn-primary-sm:hover {
    background: rgba(30, 58, 138, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background: rgba(30, 58, 138, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px var(--accent-glow), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.05);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1), inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}



/* About */
.about-grid {
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
}

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

/* Strategy Section */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s;
}

.strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--accent-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

.strategy-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 2rem;
}

.strategy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.strategy-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Works */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.link-action {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 0.25rem;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.link-action:hover {
    opacity: 0.7;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 500px;
    gap: 2rem;
    align-items: stretch;
}

.work-card {
    background: #050505;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.work-card:hover {
    box-shadow: 0 20px 40px var(--accent-glow);
    z-index: 10;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.work-card-large {
    grid-column: span 3;
}

.work-card-small {
    grid-column: span 1;
}

/* Testimonial */
.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0 3rem;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    scroll-snap-align: center;
    padding: 2.5rem;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    position: relative;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    transform-style: preserve-3d;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px var(--accent-glow);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #1f1f1f;
}

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

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details .name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.author-details .title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.quote-icon {
    color: rgba(255,255,255,0.05);
}

.quote-icon svg {
    width: 48px;
    height: 48px;
}

.quote {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-family: inherit;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    cursor: none;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
}
.faq-answer p {
    padding-bottom: 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}
.faq-item.active .icon {
    transform: rotate(180deg);
}
.icon {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

/* Collab / Calendly */
.collab-section {
    padding-bottom: 4rem;
}
.collab-header {
    text-align: center;
    margin-bottom: 3rem;
}
.collab-header p {
    color: var(--text-secondary);
    font-size: 1.25rem;
}
.calendly-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    padding: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 700;
}
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 4rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
}
.social-links a:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
    body {
        background-image: radial-gradient(ellipse at center, #030303 90%, #1e3a8a 100%);
    }
    section { padding: 4rem 0; }
    .container { padding: 0 1.5rem; }
    .nav-links { display: none; }
    
    .hero h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 1.5rem; }
    .section-title { font-size: 2rem; }
    
    .about-text { text-align: center; }
    
    .strategy-grid { grid-template-columns: 1fr; }
    
    .works-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 1rem; }
    .work-card-large { grid-column: span 1; aspect-ratio: 16/9; }
    .work-card-small { grid-column: span 1; aspect-ratio: 9/16; max-height: 60vh; }
    .work-card { border-radius: 12px; }

    .testimonial-card { flex: 0 0 100%; padding: 2rem 1.5rem; }
    .quote { font-size: 1rem; line-height: 1.5; margin-bottom: 1.5rem; }
    
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}
