/* TikTok App Website Styles */
:root {
    --tiktok-red: #fe2c55;
    --tiktok-cyan: #25f4ee;
    --tiktok-black: #161823;
    --tiktok-gray: #545454;
    --tiktok-light-gray: #f1f1f2;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--tiktok-black);
    background-color: var(--white);
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--tiktok-black);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(90deg, var(--tiktok-cyan), var(--tiktok-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--tiktok-red);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--tiktok-light-gray) 0%, var(--white) 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--tiktok-black);
}

.hero p {
    font-size: 1.2rem;
    color: var(--tiktok-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--tiktok-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #e02850;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--tiktok-black);
    color: var(--white);
}

.btn-secondary:hover {
    background: #2d2d3d;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--tiktok-black);
}

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

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--tiktok-cyan), var(--tiktok-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--tiktok-black);
}

.feature-card p {
    color: var(--tiktok-gray);
    font-size: 0.95rem;
}

/* API Section */
.api-section {
    background: var(--tiktok-light-gray);
    padding: 4rem 2rem;
}

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

.api-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.api-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.api-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.api-badge {
    background: var(--tiktok-red);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.api-badge.scope {
    background: var(--tiktok-cyan);
    color: var(--tiktok-black);
}

/* Page Content */
.page-header {
    padding: 8rem 2rem 3rem;
    background: linear-gradient(135deg, var(--tiktok-black) 0%, #2d2d3d 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--tiktok-black);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--tiktok-light-gray);
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--tiktok-black);
    margin: 1.5rem 0 0.5rem;
}

.content-section p {
    color: var(--tiktok-gray);
    margin-bottom: 1rem;
}

.content-section ul {
    color: var(--tiktok-gray);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--tiktok-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--tiktok-light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--tiktok-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--tiktok-light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--tiktok-black);
}

.contact-card p {
    color: var(--tiktok-gray);
}

/* Footer */
.footer {
    background: var(--tiktok-black);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--tiktok-cyan);
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Callback Page */
.callback-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.callback-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
}

.callback-card .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tiktok-cyan), var(--tiktok-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.callback-card h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.callback-card p {
    color: var(--tiktok-gray);
    margin-bottom: 1.5rem;
}

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

    .hero h1 {
        font-size: 2rem;
    }

    .features h2,
    .api-section h2 {
        font-size: 1.8rem;
    }

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

/* Update timestamp */
.last-updated {
    color: var(--tiktok-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-tiktok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-tiktok svg {
    flex-shrink: 0;
}

/* User Status Section */
.user-status {
    background: linear-gradient(135deg, var(--tiktok-cyan) 0%, var(--tiktok-red) 100%);
    padding: 2rem;
}

.user-status-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.user-details h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
}

.user-details p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
}

.user-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.user-actions .btn {
    background: white;
    color: var(--tiktok-black);
}

.user-actions .btn:hover {
    background: var(--tiktok-light-gray);
}

.user-actions .btn-primary {
    background: var(--tiktok-black);
    color: white;
}

.user-actions .btn-primary:hover {
    background: #2d2d3d;
}

/* Button Variations */
button.btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Mobile Navigation Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--tiktok-black);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--tiktok-light-gray);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .user-status-container {
        flex-direction: column;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
