/* CreatorCut Dark Mode CSS */
:root {
    --primary: #ec4899;
    --primary-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --bg-input: #27272a;
    --text-white: #fafafa;
    --text-gray: #a1a1aa;
    --border: #27272a;
    --purple-glow: 0 0 20px rgba(168, 85, 247, 0.2);
}

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

body.dark-mode {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--bg-input);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Header */
.header {
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-btn {
    display: block;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        order: -1;
    }
    h1 {
        font-size: 2.3rem;
    }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 72, 153, 0.1);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.2);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.optin-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    text-align: left;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.optin-card h3 {
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #a855f7;
}

.form-terms {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 12px;
    text-align: center;
}

/* CapCut App Visual Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.editor-mockup {
    width: 100%;
    max-width: 460px;
    background-color: #121214;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.editor-top {
    height: 180px;
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    border-bottom: 1px solid var(--border);
}

.editor-menu {
    background-color: #18181b;
    border-right: 1px solid var(--border);
}

.editor-player {
    background-color: #0c0c0e;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 36px;
    height: 36px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.8rem;
    cursor: pointer;
}

.timeline-bar {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    height: 4px;
    background-color: #27272a;
    border-radius: 2px;
}

.editor-tracks {
    background-color: #0c0c0e;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.track {
    background-color: #121214;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.65rem;
    color: var(--text-gray);
}

.track span {
    width: 70px;
}

.clip {
    height: 16px;
    background: var(--primary-gradient);
    border-radius: 3px;
    color: white;
    font-weight: 700;
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.clip.c1 { width: 90px; }
.clip.c2 { width: 120px; }

.audio-clip {
    flex-grow: 1;
    height: 8px;
    background-color: #22c55e;
    border-radius: 3px;
}

.sub {
    background-color: #eab308;
    color: #0f172a;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.55rem;
}

/* Features Section */
.about-course {
    padding: 80px 0;
    background-color: #0c0c0e;
}

.section-subtitle {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 12px;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: #ec4899;
    transform: translateY(-4px);
}

.f-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #ec4899;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Instructor Section */
.instructor {
    padding: 80px 0;
}

.instructor-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .instructor-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.avatar-glow {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.name-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-align: left;
}

@media (max-width: 768px) {
    .name-gradient {
        text-align: center;
    }
}

.stats-list {
    margin-top: 16px;
    list-style: none;
}

.stats-list li {
    margin-bottom: 8px;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #0c0c0e;
}

.t-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.t-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 12px;
}

.t-card .quote {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 24px;
}

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

.t-avatar {
    width: 42px;
    height: 42px;
    background-color: var(--bg-input);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-narrow {
    max-width: 800px;
}

.faq-accordion {
    margin-top: 32px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background-color: #050507;
    color: var(--text-gray);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.footer h3, .footer h4 {
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 48px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 8px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 16px;
    color: #52525b;
    line-height: 1.4;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: 24px;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-white);
    padding: 16px 24px;
    border-radius: 8px;
    z-index: 1000;
}

@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 24px;
        width: 380px;
    }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8rem;
}

.cookie-content a {
    color: #ec4899;
    text-decoration: underline;
}

.cookie-content button {
    align-self: flex-end;
}
