/* 
=======================================
   Content Repurpose Hub - CSS Style
=======================================
*/

:root {
    --bg-dark: #070913;
    --bg-darker: #04050a;
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --accent: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for Visual Aesthetics */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}
.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
}
.blob-2 {
    top: 200px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    animation-delay: -5s;
}
.blob-3 {
    bottom: 20%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: var(--accent);
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* Generic Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-padding {
    padding: 6rem 0;
}
.text-center { text-align: center; }
.relative { position: relative; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.w-100 { width: 100%; display: inline-block; text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}
.btn-glow:hover {
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.6);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-outline-light {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-main);
}
.btn-outline-light:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}
header.scrolled {
    background: rgba(7, 9, 19, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo span { font-weight: 300; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-main); }
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= HERO SECTION ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.main-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.sub-headline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Hero Video Visualizer */
.hero-image-wrapper {
    width: 100%;
    margin-top: 2rem;
}
.video-preview-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.video-mockup {
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.horizontal { width: 300px; height: 169px; }
.vertical { width: 180px; height: 320px; border-color: var(--secondary); box-shadow: 0 0 20px rgba(236,72,153,0.2); }
.mockup-header {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.mockup-body {
    height: calc(100% - 30px);
    background: linear-gradient(45deg, #1e293b, #0f172a);
    position: relative;
}
.play-icon { font-size: 2rem; color: rgba(255,255,255,0.5); }
.arrow-indicator { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 2rem; color: var(--text-muted); }
.magic-wand { font-size: 1.5rem; animation: pulse 2s infinite; }
.mockup-caption {
    position: absolute;
    bottom: 20%;
    background: var(--primary);
    padding: 0.2rem 1rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1.2rem;
    transform: rotate(-5deg);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 10px var(--primary); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ================= SECTION STYLES ================= */
.section-title { margin-bottom: 4rem; }
.section-title .title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

/* Features */
.grid { display: grid; gap: 2rem; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature-card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}
.icon-box {
    width: 60px; height: 60px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 1.5rem;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 1.5rem;
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* How it Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.step-item { position: relative; z-index: 2; }
.step-number {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; font-weight: 800; color: var(--primary);
    margin: 0 auto 1.5rem auto;
    border-color: var(--primary);
    background: var(--bg-dark);
}
.step-content { padding: 2.5rem 1.5rem; }
.step-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 1rem; }
.step-content h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Portfolio */
.portfolio-slider { max-width: 800px; margin: 0 auto; }
.split-view {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2rem; gap: 2rem;
}
.before-view, .after-view { flex: 1; text-align: center; }
.badge { display: inline-block; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.badge-before { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); }
.badge-after { background: rgba(236, 72, 153, 0.1); color: var(--secondary); border: 1px solid var(--secondary); }
.video-placeholder {
    background: var(--bg-darker); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; color: var(--text-muted);
}
.horizontal-ph { aspect-ratio: 16/9; font-size: 2rem; border: 1px dashed rgba(255,255,255,0.2); }
.vertical-ph { aspect-ratio: 9/16; font-size: 3rem; border: 2px solid var(--primary); position: relative; }
.vs-divider { font-size: 2rem; font-weight: 800; }
.floating-captions {
    background: #ffeb3b; color: #000; padding: 0.3rem 0.8rem; font-size: 1rem; font-weight: 800; border-radius: 4px; border: 2px solid #000; transform: rotate(-3deg);
}

/* Pricing */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch;
}
.price-card {
    padding: 3rem 2rem; position: relative; transition: var(--transition);
    display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-5px); }
.popular { border-color: var(--primary); box-shadow: 0 0 30px rgba(139, 92, 246, 0.15); transform: scale(1.05); }
.popular:hover { transform: scale(1.05) translateY(-5px); }
.popular-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.85rem; font-weight: 700;
}
.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.price { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; }
.plan-desc { color: var(--text-muted); border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.plan-features { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.plan-features li { display: flex; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.95rem; }

/* Footer & About */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-title { margin-bottom: 1.5rem; font-size: 1.2rem; }
.founder-card { padding: 1.5rem; display: flex; gap: 1.5rem; align-items: center; }
.founder-avatar {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; flex-shrink: 0;
}
.founder-info h4 { font-size: 1.2rem; }
.founder-info p { font-size: 0.9rem; margin-top: 0.3rem; }
.founder-info .bio { color: var(--text-muted); margin-top: 0.8rem; line-height: 1.4; }

.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 0.8rem; }
.footer-links-col a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links-col a:hover { color: var(--primary); padding-left: 5px; }

.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link {
    width: 40px; height: 40px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border);
    display: flex; justify-content: center; align-items: center; color: var(--text-main); text-decoration: none; transition: var(--transition);
}
.social-link:hover { transform: translateY(-3px); }
.social-link[title="Facebook"]:hover { background: #1877F2; border-color: #1877F2; }
.social-link[title="LinkedIn"]:hover { background: #0A66C2; border-color: #0A66C2; }
.social-link[title="Instagram"]:hover { background: #E4405F; border-color: #E4405F; }
.social-link.whatsapp:hover { background: #25D366; border-color: #25D366; }

.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 2rem; color: var(--text-muted); font-size: 0.9rem; }

/* Responsive Design */
@media (max-width: 900px) {
    .main-headline { font-size: 3rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 300px; }
    .video-preview-container { flex-direction: column; gap: 1.5rem; }
    .arrow-indicator { transform: rotate(90deg); }
    
    .steps-container { grid-template-columns: 1fr; }
    
    .pricing-grid { grid-template-columns: 1fr; }
    .popular { transform: none; }
    .popular:hover { transform: translateY(-5px); }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .split-view { flex-direction: column; }
    .vs-divider { margin: 1rem 0; }
}
