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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo__text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: #ffffff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #151E3D);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #3B82F6, #151E3D);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn--large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(21, 30, 61, 0.3) 0%, rgba(0, 0, 0, 1) 70%);
    padding-top: 80px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(21, 30, 61, 0.3));
    animation: float 6s ease-in-out infinite;
}

.floating-element--1 { width: 60px; height: 60px; top: 20%; left: 10%; animation-delay: 0s; }
.floating-element--2 { width: 80px; height: 80px; top: 60%; right: 15%; animation-delay: 2s; }
.floating-element--3 { width: 40px; height: 40px; top: 80%; left: 20%; animation-delay: 4s; }
.floating-element--4 { width: 100px; height: 100px; top: 30%; right: 30%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.hero__title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6, #93C5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-card__number, .stat-card__suffix {
    background: linear-gradient(135deg, #3B82F6, #93C5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card__number { font-size: 48px; font-weight: 800; line-height: 1;  color: #fff; transition: all 0.3s ease; }
.stat-card__suffix { font-size: 24px; font-weight: 700; display: inline; }
.stat-card__label { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; font-weight: 500; }

/* Section Styles */
.section__header {
    text-align: center;
    margin-bottom: 80px;
}

.section__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services { padding: 120px 0; background: #000000; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; }
.service-card { background: rgba(255, 255, 255, 0.03); border-radius: 16px; padding: 32px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.05); border-color: rgba(59, 130, 246, 0.3); }
.service-card__icon { font-size: 32px; margin-bottom: 20px; display: block; }
.service-card__title { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #ffffff; }
.service-card__description { color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

/* Video Portfolio Section */
.portfolio { padding: 120px 0; background: linear-gradient(180deg, rgba(21, 30, 61, 0.1) 0%, transparent 100%); }
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.video-card { background: rgba(255, 255, 255, 0.03); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; overflow: hidden; }
.video-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.05); border-color: rgba(59, 130, 246, 0.3); }
.video-thumbnail { position: relative; cursor: pointer; }
.video-thumbnail img, .video-preview { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: rgba(21, 30, 61, 0.7); backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.play-button svg { color: #fff; width: 36px; height: 36px; }
.video-card:hover .play-button { transform: translate(-50%, -50%) scale(1.1); background: rgba(59, 130, 246, 0.8); }
.video-card__title { padding: 24px; font-size: 18px; font-weight: 600; text-align: center; }

/* --------------------------
   UPDATED: Script Writing Section (only this block changed)
   -------------------------- */
.scripts {
    padding: 140px 0;
    background: radial-gradient(circle at top, rgba(21, 30, 61, 0.4), #000 80%);
    position: relative;
    overflow: hidden;
}

.scripts::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    filter: blur(80px);
    animation: pulseGlow 6s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

.scripts .section__header {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.accordion {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.06);
    padding: 20px 32px;
    backdrop-filter: blur(10px);
}

.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.accordion-item.active {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
    transform: translateY(-6px);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.accordion-header span:first-child {
    display: inline-block;
    max-width: calc(100% - 40px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.accordion-header:hover {
    color: #93C5FD;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, padding 0.3s ease;
    padding: 0;
}

.accordion-item.active .accordion-content {
    max-height: 600px; /* enough for content */
    padding: 12px 0 20px;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 15px;
}

.accordion-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    position: relative;
    flex: 0 0 18px;
    display: inline-block;
}

.accordion-icon::before, .accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* --------------------------
   Process Section
   -------------------------- */
.process { padding: 120px 0; background: linear-gradient(180deg, rgba(21, 30, 61, 0.1) 0%, transparent 100%); }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.process-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border-radius: 20px; padding: 40px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; }
.process-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.05); border-color: rgba(59, 130, 246, 0.3); }
.process-card__icon { margin-bottom: 24px; }
.process-card__title { font-size: 24px; font-weight: 600; margin-bottom: 16px; color: #ffffff; }
.process-card__description { color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

/* Testimonials Section */
.testimonials { padding: 120px 0; background: linear-gradient(180deg, rgba(21, 30, 61, 0.05) 0%, transparent 100%); }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; }
.testimonial-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 20px; padding: 32px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); }
.testimonial-card__quote { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, 0.8); margin-bottom: 24px; }
.testimonial-card__author { display: flex; align-items: center; gap: 16px; }
.testimonial-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #3B82F6, #151E3D); display: flex; align-items: center; justify-content: center; font-weight: 600; color: #ffffff; font-size: 16px; }
.testimonial-card__name { font-size: 16px; font-weight: 600; color: #ffffff; margin-bottom: 4px; }
.testimonial-card__role { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* Final CTA Section */
.final-cta { padding: 120px 0; background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(21, 30, 61, 0.1) 100%); text-align: center; }
.final-cta__title { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 16px; color: #ffffff; }
.final-cta__description { font-size: 18px; color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --------------------------
   Footer (fixed / corrected)
   -------------------------- */
.footer { background: #000000; padding: 80px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
    align-items: start;
}
.footer__brand .logo { margin-bottom: 16px; display:flex; align-items:center; gap:12px; }
.footer__brand .logo__text { color:#fff; font-weight:700; }
.footer__description { color: rgba(255, 255, 255, 0.7); line-height: 1.6; max-width: 320px; font-size: 14px; }

/* Footer columns */
.footer__title { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #ffffff; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    font-size: 14px;
    display: inline-block;
}
.footer__link:hover { color: #93C5FD; transform: translateX(4px); }

/* bottom row */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.04); gap:12px; flex-wrap:wrap; }
.footer__copyright { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.footer__social { display: flex; gap: 24px; }
.footer__social-link { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer__social-link:hover { color: #3B82F6; }

/* Responsive Design */
@media (max-width: 992px) {
    .footer__content { grid-template-columns: 1fr 1fr; }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav__menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav__menu li { margin: 8px 0; }
    .nav__toggle { display: flex; }
    .nav__cta { display: none; }
    .hero__cta { flex-direction: column; align-items: center; }
    .hero__stats, .process__grid, .services__grid, .testimonials__grid, .portfolio__grid { grid-template-columns: 1fr; }
    .footer__content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
    .section__title { font-size: 32px; }
    .hero__title { font-size: 40px; }
}

/* Smaller phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .nav { padding: 12px 16px; }
    .hero { padding-top: 60px; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 16px; }
    .services, .portfolio, .scripts, .process, .testimonials, .final-cta { padding: 80px 0; }
    .stat-card, .process-card, .service-card, .testimonial-card { padding: 24px; }
    .section__header { margin-bottom: 60px; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Loading animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease-out; }

/* Button ripple effect */
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s ease; }
.btn:hover::before { left: 100%; }
