/* ===================================
   SOCIALBLOOM - Global Styles
   =================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #F77227;
    --secondary-color: #000091;
    --text-dark: #343434;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --star-stroke: #F77227;
    --font-primary: 'Poppins', Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #e56620;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 114, 39, 0.3);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* Platform-specific button styles */
.btn-tiktok {
    background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
    color: var(--white);
}

.btn-tiktok:hover {
    background: linear-gradient(135deg, #e6004a 0%, #00d9d3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.3);
}

.btn-insta {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: var(--white);
}

.btn-insta:hover {
    background: linear-gradient(135deg, #7433a2 0%, #e41a1a 50%, #e3a03f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

/* Global Loader */
#globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#globalLoader.active {
    opacity: 1;
    pointer-events: all;
}

.tiktok-loader {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
nav {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav .logo {
    max-width: 150px;
    height: auto;
}

nav .links {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav .links a,
nav .myaccount {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

nav .links a:hover,
nav .myaccount:hover {
    color: var(--primary-color);
}

nav .menu {
    display: none;
    background: transparent;
    padding: 8px;
}

nav .menu-icon {
    width: 33px;
    height: 21px;
}

/* Mobile Menu */
@media (max-width: 992px) {
    nav .links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        gap: 20px;
    }

    nav .links.active {
        right: 0;
    }

    nav .menu {
        display: block;
    }

    nav .d-lg-none {
        display: block !important;
    }

    nav .d-none.d-lg-block {
        display: none !important;
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.left-section {
    flex: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-color);
}

.left-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.button-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.button-wrapper .w-100 {
    flex: 1;
}

.button-wrapper button {
    width: 100%;
}

/* Keywords */
.keywords {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
}

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

.keyword-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.keyword span {
    font-size: 16px;
    font-weight: 500;
}

/* Right Section - Bento Grid */
.right-section {
    flex: 1;
    display: flex;
    gap: 20px;
}

.bento-col-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.bento-row-1,
.bento-row-2 {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.bento-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.arrow {
    color: var(--primary-color);
    font-size: 24px;
}

.bento-col-2 {
    position: relative;
    flex: 1;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
}

.faq-title span {
    color: var(--primary-color);
}

.faq-card {
    max-width: 900px;
    margin: 0 auto;
    gap: 15px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.question-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.collapse-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .collapse-icon {
    transform: rotate(45deg);
}

.question-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.faq-item.active .question-content {
    max-height: 500px;
    margin-top: 15px;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col1 {
    flex: 2;
}

.footer-col1 .logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-col1 p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.footer-col2 {
    flex: 3;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col2 .col {
    flex: 1;
    min-width: 150px;
}

.footer-col2 .col > p {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-col2 .col span {
    display: block;
    margin-bottom: 8px;
}

.footer-col2 .link {
    color: #ccc;
    transition: var(--transition);
}

.footer-col2 .link:hover {
    color: var(--primary-color);
}

/* Language Selector */
.lang {
    margin-left: auto;
}

.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.lang-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    border-color: var(--primary-color);
    background: rgba(247, 114, 39, 0.1);
}

.flag-svg {
    width: 24px;
    height: 16px;
    flex-shrink: 0;
}

/* Content Pages */
.content-page {
    padding: 80px 0;
    min-height: calc(100vh - 400px);
}

.content-page h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.content-page h2 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-page h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.content-page p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.content-page ul,
.content-page ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-page li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(247, 114, 39, 0.1);
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-danger {
    color: #dc3545;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 0.5rem;
}

.d-flex {
    display: flex;
}

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

.flex-row {
    flex-direction: row;
}

.gap-2 {
    gap: 0.5rem;
}

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

.align-items-center {
    align-items: center;
}

.w-100 {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }

    .hero-title {
        font-size: 36px;
    }

    .right-section {
        width: 100%;
        max-width: 500px;
    }

    .footer-main {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .faq-title {
        font-size: 32px;
    }

    .button-wrapper {
        flex-direction: column;
    }

    .content-page h1 {
        font-size: 32px;
    }
}
