/* Nolies - Enhanced Shared Stylesheet */
/* Modern Design with Original Black/White Color Scheme */
/* Light/Dark Theme Support */

:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --text-color: #000;
    --bg-color: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --accent: #000;
}

body.dark-theme {
    --primary-color: #fff;
    --secondary-color: #000;
    --text-color: #fff;
    --bg-color: #000;
    --border-color: #333;
    --shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 10px 30px rgba(255, 255, 255, 0.15);
}

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

html, body {
    font-family: 'Poppins', 'Lexend', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { 
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 { 
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Navigation */
nav {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

nav .logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Lexend', sans-serif;
    letter-spacing: -0.02em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section - Enhanced */
.hero-enhanced {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
    background: var(--bg-color);
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-enhanced::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(40px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: slideDown 0.6s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-4px);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Lexend', sans-serif;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Feature Cards - Enhanced */
.features-section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title p {
    font-size: 1.15rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-color) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 1.5rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2.5px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Forms */
.form-group {
    margin-bottom: 1.75rem;
}

label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

body.dark-theme input:focus,
body.dark-theme textarea:focus,
body.dark-theme select:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

textarea {
    resize: vertical;
    min-height: 140px;
    font-family: 'Poppins', sans-serif;
}

input::placeholder, textarea::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

.form-helper {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.6;
    margin-top: 0.25rem;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.password-toggle:hover {
    opacity: 0.7;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 500;
}

/* Cards */
.card {
    background-color: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 0;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Text utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-muted {
    color: var(--text-color);
    opacity: 0.6;
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: #ef4444;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: #3b82f6;
}

body.dark-theme .alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: #86efac;
}

body.dark-theme .alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

body.dark-theme .alert-info {
    background-color: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
}

tr:hover {
    background-color: var(--border-color);
}

/* Footer */
footer {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
    text-align: center;
}

footer p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

/* Auth Page Styles */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 2rem;
}

.auth-card {
    background-color: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.6;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    margin-bottom: -2px;
}

.auth-tab.active {
    opacity: 1;
    border-bottom-color: var(--primary-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.form-divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
    color: var(--text-color);
    opacity: 0.5;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
}

.social-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.form-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
}

.form-link a {
    color: var(--primary-color);
    font-weight: 600;
    opacity: 1;
}

/* Sender Page Styles */
.sender-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 2rem;
}

.sender-card {
    background-color: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.sender-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sender-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sender-header p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.message-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.type-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.type-btn:hover {
    border-color: var(--primary-color);
}

.message-form {
    display: none;
}

.message-form.active {
    display: block;
}

.audio-recorder {
    margin: 1.5rem 0;
}

.recording-controls {
    display: flex;
    gap: 1rem;
}

.recording-indicator {
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse 1s infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.terms-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--border-color);
    border-radius: 0.75rem;
}

.terms-box input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.terms-box label {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Pricing Page Styles */
.pricing-section {
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-coins {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-faq {
    max-width: 800px;
    margin: 4rem auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    opacity: 0.8;
}

.earn-free-section {
    background-color: var(--border-color);
    padding: 3rem 2rem;
    border-radius: 1.25rem;
    margin-top: 4rem;
}

.earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.earn-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.earn-item h4 {
    margin-bottom: 0.5rem;
}

.earn-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.contact-form-box,
.contact-info-box {
    background-color: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item h4 {
    margin-bottom: 0.75rem;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.help-search-box {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.help-search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.values-list,
.safety-list,
.contact-list {
    list-style: none;
    margin-bottom: 2rem;
}

.values-list li,
.safety-list li,
.contact-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
}

.values-list li::before,
.safety-list li::before,
.contact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary-color);
}

/* Blog Page Styles */
.blog-section {
    padding: 4rem 0;
}

.blog-filters {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.blog-search {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
}

.blog-card p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.read-more:hover {
    opacity: 0.7;
}

/* Reset Page Styles */
.reset-step {
    display: none;
}

.reset-step.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Legal Page Styles */
.legal-section {
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Error Page Styles */
.error-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Safety Page Styles */
.safety-section {
    padding: 4rem 0;
}

.safety-content {
    max-width: 900px;
    margin: 0 auto;
}

.safety-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.safety-content ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.safety-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Loading Spinner */
.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 1.25rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg);
}

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Utility Classes */
.hidden { display: none !important; }
.visible { display: block !important; }
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        padding: 1.5rem;
        gap: 1rem;
        z-index: 1000;
        border-bottom: 1px solid var(--border-color);
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }

    .hero-enhanced {
        padding: 4rem 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        gap: 1rem;
    }

    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.875rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.875rem;
    }

    nav .logo {
        font-size: 1.375rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    input, textarea, select {
        padding: 0.75rem;
        font-size: 16px;
    }

    .hero-enhanced {
        padding: 2rem 1rem;
    }

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

    .section {
        padding: 2rem 0;
    }

    .auth-card {
        padding: 2rem;
    }

    .sender-card {
        padding: 2rem;
    }

    .message-type-selector {
        flex-direction: column;
    }

    .type-btn {
        width: 100%;
    }

    .modal-content {
        padding: 1.5rem;
    }

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

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

/* ============================================
   NAVIGATION ENHANCEMENTS
   ============================================ */
.navbar {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Lexend', sans-serif;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-logo:hover {
    opacity: 0.85;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    text-decoration: none;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover {
    text-decoration: none;
    opacity: 0.85;
}

.nav-cta {
    padding: 0.625rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: rotate(20deg);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        padding: 1.5rem;
        gap: 1rem;
        z-index: 1000;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-color: var(--secondary-color);
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.app-badge:hover {
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: var(--secondary-color);
}

.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--secondary-color);
    opacity: 0.75;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-col ul li a:hover {
    opacity: 1;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.78rem !important;
    opacity: 0.55 !important;
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

/* ============================================
   USER SENDER PAGE (extracted from inline)
   ============================================ */
.sender-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.sender-form-card {
    background: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.sender-form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.sender-form-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sender-form-header p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.audio-recorder-box {
    background: var(--border-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.5;
    margin-top: 0.375rem;
}

.sender-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: var(--border-color);
    padding: 1.25rem;
    border-radius: 0.75rem;
}

.info-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.info-card ol,
.info-card ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
}

.sender-info-tip {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

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

/* ============================================
   ADMIN DASHBOARD STYLES (extracted from inline)
   ============================================ */
.admin-wrap {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background: #f4f6f9;
    font-family: 'Poppins', sans-serif;
}

.admin-sidebar {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 1.5rem 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    z-index: 200;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

.admin-sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    color: #fff;
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left-color: #7c3aed;
    text-decoration: none;
}

.admin-nav .nav-section-label {
    padding: 1rem 1.5rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    margin-top: 0.5rem;
}

.admin-main {
    margin-left: 250px;
    padding: 1.5rem 2rem;
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stat-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-left: 4px solid #e0e0e0;
    transition: transform 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
}

.admin-stat-card.purple { border-left-color: #7c3aed; }
.admin-stat-card.blue   { border-left-color: #2563eb; }
.admin-stat-card.green  { border-left-color: #16a34a; }
.admin-stat-card.red    { border-left-color: #dc2626; }
.admin-stat-card.orange { border-left-color: #ea580c; }
.admin-stat-card.pink   { border-left-color: #db2777; }

.admin-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 0.5rem;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.admin-stat-sub {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.25rem;
}

.admin-section {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.admin-section-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th {
    background: #f4f6f9;
    color: #555;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    text-align: left;
}

.admin-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: #fafafa;
}

.admin-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-badge.pending  { background: #fef3c7; color: #92400e; }
.admin-badge.active   { background: #d1fae5; color: #065f46; }
.admin-badge.banned   { background: #fee2e2; color: #991b1b; }
.admin-badge.flagged  { background: #fee2e2; color: #991b1b; }
.admin-badge.ok       { background: #d1fae5; color: #065f46; }
.admin-badge.resolved { background: #e0e7ff; color: #3730a3; }

.admin-action-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    margin-right: 0.25rem;
}

.admin-action-btn.view   { background: #dbeafe; color: #1e40af; }
.admin-action-btn.delete { background: #fee2e2; color: #991b1b; }
.admin-action-btn.approve { background: #d1fae5; color: #065f46; }
.admin-action-btn.ban    { background: #fef3c7; color: #92400e; }

.admin-action-btn:hover {
    filter: brightness(0.92);
    text-decoration: none;
}

.admin-logout-btn {
    background: #dc2626;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.admin-logout-btn:hover {
    background: #b91c1c;
    text-decoration: none;
    color: #fff;
}

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

    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-topbar {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.blog-post-article {
    padding: 3rem 0 5rem;
}

.blog-breadcrumb {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.blog-breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-post-header {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    font-size: 1.1rem;
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.blog-post-meta {
    font-size: 0.85rem;
    opacity: 0.55;
    font-weight: 500;
}

.blog-post-body {
    max-width: 780px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-post-body h2,
.blog-post-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-body p {
    margin-bottom: 1.25rem;
}

.blog-post-body ul,
.blog-post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-post-body img {
    max-width: 100%;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.blog-post-footer {
    max-width: 780px;
    margin: 0 auto;
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.blog-post-share a {
    padding: 0.375rem 0.875rem;
    border: 1.5px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.blog-post-share a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    text-decoration: none;
}

.blog-post-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 1.25rem;
    text-align: center;
}

.blog-post-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-cta p {
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.7;
}


/* ── Legal Pages — shared classes ─────────────────────────────────────────── */
.legal-contact-box {
    background: var(--bg-secondary, #f8f9fa);
    border-left: 4px solid var(--primary, #6c63ff);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary, #6c63ff);
    text-decoration: underline;
}

/* ── Community Guidelines Grid ────────────────────────────────────────────── */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.guideline-card {
    border-radius: 10px;
    padding: 1.25rem;
    border-left: 4px solid transparent;
}

.guideline-card h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.guideline-card p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.guideline-ok {
    background: #f0fff4;
    border-left-color: #22c55e;
}

.guideline-no {
    background: #fff5f5;
    border-left-color: #ef4444;
}

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

/* ========================================
   Modern Toast Notification System
   ======================================== */
/* Hero section motto tagline */
.hero-tagline-motto {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    opacity: 0.72;
    margin-bottom: 1rem;
    margin-top: -0.25rem;
    letter-spacing: 0.02em;
}

/* Auth page tagline */
.tagline-sub {
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.65;
    margin-bottom: 0.35rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

#nolies-toast-container {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 99999;
    pointer-events: none;
    width: min(440px, calc(100vw - 32px));
}

.nolies-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
    pointer-events: all;
    opacity: 0;
    transform: translateY(24px) scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1),
                transform 0.35s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
}

.nolies-toast.nolies-toast-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nolies-toast.nolies-toast-hiding {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nolies-toast-success { border-left-color: #22c55e; }
.nolies-toast-error   { border-left-color: #ef4444; }
.nolies-toast-warning { border-left-color: #f59e0b; }
.nolies-toast-info    { border-left-color: #3b82f6; }

.nolies-toast-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.nolies-toast-success .nolies-toast-icon { background: #dcfce7; color: #16a34a; }
.nolies-toast-error   .nolies-toast-icon { background: #fee2e2; color: #dc2626; }
.nolies-toast-warning .nolies-toast-icon { background: #fef3c7; color: #d97706; }
.nolies-toast-info    .nolies-toast-icon { background: #dbeafe; color: #2563eb; }

.nolies-toast-body { flex: 1; min-width: 0; }

.nolies-toast-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--text-color);
}

.nolies-toast-message {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.45;
}

.nolies-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.35;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    border-radius: 6px;
    transition: opacity 0.2s, background 0.2s;
}

.nolies-toast-close:hover {
    opacity: 0.75;
    background: var(--border-color);
}

.nolies-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 0 14px;
    animation: toastProgress linear forwards;
}

.nolies-toast-success .nolies-toast-progress { background: #22c55e; }
.nolies-toast-error   .nolies-toast-progress { background: #ef4444; }
.nolies-toast-warning .nolies-toast-progress { background: #f59e0b; }
.nolies-toast-info    .nolies-toast-progress { background: #3b82f6; }

@keyframes toastProgress {
    from { width: 100%; }
    to   { width: 0%; }
}

/* ========================================
   Custom Confirm / Alert Dialog
   ======================================== */
.nolies-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 16px;
}

.nolies-confirm-overlay.nolies-confirm-visible {
    opacity: 1;
}

.nolies-confirm-dialog {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 36px 28px 26px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    transform: scale(0.88) translateY(28px);
    transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
}

.nolies-confirm-overlay.nolies-confirm-visible .nolies-confirm-dialog {
    transform: scale(1) translateY(0);
}

.nolies-confirm-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
}

.nolies-confirm-icon-wrap.warn  { background: #fef3c7; }
.nolies-confirm-icon-wrap.info  { background: #dbeafe; }
.nolies-confirm-icon-wrap.alert { background: #fee2e2; }

.nolies-confirm-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.nolies-confirm-message {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.68;
    margin-bottom: 28px;
    line-height: 1.65;
}

.nolies-confirm-actions {
    display: flex;
    gap: 12px;
}

.nolies-confirm-btn {
    flex: 1;
    padding: 13px 20px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    font-family: inherit;
}

.nolies-confirm-cancel {
    background: var(--bg-color);
    color: var(--text-color);
}

.nolies-confirm-cancel:hover {
    background: var(--border-color);
}

.nolies-confirm-ok {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.nolies-confirm-ok:hover { opacity: 0.82; }

.nolies-confirm-single-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
    transition: opacity 0.2s;
    font-family: inherit;
}

.nolies-confirm-single-btn:hover { opacity: 0.82; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════ */

.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 64px);
    background: var(--bg-secondary, #f5f5f7);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.dashboard-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--bg-primary, #fff);
    border-right: 1px solid var(--border-color, #e5e7eb);
    display: flex;
    flex-direction: column;
    padding: 24px 0 16px;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.dash-profile-block {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    margin-bottom: 12px;
}

.dash-avatar {
    width: 52px;
    height: 52px;
    background: var(--primary-color, #000);
    color: var(--secondary-color, #fff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.dash-username {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #111);
    margin-bottom: 6px;
}

.dash-link-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-secondary, #f5f5f7);
    border-radius: 8px;
    padding: 6px 10px;
}

.dash-link-label {
    font-size: 12px;
    color: var(--text-secondary, #666);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.dash-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

/* Nav items */
.dash-nav {
    flex: 1;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #555);
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    position: relative;
}

.dash-nav-item:hover {
    background: var(--bg-secondary, #f5f5f7);
    color: var(--text-primary, #111);
}

.dash-nav-item.active {
    background: var(--primary-color, #000);
    color: #fff;
}

.dash-nav-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.dash-badge {
    background: #ef4444;
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    margin-left: auto;
}

.dash-sidebar-footer {
    padding: 12px 20px 0;
    border-top: 1px solid var(--border-color, #e5e7eb);
    margin-top: 12px;
}

.dash-logout-btn {
    width: 100%;
    background: none;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #666);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.dash-logout-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* ── Main content ─────────────────────────────────────────── */
.dashboard-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Mobile top bar */
.dash-mobile-bar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-primary, #fff);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    position: sticky;
    top: 64px;
    z-index: 10;
}

.dash-hamburger,
.dash-copy-mini {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.dash-mobile-title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #111);
}

/* ── View sections ───────────────────────────────────────── */
.dash-view {
    display: none;
    flex-direction: column;
    padding: 28px 32px;
    flex: 1;
}

.dash-view.active {
    display: flex;
}

.dash-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.dash-view-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #111);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-unread-chip {
    background: #ef4444;
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
}

.dash-inbox-actions {
    display: flex;
    gap: 8px;
}

.dash-action-btn {
    background: var(--bg-secondary, #f5f5f7);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #111);
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}

.dash-action-btn:hover {
    background: var(--primary-color, #000);
    color: #fff;
    border-color: var(--primary-color, #000);
}

/* ── Inbox list ──────────────────────────────────────────── */
.inbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.inbox-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--text-secondary, #666);
}

.dash-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color, #e5e7eb);
    border-top-color: var(--primary-color, #000);
    border-radius: 50%;
    animation: dashSpin 0.7s linear infinite;
}

@keyframes dashSpin {
    to { transform: rotate(360deg); }
}

.inbox-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    text-align: center;
    gap: 12px;
}

.inbox-empty-icon {
    font-size: 52px;
}

.inbox-empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #111);
    margin: 0;
}

.inbox-empty-state p {
    font-size: 14px;
    color: var(--text-secondary, #666);
    margin: 0;
    max-width: 300px;
}

.inbox-empty {
    text-align: center;
    color: var(--text-secondary, #666);
    padding: 40px 20px;
}

.inbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.12s;
    position: relative;
}

.inbox-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.inbox-item-unread {
    border-left: 3px solid var(--primary-color, #000);
    background: var(--bg-secondary, #f9f9fb);
}

.inbox-item-left {
    flex-shrink: 0;
}

.inbox-type-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.badge-text {
    background: #e0f2fe;
}

.badge-audio {
    background: #fef3c7;
}

.inbox-item-body {
    flex: 1;
    min-width: 0;
}

.inbox-item-preview {
    font-size: 14px;
    color: var(--text-primary, #111);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 4px;
    font-weight: 400;
}

.inbox-item-unread .inbox-item-preview {
    font-weight: 600;
}

.inbox-item-time {
    font-size: 12px;
    color: var(--text-secondary, #888);
}

.inbox-unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color, #000);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Pagination */
.inbox-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0 0;
}

.page-btn {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    color: var(--text-primary, #111);
}

.page-btn:hover {
    background: var(--primary-color, #000);
    color: #fff;
}

.page-info {
    font-size: 13px;
    color: var(--text-secondary, #666);
}

/* ── Share view ──────────────────────────────────────────── */
.share-card {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 16px;
    padding: 28px 28px 32px;
    max-width: 600px;
}

.share-intro {
    font-size: 15px;
    color: var(--text-secondary, #555);
    margin: 0 0 20px;
}

.share-link-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary, #f5f5f7);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #111);
    word-break: break-all;
}

.share-link-box span {
    flex: 1;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.share-social-btn {
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: inherit;
}

.share-social-btn:hover {
    opacity: 0.85;
}

.share-whatsapp { background: #25d366; color: #fff; }
.share-twitter  { background: #1d9bf0; color: #fff; }
.share-telegram { background: #0088cc; color: #fff; }
.share-copy     { background: var(--primary-color, #000); color: #fff; }

.share-tip {
    font-size: 13px;
    color: var(--text-secondary, #777);
    background: var(--bg-secondary, #f5f5f7);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0;
}

/* ── Cards / Settings placeholders ─────────────────────────── */
.cards-placeholder,
.settings-placeholder {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 16px;
    padding: 60px 32px;
    text-align: center;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cards-placeholder-icon {
    font-size: 52px;
}

.cards-placeholder h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #111);
    margin: 0;
}

.cards-placeholder p,
.settings-placeholder p {
    font-size: 14px;
    color: var(--text-secondary, #666);
    max-width: 340px;
    margin: 0;
}

/* ── Message modal ───────────────────────────────────────── */
.msg-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.msg-modal-overlay.active {
    display: flex;
}

.msg-modal-card {
    background: var(--bg-primary, #fff);
    border-radius: 20px;
    padding: 28px 28px 24px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    animation: modalPop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

.msg-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: var(--bg-secondary, #f5f5f7);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #555);
    transition: background 0.15s;
}

.msg-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
}

.msg-modal-type {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #666);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.msg-modal-body {
    min-height: 80px;
    margin-bottom: 14px;
}

.msg-modal-text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary, #111);
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.msg-audio-player {
    width: 100%;
    border-radius: 8px;
}

.msg-modal-time {
    font-size: 12px;
    color: var(--text-secondary, #999);
    margin-bottom: 18px;
}

.msg-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .dashboard-sidebar {
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100% - 64px);
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    }

    .dashboard-sidebar.open {
        transform: translateX(0);
    }

    .dash-mobile-bar {
        display: flex;
    }

    .dash-view {
        padding: 20px 16px;
    }

    .dash-view-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .share-card {
        padding: 20px 16px 24px;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        grid-template-columns: 1fr;
    }

    .msg-modal-card {
        padding: 22px 18px 18px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SMART APP BANNER (user-sender.php)
   ═══════════════════════════════════════════════════════════ */
.ngl-app-banner {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e5e5ea;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.ngl-app-banner-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    max-width: 480px;
    margin: 0 auto;
}
.ngl-app-banner-logo {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900; color: #fff;
    flex-shrink: 0;
}
.ngl-app-banner-text {
    flex: 1;
    display: flex; flex-direction: column; gap: 1px;
}
.ngl-app-banner-text strong { font-size: 13px; color: #111; }
.ngl-app-banner-text span   { font-size: 11px; color: #888; }
.ngl-app-banner-btn {
    padding: 7px 16px;
    background: #000; color: #fff;
    border-radius: 20px; border: none;
    font-size: 13px; font-weight: 700;
    text-decoration: none; cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}
.ngl-app-banner-btn:hover { opacity: .8; }
.ngl-app-banner-close {
    background: none; border: none; font-size: 16px;
    color: #aaa; cursor: pointer; padding: 4px;
}
@media (prefers-color-scheme: dark) {
    .ngl-app-banner { background: #1c1c1e; border-color: #2c2c2e; }
    .ngl-app-banner-logo { background: #fff; color: #000; }
    .ngl-app-banner-text strong { color: #f0f0f0; }
    .ngl-app-banner-btn { background: #fff; color: #000; }
}

/* ═══════════════════════════════════════════════════════════
   NGL-STYLE SENDER PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Page shell */
.ngl-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--bg, #f5f5f7);
}

/* ── Step containers (animated in/out) */
.ngl-step {
    width: 100%;
    max-width: 420px;
    animation: nglFadeUp 0.35s ease both;
}

@keyframes nglFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo mark */
.ngl-logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
}

.ngl-logo-mark span {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: var(--font-heading, inherit);
}

/* ── Headings */
.ngl-heading {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: var(--text-primary, #111);
}

.ngl-sub {
    font-size: 14px;
    color: var(--text-muted, #888);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ── Link entry form */
.ngl-link-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ngl-link-input-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.ngl-link-input-row:focus-within {
    border-color: #000;
}

.ngl-link-prefix {
    padding: 0 10px 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    white-space: nowrap;
    user-select: none;
}

.ngl-link-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 14px 14px 0;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary, #111);
}

.ngl-link-input::placeholder {
    font-weight: 400;
    color: #bbb;
}

.ngl-go-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.2px;
}

.ngl-go-btn:hover { opacity: 0.88; }
.ngl-go-btn:active { transform: scale(0.98); }

.ngl-link-error {
    color: #e53e3e;
    font-size: 13px;
    text-align: center;
    margin-top: -4px;
    min-height: 18px;
}

/* ── Recipient header (step 2) */
.ngl-recipient {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.ngl-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #555;
    flex-shrink: 0;
}

.ngl-recipient-info {
    flex: 1;
    min-width: 0;
}

.ngl-recipient-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #111);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ngl-recipient-handle {
    font-size: 13px;
    color: var(--text-muted, #888);
}

/* ── Message type tabs */
.ngl-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.ngl-type-tab {
    flex: 1;
    padding: 10px 8px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ngl-type-tab.active {
    border-color: #000;
    color: #000;
    background: #f8f8f8;
}

/* ── Panels */
.ngl-panel {
    display: none;
    animation: nglFadeUp 0.2s ease both;
}

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

/* ── Text panel */
.ngl-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    resize: none;
    outline: none;
    background: #fff;
    color: var(--text-primary, #111);
    transition: border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    min-height: 120px;
}

.ngl-textarea:focus {
    border-color: #000;
}

.ngl-char-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    font-size: 12px;
    color: #aaa;
}

/* ── Send button */
.ngl-send-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.ngl-send-btn:hover { opacity: 0.88; }
.ngl-send-btn:active { transform: scale(0.98); }
.ngl-send-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Voice recorder panel */
.ngl-recorder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 16px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.ngl-rec-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ngl-rec-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ff3b3b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 18px rgba(255,59,59,.35);
}

.ngl-rec-circle:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 24px rgba(255,59,59,.45);
}

.ngl-rec-circle svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.ngl-rec-circle.recording {
    animation: nglPulse 1s ease-in-out infinite;
    background: #c00;
}

@keyframes nglPulse {
    0%   { box-shadow: 0 0 0 0 rgba(192,0,0,.5); }
    70%  { box-shadow: 0 0 0 14px rgba(192,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(192,0,0,0); }
}

.ngl-rec-time {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary, #111);
    font-variant-numeric: tabular-nums;
    min-width: 80px;
}

.ngl-rec-label {
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

/* Waveform bars */
.ngl-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 36px;
}

.ngl-bar {
    width: 4px;
    border-radius: 2px;
    background: #ccc;
    transition: height 0.1s ease;
}

/* Audio playback preview */
.ngl-audio-preview {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 10px 14px;
}

.ngl-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.ngl-play-btn:hover { opacity: 0.8; }

.ngl-play-btn svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.ngl-audio-track {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #ddd;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.ngl-audio-fill {
    height: 100%;
    background: #000;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Done / success step */
.ngl-done-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: nglBounceIn 0.5s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes nglBounceIn {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ngl-done-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.ngl-done-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.ngl-done-primary {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ngl-done-primary:hover { opacity: 0.88; }

.ngl-done-secondary {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    background: transparent;
    color: var(--text-primary, #111);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s;
}

.ngl-done-secondary:hover { border-color: #aaa; }

.ngl-back-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.ngl-back-link:hover { color: #555; }

/* ── Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .ngl-wrap { background: #0a0a0a; }
    .ngl-heading { color: #f0f0f0; }
    .ngl-sub { color: #666; }
    .ngl-logo-mark { background: #fff; }
    .ngl-logo-mark span { color: #000; }
    .ngl-link-input-row,
    .ngl-recipient,
    .ngl-textarea,
    .ngl-recorder { background: #1a1a1a; border-color: #2a2a2a; }
    .ngl-link-input-row:focus-within,
    .ngl-textarea:focus { border-color: #fff; }
    .ngl-link-input,
    .ngl-textarea { color: #f0f0f0; }
    .ngl-recipient-name { color: #f0f0f0; }
    .ngl-type-tab { background: #1a1a1a; border-color: #2a2a2a; color: #666; }
    .ngl-type-tab.active { border-color: #fff; color: #fff; background: #222; }
    .ngl-go-btn,
    .ngl-send-btn,
    .ngl-done-primary { background: #fff; color: #000; }
    .ngl-done-secondary { border-color: #2a2a2a; color: #f0f0f0; }
    .ngl-done-icon { background: #fff; }
    .ngl-done-icon svg { fill: #000; }
    .ngl-audio-preview { background: #1a1a1a; }
    .ngl-audio-fill { background: #fff; }
    .ngl-play-btn { background: #fff; }
    .ngl-play-btn svg { fill: #000; }
}

/* ── New sender page elements ─────────────────────────────────────────────── */
.ngl-avatar-initial {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff, #ff6584);
    color: #fff; font-size: 22px; font-weight: 800; flex-shrink: 0;
}
.ngl-recipient-badge { margin-top: 4px; font-size: 11px; color: #888; display: flex; align-items: center; gap: 4px; }
.ngl-online-dot { display: inline-block; width: 6px; height: 6px; background: #34c759; border-radius: 50%; }
.ngl-mode-notice { font-size: 12px; color: #888; text-align: center; background: rgba(0,0,0,.04); border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.ngl-hints-toggle { width: 100%; text-align: left; padding: 10px 14px; background: rgba(0,0,0,.04); border: 1.5px solid #e5e5ea; border-radius: 12px; cursor: pointer; font-size: 13px; color: #555; margin: 8px 0 0; transition: border-color .2s; }
.ngl-hints-toggle:hover { border-color: #aaa; }
.ngl-hints-toggle.active { border-color: #333; color: #111; }
.ngl-hints-panel { border: 1.5px solid #e5e5ea; border-radius: 14px; padding: 14px; margin: 8px 0; }
.ngl-hints-header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.ngl-hints-shuffle { background: none; border: 1px solid #e5e5ea; border-radius: 8px; font-size: 12px; padding: 4px 10px; cursor: pointer; color: #555; }
.ngl-hints-shuffle:hover { border-color: #333; }
.ngl-hint-category { margin-bottom: 12px; }
.ngl-hint-cat-label { font-size: 12px; font-weight: 700; color: #555; margin-bottom: 6px; }
.ngl-hint-chip { padding: 10px 12px; margin-bottom: 6px; border-radius: 10px; background: rgba(0,0,0,.04); border: 1px solid #e5e5ea; font-size: 12px; color: #333; cursor: pointer; line-height: 1.5; transition: background .15s; }
.ngl-hint-chip:hover { background: rgba(0,0,0,.08); }
.ngl-audio-player { background: rgba(0,0,0,.03); border: 1.5px solid #e5e5ea; border-radius: 14px; padding: 16px; margin-top: 8px; }
.ngl-player-track { position: relative; height: 6px; background: #e5e5ea; border-radius: 3px; cursor: pointer; margin-bottom: 6px; }
.ngl-player-fill { position: absolute; left: 0; top: 0; height: 100%; background: #111; border-radius: 3px; width: 0; }
.ngl-player-thumb { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 14px; height: 14px; background: #111; border-radius: 50%; left: 0; }
.ngl-player-times { display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-bottom: 12px; }
.ngl-player-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 16px; }
.ngl-player-ctrl { background: rgba(0,0,0,.06); border: none; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; }
.ngl-player-ctrl:hover { background: rgba(0,0,0,.12); }
.ngl-player-play { width: 52px; height: 52px; border-radius: 50%; background: #111; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ngl-player-play svg { fill: #fff; width: 26px; height: 26px; }
.ngl-player-play:hover { opacity: .85; }
.ngl-trim-section { margin-bottom: 14px; }
.ngl-trim-label { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 8px; }
.ngl-trim-rail { position: relative; height: 8px; background: #e5e5ea; border-radius: 4px; margin: 12px 0; }
.ngl-trim-active { position: absolute; top: 0; height: 100%; background: #6c63ff; border-radius: 4px; left: 0; width: 100%; }
.ngl-trim-handle { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 20px; height: 24px; background: #6c63ff; border-radius: 4px; cursor: ew-resize; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(108,99,255,.4); }
.ngl-trim-start { left: 0; } .ngl-trim-end { left: 100%; }
.ngl-rec-timer { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0; }
.ngl-rec-dot { width: 8px; height: 8px; background: red; border-radius: 50%; animation: ngl-pulse .7s ease-in-out infinite; }
.ngl-rec-max { font-size: 12px; color: #aaa; }
.ngl-rec-actions { display: flex; justify-content: center; margin: 12px 0; }
.ngl-audio-actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.ngl-retake-btn { flex: 0 0 auto; padding: 10px 16px; background: rgba(255,149,0,.1); border: 1.5px solid rgba(255,149,0,.4); border-radius: 10px; font-size: 13px; font-weight: 600; color: #e67e00; cursor: pointer; }
.ngl-retake-btn:hover { background: rgba(255,149,0,.18); }
.ngl-send-btn-audio { flex: 1; }
.ngl-anon-note { font-size: 11px; text-align: center; color: #aaa; margin-top: 8px; }
.ngl-anon-footer { font-size: 12px; text-align: center; opacity: .4; margin-top: 14px; }
.ngl-notice { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 13px; z-index: 9999; box-shadow: 0 4px 20px rgba(0,0,0,.25); max-width: 320px; text-align: center; display: none; }
@keyframes ngl-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.3); } }
@media (prefers-color-scheme: dark) {
    .ngl-mode-notice { background: rgba(255,255,255,.06); color: #888; }
    .ngl-hints-toggle { background: rgba(255,255,255,.06); border-color: #2c2c2e; color: #aaa; }
    .ngl-hints-toggle.active { border-color: #fff; color: #f0f0f0; }
    .ngl-hints-panel { border-color: #2c2c2e; background: #1a1a1a; }
    .ngl-hints-shuffle { border-color: #2c2c2e; color: #aaa; }
    .ngl-hint-chip { background: rgba(255,255,255,.06); border-color: #2c2c2e; color: #ddd; }
    .ngl-hint-chip:hover { background: rgba(255,255,255,.12); }
    .ngl-audio-player { background: #1a1a1a; border-color: #2c2c2e; }
    .ngl-player-track { background: #333; } .ngl-player-fill { background: #fff; } .ngl-player-thumb { background: #fff; }
    .ngl-player-ctrl { background: rgba(255,255,255,.1); color: #ddd; }
    .ngl-player-ctrl:hover { background: rgba(255,255,255,.2); }
    .ngl-player-play { background: #fff; } .ngl-player-play svg { fill: #000; }
    .ngl-trim-rail { background: #333; } .ngl-trim-handle { border-color: #0a0a0a; }
    .ngl-notice { background: #f0f0f0; color: #111; }
}

/* ── Responsive */
@media (max-width: 480px) {
    .ngl-heading { font-size: 19px; }
    .ngl-rec-circle { width: 60px; height: 60px; }
    .ngl-rec-time { font-size: 22px; }
}

/* ══════════════════════════════════════════════════════════════
   Download / Get-the-App page  (dl- prefix)
══════════════════════════════════════════════════════════════ */
.dl-shell {
    min-height: calc(100dvh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 48px;
    background: var(--bg-secondary, #f4f6fb);
}
.dl-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.dl-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-color, #6c63ff);
}
.dl-logo span {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.dl-text { display: flex; flex-direction: column; gap: 8px; }
.dl-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary, #1a202c);
    margin: 0;
}
.dl-sub {
    font-size: 15px;
    color: var(--text-secondary, #4a5568);
    line-height: 1.6;
    margin: 0;
}
.dl-username {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--bg-secondary, #f4f6fb);
    border: 1px solid var(--border-color, #e2e8f0);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #4a5568);
}
.dl-username svg { fill: currentColor; flex-shrink: 0; }
.dl-steps { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
.dl-step { display: flex; align-items: center; gap: 14px; }
.dl-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-color, #6c63ff);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dl-step p { font-size: 14px; color: var(--text-secondary, #4a5568); margin: 0; }
.dl-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.dl-store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-family: inherit;
    transition: transform .12s, opacity .15s;
}
.dl-store-btn:hover { transform: translateY(-2px); opacity: .92; }
.dl-apple { background: #000; color: #fff; }
.dl-google { background: #fff; color: #1a1a2e; border: 1.5px solid #e2e8f0; }
.dl-store-icon { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.dl-store-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.dl-store-label { font-size: 11px; font-weight: 400; opacity: .8; }
.dl-store-name { font-size: 17px; font-weight: 700; line-height: 1; }
.dl-share-hint {
    font-size: 13px;
    color: var(--text-secondary, #4a5568);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}
.dl-link-text { color: var(--accent-color, #6c63ff); }
.dl-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: transparent;
    color: var(--text-secondary, #4a5568);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s, color .15s;
}
.dl-copy-btn svg { fill: currentColor; }
.dl-copy-btn:hover { background: var(--bg-secondary, #f4f6fb); border-color: var(--accent-color, #6c63ff); color: var(--accent-color, #6c63ff); }
.dl-logout {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--text-tertiary, #718096);
    cursor: pointer;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .15s;
}
.dl-logout:hover { color: var(--text-secondary, #4a5568); text-decoration: underline; }

@media (prefers-color-scheme: dark) {
    .dl-shell  { background: #0f1117; }
    .dl-card   { background: #1a1d27; border-color: #2d3148; box-shadow: 0 8px 32px rgba(0,0,0,.40); }
    .dl-heading { color: #f0f2f8; }
    .dl-sub, .dl-step p { color: #b0b8d0; }
    .dl-username { background: #252836; border-color: #2d3148; color: #b0b8d0; }
    .dl-google  { background: #1a1d27; color: #f0f2f8; border-color: #2d3148; }
    .dl-share-hint { color: #717a94; }
    .dl-copy-btn { border-color: #2d3148; color: #b0b8d0; }
    .dl-copy-btn:hover { background: #252836; }
    .dl-logout  { color: #717a94; }
}
@media (max-width: 480px) {
    .dl-card    { padding: 28px 18px 22px; border-radius: 14px; }
    .dl-heading { font-size: 22px; }
    .dl-store-name { font-size: 15px; }
}
