:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #bdf44a; /* Growth Lime */
    --accent-glow: rgba(189, 244, 74, 0.3);
    --white: #ffffff;
    --black: #000000;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container.tighter {
    max-width: 900px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.cta-btn.sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.cta-btn.primary {
    background-color: var(--accent);
    color: var(--black);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.cta-btn.secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(189, 244, 74, 0.1);
    color: var(--accent);
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Dynamic Profile Frame */
.hero-profile-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.profile-frame {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatProfile 6s ease-in-out infinite;
}

.profile-accent-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(100% 0, 100% 100%, 50% 50%, 0 0); /* Pie slice shape */
    opacity: 0.9;
    z-index: 1;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transform: scale(0.95);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

@keyframes floatProfile {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--accent);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% { transform: translate(-50%, -15px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Trust Marquee */
.trust-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(to right, transparent, rgba(189, 244, 74, 0.02), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-tag {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 4rem;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 2rem; /* Tighter gap between cards */
    animation: marquee 50s linear infinite;
}

.brand-logo-item {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95); /* High-contrast background */
    padding: 1.5rem 2.5rem;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-logo-item img {
    max-height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: none; /* Restore original logo colors for better recognition */
    transition: var(--transition);
}

.brand-logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 20px var(--accent-glow);
    border-color: var(--accent);
}

.brand-logo-item:hover img {
    transform: scale(1.05);
}

/* Remove unused text brand styles if necessary, but keep for compatibility */
.brand-item {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Problem Section */
.problem-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.problem-item {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.problem-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.problem-item::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.1;
    transition: var(--transition);
}

.problem-item:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--accent-glow);
}

.problem-item:hover::before {
    opacity: 0.1;
    animation: rotateGlow 10s linear infinite;
}

.problem-item:hover::after {
    opacity: 0.4;
    transform: rotate(90deg) scale(1.2);
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.problem-item * {
    position: relative;
    z-index: 1;
}

.p-num {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.p-num::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.problem-punchline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-top: 3rem;
}

/* Services */
.services-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.05;
    z-index: 0;
    animation: floatBlob 15s ease-in-out infinite;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(120px);
    opacity: 0.03;
    z-index: 0;
    animation: floatBlob 20s ease-in-out infinite reverse;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, 50px); }
    66% { transform: translate(-20px, 20px); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    background: rgba(10, 10, 10, 0.6);
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 15px var(--accent-glow);
}

.service-card:hover::before {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.15;
}

.service-card * {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* AI Video Showcase */
.ai-video-showcase {
    padding: 5rem 0;
    background: linear-gradient(to bottom, transparent, rgba(189, 244, 74, 0.02), transparent);
}

.ai-content-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.video-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
}

.reels-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reel-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition);
}

.reel-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fix zoom/crop */
}

.wide-video-container {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition);
}

.wide-video-container:hover {
    border-color: var(--accent);
}

.wide-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fix zoom/crop */
}

.play-status {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    transition: var(--transition);
}

.status-icon {
    width: 12px;
    height: 12px;
    background: var(--accent);
    clip-path: polygon(0 0, 40% 0, 40% 100%, 0 100%, 0 0, 60% 0, 100% 0, 100% 100%, 60% 100%, 60% 0); /* Pause icon */
    transition: var(--transition);
}

.paused .status-icon {
    clip-path: polygon(0 0, 100% 50%, 0 100%); /* Play icon */
}

/* Metrics Grid in AI Section */
.ai-video-showcase .metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.ai-video-showcase .metric-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.ai-video-showcase .metric-item:hover {
    background: rgba(189, 244, 74, 0.03);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.ai-video-showcase .metric-item h4 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.ai-video-showcase .metric-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .reels-container {
        grid-template-columns: 1fr;
    }
}

/* Creative Hub Section */

.creative-header {
    margin-bottom: 3rem;
}

.creative-hub-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(189, 244, 74, 0.02), var(--bg-dark));
}

.creative-sub-section {
    margin-bottom: 6rem;
}

.sub-section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.sub-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 3rem;
}

.flex-header p {
    max-width: 500px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.flex-header.reverse {
    flex-direction: row-reverse;
    text-align: right;
}

.flex-header.reverse .sub-section-title::after {
    left: auto;
    right: 0;
}

/* Design Carousel */
.design-carousel-wrapper {
    margin-top: 2rem;
    position: relative;
    width: 100%;
}

.design-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-item {
    min-width: 100%;
    aspect-ratio: 16/9;
    cursor: zoom-in;
    overflow: hidden;
    position: relative; /* Added for overlay positioning */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--black);
}

.carousel-btn.prev { left: 2rem; }
.carousel-btn.next { right: 2rem; }

/* Branding Carousel Adjustments */
.branding-carousel .carousel-item {
    aspect-ratio: auto;
    height: 600px;
}

.branding-carousel .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 6rem 3rem 3rem;
    pointer-events: none;
}

.branding-carousel .card-overlay h4 {
    font-size: 2rem;
    margin: 0;
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4rem 3rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    z-index: 2;
}

.logo-modern-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Hide duplicate logos on desktop */
.logo-modern-grid .logo-box:nth-child(n+5) {
    display: none;
}

.logo-box {
    background: var(--white);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid transparent;
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.logo-box:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px var(--accent-glow);
}

.logo-box:hover img {
    transform: scale(1.1);
}

/* Asset Grid for Thumbs & Banners */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.asset-item {
    border-radius: 0.4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-card);
    cursor: zoom-in;
}

.asset-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.asset-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    backdrop-filter: blur(15px);
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.4rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 992px) {
    .flex-header, .flex-header.reverse {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .flex-header.reverse .sub-section-title::after {
        left: 0;
        right: auto;
    }
    .logo-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .asset-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Approach */
.approach-section {
    padding: 5rem 0;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
}

.step {
    position: relative;
    padding: 2rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    transition: var(--transition);
}

.step:hover {
    background: rgba(189, 244, 74, 0.02);
    border-color: rgba(189, 244, 74, 0.1);
    transform: translateY(-5px);
}

.step-num {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -2rem;
    right: 1.5rem;
    transition: var(--transition);
    line-height: 1;
}

.step:hover .step-num {
    color: rgba(189, 244, 74, 0.1);
    transform: scale(1.1);
}

.step-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.step-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: var(--accent);
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.step:hover .step-line::after {
    width: 100%;
}

.step h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
    transition: var(--transition);
}

.step:hover h3 {
    color: var(--accent);
}

.step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.approach-footer {
    max-width: 800px;
    margin: 5rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(189, 244, 74, 0.05), transparent);
    padding: 3rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Testimonials */
.testimonials-section {
    padding: 2rem 0 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-weight: 700;
    color: var(--accent);
}

.founder-brand {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.why-me-section {
    padding: 4rem 0 6rem 0;
}


.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-list {
    list-style: none;
    margin-top: 2rem;
}

.why-list li {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 0.5rem;
    text-align: center;
}

.stat-box h4 {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Final CTA */
.final-cta {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(189, 244, 74, 0.1) 0%, transparent 70%);
}

.final-cta .hero-subtitle {
 max-width: 100%;
}

.cta-btn.lg {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--black);
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px var(--accent-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 5.5rem;
        right: 1rem; /* Slightly closer to edge but safe */
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--black);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.footer-socials {
    display: flex;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.linkedin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(189, 244, 74, 0.05);
    border: 1px solid rgba(189, 244, 74, 0.2);
    border-radius: 0.4rem;
    color: var(--accent) !important;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.linkedin-badge:hover {
    background: var(--accent);
    color: var(--black) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Retention Intro Transition */
.retention-intro {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.intro-box {
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(90deg, transparent, rgba(189, 244, 74, 0.03), transparent);
    border-radius: 0.4rem;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: -1;
}

.intro-box .section-title {
    margin-bottom: 2rem;
}

.intro-box .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.intro-box .cta-btn {
    display: inline-flex;
    margin-top: 1rem;
}

/* Retention Case Study */
.retention-case-study {
    padding: 5rem 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.results-checklist {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-check {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.result-check:hover {
    border-color: var(--accent);
    transform: translateX(10px);
    background: rgba(189, 244, 74, 0.03);
}

.check-icon {
    font-size: 1.5rem;
}

.check-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.check-text p {
    font-size: 0.9rem !important;
    margin: 0;
}

/* Premium Inline CTA Strip */
.inline-cta-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.inline-cta-card {
    background: linear-gradient(135deg, rgba(189, 244, 74, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 3.5rem 4rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.inline-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.inline-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: var(--white);
}

.inline-cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0;
}

@media (max-width: 992px) {
    .inline-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    
    .inline-cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Analytics Showcase Mockups */
.analytics-showcase {
    padding: 8rem 0;    
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.retention-proof-section {
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.retention-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.proof-card {
    position: relative;
    border-radius: 0.4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-card);
    transition: var(--transition);
}

.proof-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Static Overlay */
.proof-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .retention-proof-grid {
        grid-template-columns: 1fr;
    }
}

.chart-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.chart-stat {
    color: var(--accent);
}

.chart-body {
    height: 150px;
    display: flex;
    align-items: flex-end;
}

.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    height: 0; /* Changed from var(--h) for animation */
    border-radius: 5px 5px 0 0;
    transition: height 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.bar.accent-bar {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.chart-label {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.line-chart-mockup {
    height: 100px;
    width: 100%;
}

.line-svg {
    width: 100%;
    height: 100%;
}

.draw-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@media (max-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Responsive adjustments */
/* Responsive Final Polish */
@media (max-width: 992px) {
    :root {
        --section-padding: 4rem;
    }
    
    section {
        padding: var(--section-padding) 0 !important;
    }

    .hero-grid, .showcase-grid, .why-grid, .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content, .showcase-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .profile-frame {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }

    .reels-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .logo-modern-grid, .asset-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    h1 { font-size: 2.8rem !important; }
    h2 { font-size: 2.2rem !important; }
    h3 { font-size: 1.8rem !important; }

    .hero-title {
        font-size: 3rem !important;
    }

    .hero-subtitle, .section-desc, .large-p {
        font-size: 1.1rem !important;
    }

    .nav-links {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
    }

    .hero-btns .cta-btn {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .container {
        padding: 0 1.5rem;
    }

    .intro-box {
        padding: 2.5rem 1rem;
        margin: 0 -1.5rem;
        width: calc(100% + 3rem);
        border-radius: 0;
    }

    .creative-sub-section {
        margin-bottom: 6rem;
    }

    .flex-header, .flex-header.reverse {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .flex-header.reverse .sub-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Force Vertical Stack for ALL cards */
    .problems-grid, 
    .services-grid, 
    .reels-container, 
    .grid-2-col, 
    .approach-steps,
    .testimonials-grid,
    .why-grid,
    .why-stats,
    .metrics-grid,
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }

    /* Logo Marquee for Mobile */
    .logo-marquee-mobile {
        overflow: hidden;
        width: 100%; 
        margin: 1.5rem 0;
        padding: 1rem 0;
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }
    
    /* Ensure the marquee track can break out of container padding */
    .logo-marquee-mobile .logo-modern-grid {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
    }

    .logo-modern-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 2rem;
        width: max-content;
        animation: marquee 15s linear infinite;
        padding-left: 2rem;
    }

    .logo-modern-grid .logo-box {
        flex-shrink: 0;
        width: 140px;
        height: 140px;
        display: flex !important; /* Overrule desktop nth-child hide */
    }

    .logo-modern-grid .logo-box:nth-child(n+5) {
        display: flex !important;
    }

    .footer-grid, .footer-links {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .branding-vertical-stack {
        gap: 2rem;
    }

    .step-num {
        font-size: 4rem;
        top: -1rem;
        right: 1rem;
    }

    .chart-card {
        padding: 1.5rem;
    }

    .testimonial-card, .stat-box {
        padding: 2rem !important;
    }

    .why-list {
        display: inline-block;
        text-align: left;
        margin: 2rem auto;
    }

    .bar-group {
        gap: 0.5rem;
    }

    .branding-carousel .carousel-item {
        height: auto !important;
        aspect-ratio: 4/5 !important;
    }

    .thumbnails-carousel .carousel-item {
        height: auto !important;
        aspect-ratio: 16/9 !important;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.4rem !important; }

    .hero-content {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.6rem !important;
    }


    .profile-frame {
        width: 280px;
        height: 280px;
    }

    .creative-header .badge {
        margin-bottom: 1rem;
    }
}
