/* ===============================================
   SMM.RIP - Complete Stylesheet
   Main landing page & dashboard styles
   =============================================== */

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 1.3125rem;
    color: var(--text-secondary);
    width: fit-content;
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: 5.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.6875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 2.25rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    width: fit-content;
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    color: white !important;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 1.275rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.platform-badge:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.platform-badge i {
    font-size: 2.25rem;
}

/* ===============================================
   LOGIN CARD
   =============================================== */
.login-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 380px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

[data-theme="dark"] .login-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.login-card-title {
    font-size: 2.625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.login-card-subtitle {
    font-size: 1.425rem;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

.login-card-subtitle a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.login-card-subtitle a:hover {
    text-decoration: underline;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.form-control-custom {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 10px;
    font-size: 1.425rem;
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: inherit;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control-custom::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-check-label {
    font-size: 1.35rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin: 0;
}

.forgot-link {
    font-size: 1.35rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 2.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.alert-custom {
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.35rem;
    border: 1px solid;
}

.alert-danger-custom {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.alert-success-custom {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.8rem;
    margin-left: auto;
}

/* ===============================================
   STATS SECTION
   =============================================== */
.stats-section {
    background: var(--bg-secondary);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .stats-section {
    background: var(--bg-tertiary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-icon {
    font-size: 3.75rem;
    color: var(--primary);
}

.stat-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 1.35rem;
    color: var(--text-secondary);
}

/* ===============================================
   FEATURES SECTION
   =============================================== */
.features-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.text-center .section-badge {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.65rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* YouTube Panel Card */
.youtube-panel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.panel-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    font-size: 2.25rem;
}

.panel-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.panel-subtitle {
    font-size: 1.425rem;
    color: var(--text-secondary);
    margin: 0;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-content p {
    font-size: 2.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none !important;
    width: fit-content;
    transition: all 0.3s;
}

.panel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    color: white !important;
}

/* Service Cards Grid */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

.service-card-icon.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.service-card-icon.instagram {
    background: rgba(228, 64, 95, 0.1);
    color: #E4405F;
}

.service-card-icon.tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

[data-theme="dark"] .service-card-icon.tiktok {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.service-card-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.service-card-desc {
    font-size: 2.1375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===============================================
   COMPETITION SECTION
   =============================================== */
.competition-section {
    background: var(--bg-secondary);
    padding: 80px 20px;
}

[data-theme="dark"] .competition-section {
    background: var(--bg-tertiary);
}

.competition-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .dashboard-preview {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dot.red { background: #EF4444; }
.dashboard-dot.yellow { background: #F59E0B; }
.dashboard-dot.green { background: #10B981; }

.dashboard-content {
    padding: 40px;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.dashboard-stat {
    text-align: center;
}

.dashboard-stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.dashboard-stat-label {
    font-size: 1.425rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--primary);
    margin: 0 auto 16px;
}

.feature-title {
    font-size: 2.475rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.feature-desc {
    font-size: 2.025rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===============================================
   TESTIMONIALS SECTION
   =============================================== */
.testimonials-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2.25rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.425rem;
}

.testimonial-handle {
    font-size: 1.275rem;
    color: var(--text-muted);
}

.testimonial-text {
    font-size: 1.425rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* ===============================================
   COMPARISON SECTION
   =============================================== */
.comparison-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

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

.comparison-col.highlight {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

[data-theme="dark"] .comparison-col.highlight {
    background: rgba(37, 99, 235, 0.1);
}

.comparison-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}

.comparison-icon.competitor {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.comparison-icon.us {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.comparison-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.425rem;
    color: var(--text-secondary);
}

.comparison-list i {
    margin-top: 2px;
    font-size: 1.8rem;
}

.comparison-result {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.result-label {
    font-size: 1.275rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.result-value.bad {
    color: #EF4444;
}

.result-value.good {
    color: #10B981;
}

/* ===============================================
   FAQ SECTION
   =============================================== */
.faq-section {
    background: var(--bg-secondary);
    padding: 80px 20px;
}

[data-theme="dark"] .faq-section {
    background: var(--bg-tertiary);
}

.faq-section .section-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.3s;
}

.faq-item:hover .faq-question {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.faq-answer-text {
    font-size: 1.425rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===============================================
   CTA SECTION
   =============================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 80px 20px;
    color: white;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 24px;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    font-size: 3.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.cta-stat-label {
    font-size: 1.425rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary) !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 24px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary) !important;
}

/* ===============================================
   CHOICES.JS SELECT LIBRARY STYLING
   =============================================== */

/* Light mode dropdown list items */
.choices__list--dropdown .choices__item--choice {
    background-color: #ffffff !important;
    color: #1f2937 !important;
}

.choices__list--dropdown .choices__item--choice.is-highlighted {
    background-color: #f3f4f6 !important;
    color: #1f2937 !important;
}

.choices__list--dropdown .choices__item--choice.is-selected {
    background-color: #ffffff !important;
    color: #1f2937 !important;
}

/* All text in dropdown */
.choices__list--dropdown,
.choices__list--dropdown li {
    color: #1f2937 !important;
}

.choices__list--dropdown li::before,
.choices__list--dropdown li::after {
    color: #1f2937 !important;
}

/* ===============================================
   DARK MODE - CHOICES.JS COMPREHENSIVE OVERRIDE
   =============================================== */

/* Dark mode - Main choices wrapper ALL VARIATIONS */
[data-theme="dark"] .choices,
[data-theme="dark"] div.choices,
[data-theme="dark"] .choices.is-open,
[data-theme="dark"] .choices.is-focused {
    background-color: #1E293B !important;
    background: #1E293B !important;
    border: 1.5px solid #334155 !important;
    border-color: #334155 !important;
    color: #F1F5F9 !important;
}

/* Dark mode - Inner wrapper */
[data-theme="dark"] .choices__inner,
[data-theme="dark"] .choices.is-open .choices__inner,
[data-theme="dark"] .choices.is-focused .choices__inner {
    background-color: #1E293B !important;
    background: #1E293B !important;
    border: none !important;
    border-color: transparent !important;
    color: #F1F5F9 !important;
}

/* Dark mode - Input field */
[data-theme="dark"] .choices__input,
[data-theme="dark"] .choices__input:focus,
[data-theme="dark"] .choices.is-open .choices__input {
    background-color: #1E293B !important;
    background: #1E293B !important;
    color: #F1F5F9 !important;
    border: none !important;
}

/* Dark mode - Item displays */
[data-theme="dark"] .choices__item,
[data-theme="dark"] .choices__choice {
    background-color: transparent !important;
    color: #F1F5F9 !important;
}

/* Dark mode - Dropdown list container */
[data-theme="dark"] .choices__list--dropdown,
[data-theme="dark"] .choices__list,
[data-theme="dark"] .choices.is-open .choices__list--dropdown {
    background-color: #1E293B !important;
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    border-color: #334155 !important;
    color: #F1F5F9 !important;
}

/* Dark mode - Dropdown list items */
[data-theme="dark"] .choices__list--dropdown .choices__item--choice,
[data-theme="dark"] .choices__list--dropdown li,
[data-theme="dark"] .choices__list .choices__item,
[data-theme="dark"] .choices.is-open .choices__list--dropdown .choices__item--choice {
    background-color: #1E293B !important;
    background: #1E293B !important;
    color: #F1F5F9 !important;
}

/* Dark mode - Highlighted items */
[data-theme="dark"] .choices__list--dropdown .choices__item--choice.is-highlighted,
[data-theme="dark"] .choices__list--dropdown .choices__item.is-highlighted,
[data-theme="dark"] .choices.is-open .choices__list--dropdown .choices__item--choice.is-highlighted {
    background-color: #FF5545 !important;
    background: #FF5545 !important;
    color: #FFFFFF !important;
}

/* Dark mode - Selected items */
[data-theme="dark"] .choices__list--dropdown .choices__item--choice.is-selected {
    background-color: #1E293B !important;
    color: #F1F5F9 !important;
}

/* Dark mode - List item text and numbers */
[data-theme="dark"] .choices__list--dropdown li,
[data-theme="dark"] .choices__list--dropdown li span,
[data-theme="dark"] .choices__list--dropdown li::before,
[data-theme="dark"] .choices__list--dropdown li::after {
    color: #F1F5F9 !important;
}

/* Dark mode - Buttons */
[data-theme="dark"] .choices__button {
    color: #F1F5F9 !important;
}

/* Dark mode - Placeholder text */
[data-theme="dark"] .choices__input::placeholder {
    color: #64748B !important;
}

/* ===============================================
   TEXT INPUT FIELDS DARK MODE
   =============================================== */

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] textarea,
[data-theme="dark"] .order-input {
    background-color: var(--bg-secondary) !important;
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] input[type="url"]:focus,
[data-theme="dark"] input[type="number"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] .order-input:focus {
    background-color: var(--bg-secondary) !important;
    border-color: var(--primary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] input[type="text"]::placeholder,
[data-theme="dark"] input[type="email"]::placeholder,
[data-theme="dark"] input[type="password"]::placeholder,
[data-theme="dark"] input[type="url"]::placeholder,
[data-theme="dark"] input[type="number"]::placeholder,
[data-theme="dark"] textarea::placeholder,
[data-theme="dark"] .order-input::placeholder {
    color: #6b7280 !important;
}

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
}

[data-theme="dark"] footer {
    background: var(--bg-tertiary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 1.35rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 1.35rem;
    color: var(--text-secondary);
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
    }

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

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

    .hero-title {
        font-size: 3.75rem;
    }

    .service-cards,
    .features-grid,
    .testimonials-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

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

    .section-title {
        font-size: 2.25rem;
    }

    .youtube-panel-card {
        padding: 20px;
    }

    .login-card {
        padding: 30px 20px;
        max-width: 100%;
    }

    .panel-btn {
        display: flex;
    }
}

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

.justify-content-between {
    justify-content: space-between;
}

.gap-20 {
    gap: 20px;
}

.mt-4 {
    margin-top: 24px;
}

.mt-lg-0 {
    margin-top: 0;
}

.mb-4 {
    margin-bottom: 24px;
}

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

.h-100 {
    height: 100%;
}

.col-md-4 {
    flex: 1;
}

.col-lg-6 {
    flex: 1;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

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

.rounded-4 {
    border-radius: 16px;
}

.divider {
    text-align: center;
    color: var(--text-secondary);
    margin: 24px 0;
    font-size: 1.35rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.google-signin-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.captcha-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* ===============================================
   SELECT2 LIBRARY DARK MODE OVERRIDES
   =============================================== */

/* Light mode - DEFAULT */
.select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #1f2937 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937 !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
}

.select2-container--default .select2-dropdown {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
}

.select2-container--default .select2-results__option {
    color: #1f2937 !important;
    background-color: #ffffff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f3f4f6 !important;
    color: #1f2937 !important;
}

/* Light mode - Ensure all text is visible */
.select2-container--default .select2-results__option,
.select2-container--default .select2-results__option span,
.select2-container--default .select2-results__option::before,
.select2-container--default .select2-results__option::after {
    color: #1f2937 !important;
}

/* DARK MODE - SELECT2 AGGRESSIVE OVERRIDE */
[data-theme="dark"] .select2-container--default .select2-selection--single {
    background-color: #1E293B !important;
    background: #1E293B !important;
    border: 1.5px solid #334155 !important;
    border-color: #334155 !important;
    color: #F1F5F9 !important;
}

[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .select2-container--default.select2-container--open .select2-selection--single {
    background-color: #1E293B !important;
    background: #1E293B !important;
    border: 1.5px solid #334155 !important;
    color: #F1F5F9 !important;
}

[data-theme="dark"] .select2-container--default .select2-dropdown {
    background-color: #1E293B !important;
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .select2-container--default .select2-dropdown .select2-search__field {
    background-color: #1E293B !important;
    color: #F1F5F9 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option {
    color: #F1F5F9 !important;
    background-color: #1E293B !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FF5545 !important;
    background: #FF5545 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option.select2-results__option--selectable {
    background-color: #1E293B !important;
    color: #F1F5F9 !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option.select2-results__option--selectable:hover {
    background-color: #FF5545 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .select2-container--default .select2-results__group {
    color: #F1F5F9 !important;
    background-color: #1E293B !important;
}

[data-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #FF5545 !important;
}

[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #F1F5F9 !important;
}

/* ===============================================
   SELECT2 SMOOTH LOADING ANIMATION
   =============================================== */

@keyframes slideDownSmooth {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth animation for SELECT2 dropdown opening */
.select2-dropdown {
    animation: slideDownSmooth 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.select2-container--open .select2-dropdown {
    animation: slideDownSmooth 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.select2-results {
    animation: fadeIn 0.3s ease-in;
}

.select2-results__option {
    transition: background-color 0.2s ease, color 0.2s ease;
}
