/* ===== TikTok Affiliate Workshop - Presentation Styles ===== */

:root {
    --primary: #FF0050;
    --primary-dark: #D6003E;
    --secondary: #00F2EA;
    --green: #00B894;
    --yellow: #FDCB6E;
    --orange: #E17055;
    --red: #E74C3C;
    --blue: #0984E3;
    --pink: #FF6B9D;
    --purple: #6C5CE7;
    --tiktok-dark: #010101;

    --bg-light: #F8F9FA;
    --bg-dark: #161823;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;

    --shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #161823, #2D2D3F);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 0, 80, 0.4);
    color: white;
}

/* ===== Page Header ===== */
.page-header {
    padding: 50px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
}

.header-tiktok {
    background: linear-gradient(135deg, #161823, #FF0050);
}

.header-red {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.header-cyan {
    background: linear-gradient(135deg, #00B4D8, var(--secondary));
}

.header-green {
    background: linear-gradient(135deg, var(--green), var(--secondary));
}

.header-yellow {
    background: linear-gradient(135deg, var(--yellow), #F9A825);
}

.header-orange {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.header-blue {
    background: linear-gradient(135deg, var(--blue), #74B9FF);
}

.header-purple {
    background: linear-gradient(135deg, var(--purple), #A29BFE);
}

.header-pink {
    background: linear-gradient(135deg, var(--pink), #FF0050);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 15px 30px;
    background: white;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 8px;
}

/* ===== Content ===== */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-wide {
    max-width: 1100px;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ===== Info Box ===== */
.info-box {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    margin: 25px 0;
    box-shadow: var(--shadow);
}

.info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 {
    font-size: 1.2rem;
    margin: 20px 0 12px;
    color: var(--primary);
}

.info-box p {
    margin-bottom: 15px;
}

.info-box ul,
.info-box ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.info-box li {
    margin-bottom: 8px;
}

/* ===== Feature Box ===== */
.feature-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ===== Explain Table ===== */
.explain-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.explain-table th,
.explain-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.explain-table th {
    background: var(--primary);
    color: white;
}

.explain-table tr:hover {
    background: var(--bg-light);
}

/* ===== Steps ===== */
.steps {
    margin: 25px 0;
}

.step {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-light);
}

/* ===== Tags ===== */
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tag.green {
    background: linear-gradient(135deg, var(--green), var(--secondary));
}

.tag.cyan {
    background: linear-gradient(135deg, #00B4D8, var(--secondary));
}

.tag.orange {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.tag.blue {
    background: linear-gradient(135deg, var(--blue), #74B9FF);
}

.tag.purple {
    background: linear-gradient(135deg, var(--purple), #A29BFE);
}

/* ===== Highlight Box ===== */
.highlight-box {
    padding: 25px;
    border-radius: var(--radius);
    margin: 25px 0;
}

.highlight-box.tip {
    background: linear-gradient(135deg, var(--yellow), #F9A825);
}

.highlight-box.warning {
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: white;
}

.highlight-box.success {
    background: linear-gradient(135deg, var(--green), var(--secondary));
    color: white;
}

.highlight-box.tiktok {
    background: linear-gradient(135deg, #161823, var(--primary));
    color: white;
}

.highlight-box h3 {
    margin-bottom: 10px;
}

/* ===== Demo Visual ===== */
.demo-box {
    background: white;
    border: 3px dashed var(--primary);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin: 25px 0;
}

.demo-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    display: block;
}

/* ===== Stat Grid ===== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.stat-item {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* ===== Page Navigation ===== */
.page-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.nav-btn {
    padding: 15px 30px;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    max-width: 200px;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.nav-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== Footer ===== */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 30px;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
}

footer .quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
}

footer .copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-links a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .content {
        padding: 25px 15px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .page-nav {
        flex-direction: column;
    }

    .nav-btn {
        max-width: 100%;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}