/* ======================================================================
   BOUTIQUE BUZZ - CORE UI DESIGN SYSTEM & RESPONSIVE LAYOUTS
   ====================================================================== */

:root {
    --bg-dark: #04050d;
    --bg-gradient: radial-gradient(circle at 50% 50%, #0c0f2b 0%, #04050d 100%);
    --panel-bg: rgba(255, 255, 255, 0.02);
    --panel-border: rgba(99, 102, 241, 0.15);
    --panel-glow: rgba(99, 102, 241, 0.4);
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-indigo: #6366f1;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ambient glow blobs */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.45;
}

.glow-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

.glow-2 {
    bottom: 10%;
    right: -10%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

/* Header & Navigation */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(4, 5, 13, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 96px;
    width: 96px;
    object-fit: contain;
    border-radius: 8px;
}

.logo .highlight {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    font-family: var(--font-heading);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--panel-border);
    padding: 10px 22px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Landing Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 140px auto 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        margin-top: 110px;
        text-align: center;
        gap: 40px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 968px) {
    .hero-content {
        align-items: center;
    }
}

.badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-cyan);
    border: 1px solid var(--panel-border);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 20%, var(--accent-purple) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

.btn-premium {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}

.btn-premium.primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-premium.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.6);
}

.btn-premium.secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
}

.btn-premium.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hero-visual img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    border: 1px solid var(--panel-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Sections General */
.section {
    padding: 80px 20px;
}

.section-dark {
    background: rgba(4, 5, 13, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 868px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.card-feature {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.card-feature:hover {
    border-color: var(--panel-glow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.feat-icon {
    font-size: 2.2rem;
    display: inline-block;
    margin-bottom: 20px;
}

.card-feature h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Integrations grid */
.integrations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.integration-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    transition: all 0.3s;
}

.integration-badge:hover {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
    transform: scale(1.05);
}

/* Testimonials / Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-indigo);
    object-fit: cover;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.review-card p.quote {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.98rem;
}

/* Pricing Section */
.pricing-card {
    background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid var(--accent-indigo);
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
}

.price-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin: 20px 0;
    color: var(--text-main);
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 30px 0;
    display: inline-block;
}

.price-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Modals (Auth) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0d0e1b;
    border: 1px solid var(--panel-border);
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-main);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.btn-form {
    width: 100%;
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    margin-top: 10px;
}

.btn-form:hover {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.modal-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* 2FA QR code display */
.qr-container {
    text-align: center;
    display: none;
}

.qr-code-img {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    margin: 15px auto;
    width: 200px;
    height: 200px;
    display: block;
}

/* Dashboard Workspace Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    padding-top: 75px;
}

@media (max-width: 968px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Navigation */
.sidebar {
    background: rgba(4, 5, 13, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.sidebar-btn:hover, .sidebar-btn.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.1);
    box-shadow: inset 0 0 1px var(--panel-glow);
}

/* Dashboard Workspace Area */
.workspace {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

@media (max-width: 1200px) {
    .workspace {
        grid-template-columns: 1fr;
    }
}

.panel-editor {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.panel-section {
    display: none;
}

.panel-section.active {
    display: block;
}

/* Visual Phone Preview */
.phone-preview-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #090d16;
    border: 8px solid #1e293b;
    border-radius: 36px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Phone status bar */
.phone-notch {
    width: 120px;
    height: 18px;
    background: #1e293b;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    flex: 1;
    overflow-y: auto;
    padding: 30px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar {
    display: none;
}

/* Render elements inside the phone screen */
.phone-store-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--accent-indigo);
    margin-top: 15px;
    background-size: cover;
    background-position: center;
}

.phone-store-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-top: 10px;
    color: #fff;
    text-align: center;
}

.phone-store-bio {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin: 5px 0 20px 0;
}

.phone-product-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-product-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s;
    color: #fff;
}

.phone-product-btn:hover {
    transform: scale(1.02);
}

.phone-product-btn h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
}

.phone-product-btn p {
    font-size: 0.7rem;
    color: #94a3b8;
}

.phone-product-btn .price-tag {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

/* Drag-and-drop / list UI */
.product-manager-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.manager-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manager-item-drag {
    cursor: grab;
    color: var(--text-muted);
    font-size: 1.2rem;
    padding-right: 15px;
}

.manager-item-info {
    flex: 1;
}

.manager-item-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.manager-item-info span {
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.manager-item-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.btn-icon:hover {
    color: #fff;
}

.btn-icon.delete:hover {
    color: #ef4444;
}

/* Public Store Style */
.public-store-container {
    max-width: 480px;
    margin: 50px auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer Section */
.footer-section {
    background: rgba(4, 5, 13, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 20px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 300px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.footer-links-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
