/**
 * Social Media Platform Frontend
 * @author codeyen
 * @version 1.0.0
 * @description Modern & Minimalist Design System for Social Media Service Platform
 */

/* ==========================================
   Variables and Theme Settings
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #ffffff;
    --text: #111827;
    --text-light: #4b5563;
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-bg: rgba(79, 70, 229, 0.08);
    --surface: #f9fafb;
    --surface-dark: #f3f4f6;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --max-width: 1200px;
    --header-height: 70px;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
    --bg: #0f172a;
    --text: #f9fafb;
    --text-light: #d1d5db;
    --primary: #818cf8;
    --primary-light: #a5b4fc;
    --primary-dark: #6366f1;
    --primary-bg: rgba(129, 140, 248, 0.1);
    --surface: #1e293b;
    --surface-dark: #0f172a;
    --border: #334155;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Base Reset and Utilities
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font-family: inherit;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

/* ==========================================
   Header and Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.8);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    font-size: 1.5rem;
}

.theme-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.theme-switch:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-icon {
    gap: 0.5rem;
}

/* ==========================================
   Mobile Menu and Responsive Navigation
   ========================================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    z-index: 200;
    padding: 2rem;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s var(--easing-bounce);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-link {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.8rem 0;
    display: block;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Bottom Navigation for Mobile */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 90;
    padding: 0.8rem 0;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--text-light);
    transition: var(--transition);
}

.bottom-nav-item i {
    font-size: 1.3rem;
}

.bottom-nav-item.active {
    color: var(--primary);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    padding: calc(var(--header-height) + 4rem) 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: -1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.3;
    background-size: 50px 50px;
    background-image:
            linear-gradient(to right, var(--border) 1px, transparent 1px),
            linear-gradient(to bottom, var(--border) 1px, transparent 1px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.3em;
    bottom: 0.1em;
    left: 0;
    background-color: var(--primary-bg);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-feature i {
    color: var(--primary);
    font-size: 1rem;
}

/* Section 1 Mobile Features Hiding */
@media (max-width: 768px) {
    .hero-features {
        display: none;
    }
}

/* ==========================================
   Order Form
   ========================================== */
.order-form {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--easing-bounce);
    flex-shrink: 0;
    max-width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.order-form:hover {
    transform: perspective(1000px) rotateY(0);
}

.order-form-header {
    background-color: var(--primary);
    padding: 1.5rem;
    color: white;
}

.order-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-form-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-step {
    border-bottom: 1px solid var(--border);
}

.form-step-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.form-step-header:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    margin-right: 1rem;
    transition: var(--transition);
}

.form-step.active .step-number,
.form-step.completed .step-number {
    background-color: var(--primary);
    color: white;
}

.step-title {
    font-weight: 600;
}

.step-value {
    margin-left: auto;
    color: var(--primary);
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
}

.form-step.completed .step-value {
    opacity: 1;
}

.step-icon {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.form-step.active .step-icon {
    transform: rotate(180deg);
}

.form-step-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.form-step.active .form-step-content {
    max-height: 250px;
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
}

/* Scroll bar styles */
.form-step-content::-webkit-scrollbar {
    width: 6px;
}

.form-step-content::-webkit-scrollbar-track {
    background: var(--surface);
}

.form-step-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.option-label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
}

.option-grid {
    display: grid;
    gap: 0.8rem;
}

.option-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.option-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.option-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-bg);
}

.option-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.option-info {
    flex: 1;
}

.option-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.option-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.option-price {
    margin-left: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.order-form-footer {
    padding: 1.5rem;
    background-color: var(--surface);
    margin-top: auto;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.total-label {
    font-weight: 600;
}

.total-value {
    font-weight: 700;
    color: var(--primary);
}

.order-button {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 1rem;
}

.order-button:hover:not(:disabled) {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.order-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================
   Services Section - Modern & Minimalist Style
   ========================================== */
.services {
    padding: 6rem 0;
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Service Grid - Responsive Grid with Flexbox */
.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
}

/* Modern Service Card Design */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #fff;
}

.service-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    color: #fff;
}

/* Platform specific colors */
.instagram-card {
    background: linear-gradient(45deg, #833AB4, #C13584, #E1306C);
    color: white;
}

.tiktok-card {
    background: linear-gradient(45deg, #000000, #000000);
    color: white;
}

.youtube-card {
    background: linear-gradient(45deg, #FF0000, #CC0000);
    color: white;
}

.twitter-card {
    background: linear-gradient(45deg, #1DA1F2, #0077B5);
    color: white;
}

.facebook-card {
    background: linear-gradient(45deg, #3b5998, #4267B2);
    color: white;
}

.twitch-card {
    background: linear-gradient(45deg, #6441A4, #9146FF);
    color: white;
}

.spotify-card {
    background: linear-gradient(45deg, #1DB954, #1ED760);
    color: white;
}

.pinterest-card {
    background: linear-gradient(45deg, #E60023, #BD081C);
    color: white;
}

.linkedin-card {
    background: linear-gradient(45deg, #0077B5, #0A66C2);
    color: white;
}

.telegram-card {
    background: linear-gradient(45deg, #0088CC, #2AABEE);
    color: white;
}

.kwai-card {
    background: linear-gradient(45deg, #FF7900, #FF5E0F);
    color: white;
}

.threads-card {
    background: linear-gradient(45deg, #000000, #333333);
    color: white;
}

.tumblr-card {
    background: linear-gradient(45deg, #35465C, #5B7D9A);
    color: white;
}

.clubhouse-card {
    background: linear-gradient(45deg, #6515DD, #8134DC);
    color: white;
}

.soundcloud-card {
    background: linear-gradient(45deg, #FF7700, #FF5500);
    color: white;
}

.kick-card {
    background: linear-gradient(45deg, #53B553, #24A624);
    color: white;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .services {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.2rem 0.8rem;
    }

    .service-icon {
        font-size: 1.8rem;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .service-desc {
        font-size: 0.75rem;
    }
}

/* ==========================================
   Success Modal and Cart Menu
   ========================================== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background-color: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s var(--easing-bounce);
}

.success-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.success-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Cart Menu Styles */
.cart-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: var(--bg);
    z-index: 200;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s var(--easing-bounce);
    display: flex;
    flex-direction: column;
}

.cart-menu.active {
    right: 0;
}

.cart-menu-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.cart-menu-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.cart-menu-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.cart-item-name {
    flex: 1;
    font-weight: 500;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    margin-right: 1rem;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-total span:last-child {
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Cart Mobile Fix */
@media (max-width: 768px) {
    .cart-menu {
        display: flex;
        flex-direction: column;
    }

    .cart-items {
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 180px);
    }

    .cart-footer {
        position: sticky;
        bottom: 0;
        background-color: var(--bg);
        box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
        padding: 1rem;
        z-index: 5;
    }
}

/* ==========================================
   Mega Menu and Dropdown Menu
   ========================================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    max-width: 90vw;
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    z-index: 150;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mega-menu.active {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
    display: flex;
    gap: 2rem;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.mega-menu-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.mega-menu-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Dropdown menu fix */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 150;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}

@media (max-width: 992px) {
    .mega-menu, .dropdown-menu {
        position: static;
        transform: none;
        min-width: 100%;
        max-width: 100%;
        box-shadow: none;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .mega-menu.active, .dropdown-menu.active {
        transform: none;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .order-form {
        max-width: 100%;
        top: 0;
        height: auto;
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .nav-menu, .btn-text, .theme-switch {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-actions .btn {
        padding: 0.6rem;
    }

    .nav-actions .btn i {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .form-step-header {
        padding: 1rem;
    }

    .form-step.active .form-step-content {
        padding: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .service-link {
        font-size: 0.8rem;
    }
}

/* Animation for option cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-card {
    animation: fadeInUp 0.3s both;
}

/* ==========================================
   Popular Packages Section
   ========================================== */
.popular-packages {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.popular-packages-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.3;
    background-size: 50px 50px;
    background-image:
            linear-gradient(to right, var(--border) 1px, transparent 1px),
            linear-gradient(to bottom, var(--border) 1px, transparent 1px);
}

.popular-packages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: -1;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.platform-packages {
    background-color: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.platform-packages:hover {
    transform: translateY(-10px);
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.platform-header i {
    font-size: 1.5rem;
}

.platform-package-list {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--surface);
    padding: 1rem;
    border-radius: var(--radius);
    transition: background-color 0.3s ease;
}

.package-card:hover {
    background-color: var(--primary-bg);
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.package-title {
    font-weight: 500;
}

.package-price {
    font-weight: 700;
    color: var(--primary);
}

.package-buy-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.package-buy-btn:hover {
    background-color: var(--primary-dark);
}

@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Stats Section (Section 4)
   ========================================== */
.stats-section {
    padding: 6rem 0;
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: 0;
}
.stats-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.stats-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.stats-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.stats-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background-color: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    background-color: var(--primary);
    color: white;
}

.stat-content {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    margin-right: 0.5rem;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
    margin-right: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    width: 100%;
    font-weight: 500;
}

.stat-bar {
    width: 100%;
    height: 8px;
    background-color: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    margin-top: auto;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    width: 0; /* Will be set by JS */
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

/* ==========================================
   Testimonials Section (Section 5)
   ========================================== */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg);
    position: relative;
    overflow: hidden;
}

.testimonials-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    background-size: 50px 50px;
    background-image:
            linear-gradient(to right, var(--border) 1px, transparent 1px),
            linear-gradient(to bottom, var(--border) 1px, transparent 1px);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: -1;
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.testimonials-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.testimonials-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-card {
    min-width: calc(33.33% - 1.33rem);
    background-color: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Updated Header and Platform Badge */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 0;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Platform badges for different social platforms */
.platform-badge.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.platform-badge.tiktok {
    background: #000;
    color: white;
    position: relative;
}

.platform-badge.tiktok::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 211, 255, 0.2) 100%);
    z-index: 0;
}

.platform-badge.tiktok .platform-icon {
    position: relative;
    z-index: 1;
}

.platform-badge.tiktok span {
    position: relative;
    z-index: 1;
}

.platform-badge.youtube {
    background: #FF0000;
    color: white;
}

.platform-badge.twitter {
    background: #1DA1F2;
    color: white;
}

.platform-badge.facebook {
    background: #4267B2;
    color: white;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-content {
    padding: 1.5rem 2rem;
    flex: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-bg);
    line-height: 1;
    font-family: serif;
}

.testimonial-author {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover:not(:disabled) {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.control-dots {
    display: flex;
    gap: 0.6rem;
}

.control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* Dark mode adjustments for badges */
[data-theme="dark"] .platform-badge.instagram {
    box-shadow: 0 2px 10px rgba(224, 53, 102, 0.3);
}

[data-theme="dark"] .platform-badge.tiktok {
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .platform-badge.youtube {
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
}

[data-theme="dark"] .platform-badge.twitter {
    box-shadow: 0 2px 10px rgba(29, 161, 242, 0.3);
}

[data-theme="dark"] .platform-badge.facebook {
    box-shadow: 0 2px 10px rgba(66, 103, 178, 0.3);
}

/* ==========================================
   FAQ Section (Section 6)
   ========================================== */

.faq-section {
    padding: 6rem 0;
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: 0;
}
.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.faq-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.faq-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    padding-right: 2rem;
}

.faq-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-icon i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.faq-active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.faq-cta p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text);
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.faq-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

/* ==========================================
   Blog Section (Section 7)
   ========================================== */
.blog-section {
    padding: 6rem 0;
    background-color: var(--bg);
    position: relative;
    overflow: hidden;
}

.blog-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    background-size: 50px 50px;
    background-image:
            linear-gradient(to right, var(--border) 1px, transparent 1px),
            linear-gradient(to bottom, var(--border) 1px, transparent 1px);
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: -1;
}

.blog-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.blog-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.blog-header .blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.blog-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.blog-slider-container {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.blog-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    width: 100%;
}

.blog-card {
    min-width: calc(33.33% - 1.33rem);
    background-color: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-content .blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-link {
    gap: 0.8rem;
}

.blog-card:hover .blog-link i {
    transform: translateX(3px);
}

.blog-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.blog-control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-control-btn:hover:not(:disabled) {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.blog-control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-dots {
    display: flex;
    gap: 0.6rem;
}

.blog-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

.blog-footer {
    text-align: center;
    margin-top: 3rem;
}

.blog-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.blog-all-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.2);
}

.blog-all-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.blog-all-btn:hover i {
    transform: translateX(3px);
}

/* ==========================================
   Article Section (Section 8)
   ========================================== */

.article-section {
    padding: 6rem 0;
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
}

.article-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--primary-bg) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, var(--primary-bg) 0%, transparent 20%);
    z-index: 0;
}

.article-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.article-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background-color: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.article-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    background-color: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.article-content {
    padding: 2.5rem;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface-dark);
}

.article-content::-webkit-scrollbar {
    width: 8px;
}

.article-content::-webkit-scrollbar-track {
    background: var(--surface-dark);
    border-radius: 10px;
}

.article-content::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.article-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.article-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.article-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-light);
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--border);
    background-color: var(--bg);
}

.article-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.article-share-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

.scroll-indicator-icon {
    animation: bounce 1.5s infinite;
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.article-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.article-more-btn:hover {
    transform: translateX(5px);
}

.article-more-btn i {
    transition: transform 0.3s ease;
}

.article-more-btn:hover i {
    transform: translateX(3px);
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background-color: var(--surface);
    position: relative;
}

.footer-main {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    color: var(--primary);
}

.footer-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-heading {
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    color: var(--text);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    position: relative;
    color: var(--text-light);
    transition: all 0.3s ease;
    display: inline-block;
    padding-left: 1.2rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    background-color: var(--primary);
    transform: translateY(-50%) scale(1.5);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input {
    position: relative;
    display: flex;
}

.newsletter-input input {
    flex: 1;
    padding: 1rem;
    padding-right: 3.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.newsletter-input button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    border: none;
    background-color: var(--primary);
    color: white;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.footer-links-bottom a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary);
}

.footer-payment {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Authentication Styles
   ========================================== */
.auth-section {
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg);
    position: relative;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.auth-form-container {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.auth-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: 12px 12px 0 0;
    opacity: 0.8;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.auth-logo .logo-icon {
    color: var(--primary);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.floating-label {
    position: relative;
    margin-bottom: 1.25rem;
}

.floating-label .input-group {
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    background-color: var(--bg);
}

.floating-label .input-group:hover {
    border-color: var(--text-light);
}

.floating-label label {
    position: absolute;
    top: 50%;
    left: 2.8rem;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: 0.2s ease all;
    font-size: 0.95rem;
}

.floating-label input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border: none;
    background-color: transparent;
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s ease;
    outline: none;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 0;
    left: 0.8rem;
    font-size: 0.7rem;
    padding: 0 0.4rem;
    background-color: var(--bg);
    border-radius: 4px;
    color: var(--primary);
    z-index: 1;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    transition: color 0.2s ease;
    z-index: 1;
}

.input-group:focus-within i {
    color: var(--primary);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--bg);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider span {
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.btn-glow {
    background-color: var(--primary);
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.btn-social.google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    font-weight: 500;
    transition: all 0.3s ease;
}

.google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-icon-wrapper i {
    font-size: 1.1rem;
    background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-social.google:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.highlighted-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.highlighted-link:hover {
    text-decoration: underline;
}

.auth-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info-content {
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.auth-info-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.auth-info-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--bg);
    transition: transform 0.3s ease;
}

.auth-feature:hover {
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text span {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.feature-text small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.auth-info-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-info-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem;
    background-color: var(--bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1rem;
}

.step-content h4 {
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: var(--text);
    font-size: 0.95rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.8rem;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .article-title,
    .stats-title,
    .testimonials-title,
    .faq-title,
    .blog-header .blog-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .article-section,
    .stats-section,
    .testimonials-section,
    .faq-section,
    .blog-section,
    .footer-main {
        padding: 4rem 0;
    }

    .article-content {
        padding: 2rem;
    }

    .article-actions {
        padding: 1.2rem 2rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .article-share-btn,
    .article-more-btn {
        justify-content: center;
    }

    .article-scroll-indicator {
        display: none;
    }

    .auth-container, .password-reset-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1.5rem;
    }

    .auth-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-section,
    .stats-section,
    .testimonials-section,
    .faq-section,
    .blog-section,
    .footer-main {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-title,
    .stats-title,
    .testimonials-title,
    .faq-title,
    .blog-header .blog-title {
        font-size: 2rem;
    }

    .article-description,
    .stats-description,
    .testimonials-description,
    .faq-description,
    .blog-description {
        font-size: 1rem;
    }

    .article-content {
        padding: 1.5rem;
        max-height: 400px;
    }

    .article-content h3 {
        font-size: 1.5rem;
    }

    .article-content h4 {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-description {
        max-width: none;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .auth-section {
        padding: 5rem 0;
    }

    .auth-form-container {
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 1.2rem;
        max-height: 350px;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content h4 {
        font-size: 1.1rem;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 1.2rem;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-payment {
        margin-top: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-unit {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .auth-subtitle {
        font-size: 0.85rem;
    }

    .auth-form-container {
        padding: 1.25rem;
    }
}

/* Common Styles and Accent */
.accent {
    color: var(--primary);
    position: relative;
}

.accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-bg);
    z-index: -1;
    border-radius: 4px;
}
/* ==========================================
   Enhanced Mobile Settings for Testimonials (Section 5)
   ========================================== */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-track {
        padding-bottom: 1.5rem;
    }

    .testimonial-card {
        min-width: 85%;
        margin-right: 1rem;
    }

    .testimonial-header {
        padding: 1.2rem 1.5rem 0;
    }

    .testimonial-content {
        padding: 1.2rem 1.5rem;
    }

    .testimonial-author {
        padding: 1.2rem 1.5rem;
    }

    .platform-badge {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .testimonial-rating {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonials-controls {
        margin-top: 1.5rem;
    }

    /* Make testimonials scroll horizontally on mobile */
    .testimonials-track {
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        scroll-snap-type: x mandatory;
        padding: 0.5rem 0 1.5rem;
    }

    .testimonials-track::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .testimonial-card {
        scroll-snap-align: center;
    }
}

@media (max-width: 480px) {
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .testimonial-card {
        min-width: 90%;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-text::before {
        font-size: 2.5rem;
        left: -10px;
    }

    .platform-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
}

/* ==========================================
   Enhanced Mobile Settings for Blog Section (Section 7)
   ========================================== */
@media (max-width: 768px) {
    .blog-section {
        padding: 3rem 0;
    }

    .blog-slider-container {
        padding-bottom: 1.5rem;
    }

    .blog-card {
        min-width: 85%;
        margin-right: 1rem;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 1.2rem;
    }

    .blog-content .blog-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .blog-date {
        font-size: 0.8rem;
    }

    .blog-category {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }

    /* Make blog cards scroll horizontally on mobile */
    .blog-slider {
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        scroll-snap-type: x mandatory;
        padding: 0.5rem 0 1.5rem;
    }

    .blog-slider::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .blog-card {
        scroll-snap-align: center;
    }

    .blog-controls {
        margin-top: 1.5rem;
    }

    .blog-footer {
        margin-top: 2rem;
    }

    .blog-all-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-card {
        min-width: 90%;
    }

    .blog-image {
        height: 160px;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-content .blog-title {
        font-size: 1rem;
    }

    .blog-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .blog-link {
        font-size: 0.85rem;
    }

    .blog-control-btn {
        width: 40px;
        height: 40px;
    }
}

/* Additional touch optimization for both sections */
@media (max-width: 768px) {
    /* Add visible scrollbar indicator on mobile */
    .testimonials-section::after,
    .blog-section::after {
        content: '';
        position: absolute;
        bottom: 4rem;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 4px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        z-index: 10;
        pointer-events: none;
    }

    [data-theme="dark"] .testimonials-section::after,
    [data-theme="dark"] .blog-section::after {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Improve touch area for all interactive elements */
    .control-btn,
    .blog-control-btn,
    .control-dot,
    .blog-dot {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Alert Messages CSS - Hata ve Başarı Mesajları için */

.alert {
    position: relative;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    animation: slideDown 0.3s ease-out forwards;
}

.alert i {
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.alert-danger {
    background-color: #fff2f2;
    border-left: 4px solid #ff3a30;
    color: #d32f2f;
}

.alert-success {
    background-color: #f0fff4;
    border-left: 4px solid #38c172;
    color: #1e7e34;
}

/* Icon styles */
.alert-danger i {
    color: #ff3a30;
}

.alert-success i {
    color: #38c172;
}

/* Animation for alerts */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .alert {
        padding: 12px;
        font-size: 13px;
    }

    .alert i {
        font-size: 16px;
        margin-right: 8px;
    }
}

/* Close button (optional - ekleyebilirsiniz) */
.alert .close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    padding: 5px;
    font-size: 12px;
    opacity: 0.7;
}

.alert .close-btn:hover {
    opacity: 1;
}