/* ============================================
   GKK INTERNS DESIGN SYSTEM (2026)
   Concept: Clean, Breathable, Functional
   ============================================ */

/* Import Main Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ==========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================== */
:root {
    /* ============================================
       GKK-HIRE DASHBOARD DARK THEME
       ============================================ */

    /* Core Dark Palette */
    --bg-body: #0c0c0f;
    --bg-subtle: #13131a;
    --bg-card: #171717;

    /* Brand Accent - Emerald Green */
    --primary: #22d87a;
    --primary-hover: #1ebc6b;
    --primary-light: rgba(34, 216, 122, 0.15);

    /* Typography Colors - Light on Dark */
    --text-main: #f0efe9;
    --text-body: rgba(240, 239, 233, 0.7);
    --text-muted: rgba(240, 239, 233, 0.45);
    --text-on-primary: #0c0c0f;

    /* Borders & Dividers - Dark Theme */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(34, 216, 122, 0.3);

    /* Semantic Colors */
    --c-success: #10b981;
    --c-warning: #f59e0b;
    --c-error: #ef4444;
    --c-info: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing & Sizes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    /* Increased for breathability */
    font-weight: var(--fw-regular);
    overflow-x: hidden;
    width: 100%;
}
html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    /* Lighter headings */
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    /* Tighter tracking for modern look */
}

/* Minimalist Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* Apply Mono Font */
code,
pre,
.mono-text,
.stat-number {
    font-family: var(--font-mono);
}

h1 {
    font-size: 3rem;
    font-weight: var(--fw-bold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.grid {
    display: grid;
}

.text-center {
    text-align: center;
}

/* ==========================================
   BUTTONS
   ========================================== */
.pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: var(--fw-medium);
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
    line-height: 1;
}

/* Primary - Solid, Flat */
.pro-btn-primary {
    background-color: var(--primary);
    color: var(--text-on-primary);
}

.pro-btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Secondary - Outlined/Subtle */
.pro-btn-secondary {
    background-color: var(--bg-card);
    border-color: var(--border);
    color: var(--text-main);
}

.pro-btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--border-hover);
    color: var(--primary);
}

/* Ghost - Text Only */
.pro-btn-ghost {
    background: transparent;
    color: var(--text-body);
}

.pro-btn-ghost:hover {
    background-color: var(--bg-subtle);
    color: var(--text-main);
}

.pro-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.pro-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ==========================================
   CARDS
   ========================================== */
.pro-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.2s ease;
}

.pro-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    /* Subtle lift */
    transform: translateY(-2px);
}

/* Feature/Stat Cards - Simplified */
.hero-card,
.feature-card,
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-card:hover,
.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

/* ==========================================
   TRUST STRIP - COMPLIANCE RAIL
   ========================================== */
.trust-strip {
    width: 100%;
    margin-top: 3.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 245, 243, 0.9)) padding-box,
        linear-gradient(90deg, rgba(14, 165, 233, 0.3), rgba(244, 114, 182, 0.3)) border-box;
    border: 1px solid transparent;
    border-left: none;
    border-right: none;
    padding: 2.25rem 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
}

.trust-strip-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 auto 1.75rem;
    font-weight: var(--fw-semibold);
    text-align: center;
    font-family: var(--font-heading);
    position: relative;
}

.trust-strip-title::before,
.trust-strip-title::after {
    content: '';
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2));
}

.trust-strip-title::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent);
}

.trust-rail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    list-style: none;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(0, 0, 0, 0.85);
    font-size: 0.9rem;
}

.trust-item+.trust-item {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 1.5rem;
}

.trust-item i {
    font-size: 1.4rem;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-label {
    color: rgba(0, 0, 0, 0.95);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-family: var(--font-heading);
}

.trust-sub {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trust-accent-msme i {
    color: #22d3ee;
}

.trust-accent-ssl i {
    color: #fbbf24;
}

.trust-accent-dmca i {
    color: #a78bfa;
}

.trust-accent-india i {
    color: #34d399;
}

.trust-accent-venture i {
    color: #fb7185;
}

@media (max-width: 768px) {
    .trust-rail {
        gap: 1rem 1.25rem;
    }

    .trust-item+.trust-item {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        padding-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Icon Containers in Cards - Muted backgrounds */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background-color: var(--bg-subtle);
    color: var(--text-main);
    transition: all 0.2s;
}

.feature-card:hover .card-icon {
    background-color: var(--primary);
    color: white;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.pro-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.pro-navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pro-navbar-brand {
    font-weight: var(--fw-bold);
    font-size: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pro-navbar-links {
    display: flex;
    gap: 2rem;
}

.pro-navbar-link {
    font-size: 0.95rem;
    font-weight: var(--fw-medium);
    color: var(--text-body);
}

.pro-navbar-link:hover {
    color: var(--primary);
}

/* ==========================================
   FORMS
   ========================================== */
.pro-form-group {
    margin-bottom: 1.5rem;
}

.pro-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--fw-medium);
    color: var(--text-main);
    font-size: 0.9rem;
}

.pro-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.pro-form-input:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.pro-form-input:focus {
    background-color: var(--bg-card);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.pro-form-input::placeholder {
    color: var(--text-muted);
}


/* ==========================================
   LEADERBOARD STYLES
   ========================================== */
.leaderboard-header {
    display: grid;
    grid-template-columns: 50px 1fr 120px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    align-items: center;
}

.leaderboard-body {
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 50px 1fr 120px;
    padding: 1rem 1.5rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:hover {
    background: var(--bg-subtle) !important;
}

.rank-badge {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: var(--text-muted);
}

.rank-1 .rank-badge {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.rank-2 .rank-badge {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.rank-3 .rank-badge {
    background: rgba(180, 83, 9, 0.2);
    color: #d97706;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-sm {
    width: 36px;
    height: 36px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    border: 1px solid var(--border);
}

.user-name {
    font-weight: 500;
    color: var(--text-main);
}

.user-level {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-xp {
    font-weight: 600;
    color: var(--primary);
}

/* ==========================================
   SECTIONS & HERO
   ========================================== */
.section {
    padding: 5rem 0;
}

.hero-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Minimalist Decoration */
.hero-visual-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.6;
    z-index: -1;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    background-color: #000000;
    color: #ffffff;
}

.footer-title {
    color: var(--text-main);
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-link {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-body);
}

.footer-link:hover {
    color: var(--primary);
}

/* ==========================================
   UTILITY & HELPERS
   ========================================== */
.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.bg-subtle {
    background-color: var(--bg-subtle);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .pro-navbar-links {
        display: none;
    }

    /* Mobile menu needed */
}

/* ==========================================
   STREAK FLOAT ALERT
   ========================================== */
#streak-toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
}

.streak-toast {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    animation: floatUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.streak-toast:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.6);
}

.streak-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f97316;
}

.streak-content {
    color: var(--text-main);
    font-size: 0.9rem;
    white-space: nowrap;
}

.streak-highlight {
    color: #f97316;
    font-weight: 700;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    #streak-toast-container {
        width: 90%;
        bottom: 1.5rem;
    }

    .streak-toast {
        width: 100%;
        justify-content: center;
    }

    .streak-content {
        font-size: 0.8rem;
    }
}

/* ==========================================
   COOKIE CONSENT BANNER & MODAL
   ========================================== */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-banner-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-banner-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.cookie-banner-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-link {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-link:hover {
    color: var(--primary-hover);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border-color: var(--primary);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.cookie-btn-secondary {
    background: var(--bg-subtle);
    color: var(--text-main);
    border-color: var(--border);
}

.cookie-btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--text-body);
    border-color: var(--border);
}

.cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cookie-modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-main);
}

.cookie-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cookie-modal-close:hover {
    background: var(--bg-subtle);
    color: var(--text-main);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-intro {
    margin-bottom: 1.5rem;
    color: var(--text-body);
    font-size: 0.9rem;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-category-info h4 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-category-info h4 i {
    color: var(--primary);
    font-size: 0.85rem;
}

.cookie-category-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Cookie Toggle Switch */
.cookie-toggle {
    flex-shrink: 0;
}

.cookie-toggle input {
    display: none;
}

.cookie-toggle-label {
    position: relative;
    display: block;
    width: 48px;
    height: 26px;
    background: var(--border);
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle-label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input:checked+.cookie-toggle-label {
    background: var(--primary);
}

.cookie-toggle input:checked+.cookie-toggle-label::after {
    transform: translateX(22px);
}

.cookie-toggle-label.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle-label.disabled span {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

/* Cookie Toast (fallback when no SweetAlert) */
.cookie-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10002;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.cookie-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-toast i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-banner-actions {
        justify-content: center;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

/* ==========================================

   APP NOTICE BAR & SETTINGS MODAL
   (Generic names to avoid ad-blockers)
   ========================================== */

/* Notice Bar (was Cookie Banner) */
.app-notice-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid var(--border, #334155);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    color: #f8fafc;
}

.app-notice-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.app-notice-bar.hide {
    transform: translateY(100%);
    opacity: 0;
}

.app-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-notice-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.app-notice-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.app-notice-heading {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #f8fafc;
    font-weight: 600;
}

.app-notice-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

.app-notice-desc a {
    color: #3b82f6;
    text-decoration: none;
}

.app-notice-desc a:hover {
    text-decoration: underline;
}

.app-notice-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Modal Overlay */
.app-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.app-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.app-modal {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.app-modal-overlay.show .app-modal {
    transform: scale(1);
}

.app-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f8fafc;
    font-size: 1.25rem;
}

.app-close-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.app-close-btn:hover {
    background: #334155;
    color: #f8fafc;
}

.app-modal-body {
    padding: 1.5rem;
}

.app-setting-item {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.app-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.app-setting-title {
    font-weight: 600;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-setting-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* Toggle Switch */
.app-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.app-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.app-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0f172a;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid #334155;
}

.app-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #64748b;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.app-slider {
    background-color: #10b981;
    border-color: #10b981;
}

input:checked+.app-slider:before {
    transform: translateX(20px);
    background-color: white;
}

input:disabled+.app-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.app-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

@media (max-width: 768px) {
    .app-notice-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .app-notice-text {
        flex-direction: row;
        width: 100%;
    }

    .app-notice-actions {
        width: 100%;
        flex-direction: column;
    }

    .app-notice-actions .pro-btn {
        width: 100%;
    }

    .app-modal {
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* =========================================
   TRUST STRIP REDESIGN (Sleek & Modern)
   ========================================= */
.trust-strip {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle divider */
    position: relative;
    text-align: center;
}

.trust-strip-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 600;
}

.trust-strip-title::before,
.trust-strip-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--border);
    opacity: 0.5;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    /* Spacious gap instead of cards */
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.trust-badge:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* Icon Wrapper */
.trust-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    /* Soft colored backgrounds */
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Specific Colors */
.trust-badge-msme .trust-icon-wrapper {
    color: #f97316 !important;
    background: rgba(249, 115, 22, 0.1) !important;
}

.trust-badge-ssl .trust-icon-wrapper {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
}

.trust-badge-dmca .trust-icon-wrapper {
    color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.trust-badge-india .trust-icon-wrapper {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

.trust-badge-venture .trust-icon-wrapper {
    color: #8b5cf6 !important;
    background: rgba(139, 92, 246, 0.1) !important;
}

.trust-badge:hover .trust-icon-wrapper {
    filter: brightness(1.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Text Styling */
.trust-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.2;
}

.trust-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .trust-badges {
        gap: 1.5rem;
        flex-direction: column;
        /* Stack on mobile for better readability */
        align-items: flex-start;
        padding-left: 2rem;
        /* Indent slightly */
    }

    .trust-badge {
        width: 100%;
    }
}

/* ============================================
   GLOBAL OVERRIDES (Rectangle Buttons)
   ============================================ */
button,
.btn,
.btn-primary,
.btn-secondary,
.btn-sm,
.btn-lg,
.pro-btn,
.pro-btn-primary,
.pro-btn-secondary,
.pro-btn-ghost,
.auth-btn,
a.btn {
    border-radius: 0 !important;
}

button:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.pro-btn:hover,
.auth-btn:hover,
a.btn:hover {
    border-radius: 0 !important;
}