/* Clipora Club - Global CSS Style Sheets */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #0f172a;
    --secondary-hover: #1e293b;
    --accent: #a855f7;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --success: #10b981;
    --font-stack: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}
p {
    color: var(--text-muted);
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-hover);
}

.text-center { text-align: center; }
.margin-top-lg { margin-top: 40px; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
}
.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
}
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: var(--bg-white);
}
.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-dark);
}
.btn-outline:hover {
    background-color: #f1f5f9;
}
.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}
.btn-full {
    display: block;
    width: 100%;
}

/* Header Navbar */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}
.logo span {
    color: var(--primary);
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-list a {
    color: var(--text-muted);
    font-weight: 500;
}
.nav-list a:hover {
    color: var(--primary);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}
.badge-accent {
    display: inline-block;
    background-color: #e0e7ff;
    color: var(--primary);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}
.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Compliance Bar */
.compliance-bar {
    background-color: #fffbeb;
    border-top: 1px solid #fef3c7;
    border-bottom: 1px solid #fef3c7;
    padding: 12px 0;
    font-size: 0.9rem;
}

/* Home Features */
.home-features {
    padding: 100px 0;
    background-color: var(--bg-white);
}
.section-header {
    max-width: 600px;
    margin: 0 auto 60px auto;
}
.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    padding: 40px 32px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
}
.feature-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-card h3 {
    margin-bottom: 12px;
}

/* Interactive Demo Block */
.interactive-demo {
    padding: 100px 0;
    background-color: #f1f5f9;
}
.demo-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.demo-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.demo-status-box {
    margin-top: 32px;
    padding: 16px;
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}
.status-idle { color: var(--text-muted); font-weight: 600; }
.status-active { color: var(--accent); font-weight: 600; }
.demo-disclaimer-small { font-size: 0.75rem; margin-top: 8px; font-style: italic; }

.demo-player-box {
    background-color: var(--secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.player-header {
    background-color: #1e293b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.player-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.player-header .player-dot:nth-child(1) { background-color: #ef4444; }
.player-header .player-dot:nth-child(2) { background-color: #eab308; }
.player-header .player-dot:nth-child(3) { background-color: #22c55e; }
.player-title {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: auto;
}
.player-screen {
    position: relative;
    height: 260px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.player-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    gap: 16px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.demo-alert {
    position: absolute;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-sm);
    width: 85%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
    border-top: 4px solid var(--success);
}
.demo-alert h4 { color: var(--success); margin-bottom: 4px; }
.player-controls {
    padding: 24px;
    background-color: #1e293b;
}
.progress-container {
    margin-top: 16px;
    color: #94a3b8;
    font-size: 0.85rem;
}
.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #334155;
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
}
.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.1s linear;
}
.player-stats {
    margin-top: 16px;
    color: var(--bg-white);
    font-size: 0.9rem;
    border-top: 1px solid #334155;
    padding-top: 12px;
}

/* Digital Rewards Preview Grid */
.rewards-preview-sec {
    padding: 100px 0;
    background-color: var(--bg-white);
}
.rewards-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.reward-mini-card {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
}
.reward-mini-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}
.reward-mini-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.reward-mini-card p {
    font-size: 0.88rem;
}

/* Home Trust and Security */
.home-trust {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}
.trust-container-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.trust-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.trust-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.trust-text p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Page Titles Template */
.page-title-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--bg-white);
    text-align: center;
}
.page-title-section h1 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.page-title-section p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Content Rich Layout (Legal, Safety, About) */
.content-rich-layout, .legal-narrow-container, .faq-narrow-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 24px;
}
.guide-block, .trust-point {
    margin-bottom: 40px;
}
.guide-block h2, .trust-point h2 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}
.compliance-box-highlight, .legal-highlight {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 32px 0;
}
.compliance-box-highlight h3 {
    color: #b45309;
    margin-bottom: 12px;
}
.compliance-box-highlight ol {
    padding-left: 20px;
    margin-top: 12px;
}
.compliance-box-highlight li {
    margin-bottom: 8px;
}

/* Catalog Style */
.catalog-section { padding: 80px 0; background-color: var(--bg-white); }
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}
.catalog-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.catalog-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.item-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background-color: #fae8ff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.catalog-item-info h3 { font-size: 1.2rem; margin-bottom: 6px; }
.disclaimer-notice-box {
    background-color: #f1f5f9;
    padding: 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* FAQ Accordion Styling */
.faq-accordion-section { padding: 40px 0; background-color: var(--bg-white); }
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
}
.faq-item.active .faq-question::after {
    content: '−';
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}
.faq-answer p {
    padding: 8px 0 16px 0;
}

/* Contact Grid Layout */
.contact-section-layout { padding: 80px 0; background-color: var(--bg-white); }
.contact-grid-container {
    display: grid;
    grid-template-columns: 7fr 4fr;
    gap: 48px;
}
.modern-form .form-group {
    margin-bottom: 24px;
}
.modern-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-stack);
    font-size: 0.95rem;
}
.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.checkbox-group input { margin-top: 4px; }
.checkbox-group label { font-weight: 400; font-size: 0.88rem; color: var(--text-muted); }
.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}
.contact-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 24px;
    border-radius: var(--radius-sm);
    text-align: center;
}
.contact-success h3 { color: var(--success); margin-bottom: 8px; }

.sidebar-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.sidebar-card h3 { margin-bottom: 16px; font-size: 1.25rem; }
.corp-details-list { list-style: none; }
.corp-details-list li { margin-bottom: 12px; font-size: 0.95rem; color: var(--text-muted); }
.highlight-card { background-color: #f0fdf4; border-color: #bbf7d0; }
.highlight-card h3 { color: var(--success); }

/* Legal Text Formats */
.legal-text-section h2 { font-size: 1.4rem; margin: 32px 0 12px 0; }
.legal-text-section p { margin-bottom: 16px; text-align: justify; }
.legal-text-section ul { padding-left: 24px; margin-bottom: 16px; }
.legal-text-section li { margin-bottom: 6px; color: var(--text-muted); }

/* Site Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px 0;
    border-top: 1px solid #1e293b;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}
.footer-brand .logo { color: var(--bg-white); margin-bottom: 16px; display: inline-block; }
.footer-desc { font-size: 0.9rem; max-width: 320px; }
.site-footer h4 { color: var(--bg-white); margin-bottom: 20px; font-size: 1.1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #94a3b8; font-size: 0.9rem; }
.site-footer a:hover { color: var(--bg-white); }
.footer-disclaimer {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    font-size: 0.8rem;
    line-height: 1.6;
}
.footer-disclaimer p { color: #64748b; margin-bottom: 12px; }
.copyright { margin-top: 20px; color: #475569 !important; }

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background-color: var(--bg-white);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    z-index: 2000;
    border: 1px solid var(--border-color);
}
.cookie-content h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cookie-content p { font-size: 0.85rem; margin-bottom: 16px; }
.cookie-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container, .demo-container-grid, .trust-container-inner, .contact-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text { text-align: center; }
    .hero-buttons { justify-content: center; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .rewards-grid-four { grid-template-columns: 1fr 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.active { display: block; }
    .nav-list { flex-direction: column; gap: 16px; text-align: center; }
    .menu-toggle { display: flex; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .header-cta { display: none; }
    .hero-text h1 { font-size: 2.2rem; }
    .features-grid, .rewards-grid-four, .catalog-grid { grid-template-columns: 1fr; }
    .cookie-banner { left: 24px; max-width: calc(100% - 48px); }
}
