/* ==========================================================================
   AiXpeed Premium Design System & Stylesheet
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-dark: #070a13;
    --bg-deep: #03050a;
    --card-bg: rgba(15, 23, 42, 0.4);
    --card-bg-light: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-border-glow: rgba(6, 182, 212, 0.2);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --primary: #06b6d4;
    --primary-hover: #0891b2;
    --primary-glow: rgba(6, 182, 212, 0.4);
    
    --secondary: #3b82f6;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-dark: #f1f5f9;
    --bg-deep: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-bg-light: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-border-glow: rgba(6, 182, 212, 0.3);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #94a3b8;
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--card-bg-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- Background Ambient Glows --- */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-dark);
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.glow-blue {
    top: -10%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
}

.glow-purple {
    bottom: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* --- Premium Typography Utilities --- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-cyan { color: var(--primary); }
.text-purple { color: var(--accent-purple); }
.text-pink { color: var(--accent-pink); }
.text-orange { color: var(--accent-orange); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Glassmorphic Panels --- */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
}

.glass-panel-light {
    background: var(--card-bg-light);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.glow-hover:hover {
    transform: translateY(-4px);
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 40px -10px rgba(6, 182, 212, 0.15);
}

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-deep);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.02);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary) 100%);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border-color: var(--card-border-glow);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-clear:hover {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.hidden {
    display: none !important;
}

/* --- Header & Navigation Bar --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 19, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-normal);
}

.header-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.logo-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* --- Hero Section Styles --- */
.hero-section {
    padding: 6rem 0 4rem 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Terminal Visual */
.hero-dashboard-preview {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.dashboard-header {
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

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

.dot.red { background: var(--error); }
.dot.yellow { background: var(--warning); }
.dot.green { background: var(--success); }

.dashboard-title {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-family: monospace;
}

.dashboard-body {
    padding: 20px;
    font-family: monospace;
    font-size: 0.9rem;
    background: rgba(7, 10, 19, 0.4);
}

.terminal-row {
    margin-bottom: 10px;
}

.term-prompt {
    color: var(--accent-pink);
}

.term-cmd {
    color: var(--text-main);
}

.term-success {
    color: var(--success);
}

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

.code-block pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 6px;
    color: var(--text-main);
    border: 1px solid var(--card-border);
    margin: 5px 0 15px 0;
    overflow-x: auto;
}

.j-key { color: var(--primary); }
.j-val { color: var(--warning); }

.dashboard-interactive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.mini-card {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-card-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mini-card h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.mini-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Section Headers --- */
.section-header {
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

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

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Apps Grid Section --- */
.apps-section {
    padding: 5rem 0;
    border-top: 1px solid var(--card-border);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.app-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-badge {
    position: absolute !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    left: auto !important;
    width: max-content !important;
    z-index: 20 !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-icon-sm {
    width: 12px;
    height: 12px;
}

.production-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.beta-badge {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
}

.draft-badge {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.app-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gradient-blue { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.gradient-purple { background: linear-gradient(135deg, #a855f7, #6366f1); }
.gradient-pink { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #14b8a6); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #ec4899); }

.app-card-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.app-name {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.app-package {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: monospace;
}

.app-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.app-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.youtube-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.youtube-facade:hover img {
    opacity: 1;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 40px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.play-btn-overlay i {
    width: 24px;
    height: 24px;
}

.youtube-facade:hover .play-btn-overlay {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.05);
}

/* --- Featured App Showcase Layout --- */
.app-card.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.featured-app-content {
    width: 100%;
}

.featured-app-media {
    width: 100%;
}

@media (min-width: 992px) {
    .app-card.featured {
        flex-direction: row;
        align-items: center;
        gap: 3.5rem;
        padding: 3rem;
    }
    
    .featured-app-content {
        flex: 1.1;
    }
    
    .featured-app-media {
        flex: 0.9;
    }
}

.app-features li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-main);
}

.check-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
    margin-right: 8px;
}

/* --- Web Utilities Workspace Styles --- */
.utilities-section {
    padding: 5rem 0;
    border-top: 1px solid var(--card-border);
}

.utility-workspace {
    width: 100%;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--card-border);
    background: rgba(15, 23, 42, 0.4);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.25rem 1rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(6, 182, 212, 0.05);
}

.tab-icon {
    width: 18px;
    height: 18px;
}

.tabs-body {
    padding: 2.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

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

/* --- TAB 1: Image & Doc Converter Styles --- */
.converter-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: flex-start;
}

.converter-upload-area {
    border: 2px dashed var(--card-border-glow);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    background: rgba(6, 182, 212, 0.02);
    transition: var(--transition-normal);
    position: relative;
}

.converter-upload-area:hover, .converter-upload-area.drag-over {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1) inset;
}

.file-hidden {
    display: none;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.upload-prompt h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.upload-prompt p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.upload-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--card-bg-light);
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.file-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.file-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.converter-settings {
    padding: 2rem;
}

.settings-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.input-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-wrap label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.input-row input, .input-wrap input[type="number"], .input-wrap textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.input-row input:focus, .input-wrap input[type="number"]:focus, .input-wrap textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.select-control {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.select-control:focus {
    outline: none;
    border-color: var(--primary);
}

.aspect-checkbox-wrap {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.aspect-checkbox-wrap label {
    cursor: pointer;
}

/* Custom Range Slider */
.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label-row label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.slider-label-row span, .slider-label-row input {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.slider-label-row input {
    width: 100px;
    text-align: right;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.slider-control {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: var(--card-bg-light);
    outline: none;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition-fast);
}

.slider-control::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* --- TAB 2: EMI Calculator Styles --- */
.emi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.emi-inputs {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emi-input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tenure-switch-wrap {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--card-border);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.tenure-switch-wrap .label-span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.radio-btn-group {
    display: flex;
    background: rgba(0,0,0,0.2);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.radio-hidden {
    display: none;
}

.radio-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.radio-btn:hover {
    color: var(--text-main);
}

.radio-btn.active {
    background: var(--primary);
    color: var(--bg-deep);
}

.emi-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.res-card {
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.res-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.res-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

#emiVal {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.chart-wrapper {
    padding: 1.5rem 2rem;
    flex-grow: 1;
}

.chart-wrapper h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.chart-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
}

#emiPieChart {
    transform: rotate(-90deg);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-dot.principal {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.legend-dot.interest {
    background: var(--accent-purple);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.legend-name {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-pct {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

/* Amortization Schedule Table */
.schedule-section {
    padding: 2rem;
}

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

.table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: right;
}

.schedule-table th, .schedule-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--card-border);
}

.schedule-table th {
    background: rgba(15, 23, 42, 0.9);
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.schedule-table th:first-child, .schedule-table td:first-child {
    text-align: left;
}

.schedule-table tbody tr {
    transition: var(--transition-fast);
}

.schedule-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* --- TAB 3: Unit Converter Styles --- */
.unit-converter-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2rem;
    align-items: flex-start;
}

.unit-selector-card {
    padding: 1.5rem;
}

.unit-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.unit-tab-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    text-align: left;
}

.unit-tab-btn:hover {
    background: rgba(255,255,255,0.02);
    color: var(--text-main);
}

.unit-tab-btn.active {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
}

.unit-inputs-card {
    padding: 2rem;
}

.unit-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.unit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.unit-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.unit-field input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.unit-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* --- Contact & Newsletter Section --- */
.contact-section {
    padding: 6rem 0;
    border-top: 1px solid var(--card-border);
}

.contact-card {
    padding: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.info-item a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.info-item a:hover {
    color: var(--primary);
}

.contact-form-block form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-block textarea {
    resize: none;
}

/* --- Footer Styles --- */
.main-footer {
    background: #03050a;
    border-top: 1px solid var(--card-border);
    padding: 4rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.footer-brand .logo-area {
    margin-bottom: 1.25rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 280px;
}

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

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.footer-meta p {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    color: var(--primary);
    transform: scale(1.15);
}

/* --- Modals Backdrop & Modal Cards --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.modal-card {
    width: 100%;
    max-width: 520px;
    padding: 2.25rem;
    position: relative;
    border-color: rgba(255, 255, 255, 0.08);
}

.animate-scale {
    transform: scale(1);
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h3 {
    font-size: 1.3rem;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-tip {
    font-size: 0.75rem;
    color: var(--text-dark);
}

.checkbox-wrap {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.checkbox-wrap input, .aspect-checkbox-wrap input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-wrap label {
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* Privacy Modal Specifics */
.privacy-modal {
    max-width: 800px;
}

.scrollable-modal {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.privacy-tabs {
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.2) !important;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.privacy-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 6px;
}

.privacy-tab-btn:hover {
    color: var(--text-main);
}

.privacy-tab-btn.active {
    background: var(--primary);
    color: var(--bg-deep);
}

.policy-content {
    animation: fadeIn var(--transition-normal);
}

.policy-content h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.policy-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.policy-content h5 {
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem 0;
    font-family: var(--font-heading);
    color: var(--primary);
}

.policy-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* --- Responsive Adaptability (Mobile-First Elements) --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .converter-wrapper, .emi-grid, .unit-converter-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-meta {
        grid-column: span 2;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(7, 10, 19, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--card-border);
        gap: 1.25rem;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown var(--transition-normal);
    }
    
    @keyframes slideDown {
        from { transform: translateY(-10px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .menu-toggle {
        display: block;
    }
    
    .tabs-body {
        padding: 1.5rem;
    }
    
    .result-cards {
        grid-template-columns: 1fr;
    }
    
    .unit-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-meta {
        grid-column: span 1;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

/* --- Enhanced Unit Tabs Grid Layout (10 domains) --- */
.unit-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.unit-tab-btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
    gap: 6px;
}

.unit-tab-btn i {
    width: 14px;
    height: 14px;
}

/* --- Currency Converter Special Styles --- */
.currency-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 8px;
}

.currency-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-updated i {
    width: 14px;
    height: 14px;
    color: var(--success);
}

.currency-refresh-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.currency-refresh-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
}

.currency-refresh-btn i {
    width: 12px;
    height: 12px;
}

.currency-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.currency-loading .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--card-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem auto;
}

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

.currency-error {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--error);
    font-size: 0.9rem;
}

.currency-error i {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.currency-error p {
    margin-bottom: 1rem;
}

.currency-flag {
    font-size: 1.1rem;
    margin-right: 4px;
}

/* --- Responsive: Unit tabs on mobile --- */
@media (max-width: 480px) {
    .unit-tabs {
        grid-template-columns: 1fr;
    }
}

.brand-logo-img { height: 80px; width: auto; max-width: 400px; object-fit: contain; }

/* --- Modern UI Additions --- */
/* 1. Loader */
#globalLoader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}
#globalLoader.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-glow {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 40px var(--primary);
    animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
    from { transform: scale(0.8); opacity: 0.5; }
    to { transform: scale(1.2); opacity: 1; }
}

/* 2. Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

/* 4. Spotlight Hover for Cards */
.app-card {
    position: relative;
    --mouse-x: 50%;
    --mouse-y: 50%;
}
.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(6, 182, 212, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}
.app-card:hover::before {
    opacity: 1;
}
.app-card > * {
    position: relative;
    z-index: 2;
}

/* 5. Chat Widget */
#chatWidget {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.chat-fab {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-deep);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; justify-content: center;
}
.chat-fab:hover {
    transform: scale(1.1);
}
.chat-panel {
    width: 320px;
    height: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-panel.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}
.chat-header {
    padding: 15px; background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--card-border);
    display: flex; justify-content: space-between; align-items: center;
}
.chat-messages {
    flex: 1; padding: 15px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
    max-width: 80%; padding: 10px 12px; border-radius: 12px; font-size: 0.9rem;
}
.msg-ai {
    background: rgba(6, 182, 212, 0.15); align-self: flex-start;
    border-top-left-radius: 0; border: 1px solid var(--card-border-glow);
}
.msg-user {
    background: var(--primary); color: var(--bg-deep); align-self: flex-end;
    border-top-right-radius: 0;
}
.chat-input {
    display: flex; padding: 10px; border-top: 1px solid var(--card-border);
}
.chat-input input {
    flex: 1; background: transparent; border: none; color: var(--text-main);
    padding: 8px; outline: none; font-family: var(--font-body);
}
.chat-input button {
    background: transparent; border: none; color: var(--primary);
    cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center;
}

/* 6. Testimonials Marquee */
.testimonials-section {
    padding: 5rem 0; overflow: hidden;
    border-top: 1px solid var(--card-border);
}
.marquee-container {
    display: flex; width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee-container:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.review-card {
    width: 350px; padding: 1.5rem; margin: 0 15px;
    flex-shrink: 0;
}
.review-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--card-bg-light); display: flex; align-items: center; justify-content: center;
}
.review-stars {
    color: var(--warning); font-size: 0.8rem; margin-bottom: 10px; display: flex; gap: 2px;
}
.review-stars i { width: 12px; height: 12px; fill: currentColor; }
.review-text {
    font-size: 0.9rem; color: var(--text-muted); font-style: italic;
}

/* 7. Screenshot Modal */
#screenshotModal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(10px);
}
#screenshotModal.active {
    opacity: 1; pointer-events: auto;
}
.screenshot-content {
    position: relative;
    width: 90%; max-width: 800px;
    height: 80vh;
    display: flex; align-items: center; justify-content: center;
}
.screenshot-img {
    max-width: 100%; max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}
.modal-close-btn {
    position: absolute;
    top: -40px; right: 0;
    background: transparent; border: none; color: white;
    cursor: pointer;
}
.modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); border: none; color: white;
    width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.modal-nav:hover { background: var(--primary); }
.nav-prev { left: -60px; }
.nav-next { right: -60px; }

/* 8. GoToMarket Custom Styles */
.gtm-featured-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.gtm-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.gtm-features li {
    align-items: flex-start;
}

.gtm-feature-desc {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.gtm-icon-gps { color: #10B981; margin-top: 3px; }
.gtm-icon-entry { color: #3b82f6; margin-top: 3px; }
.gtm-icon-reports { color: #a855f7; margin-top: 3px; }
.gtm-icon-profile { color: #f97316; margin-top: 3px; }

.gtm-cta-btn {
    background: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    border: none;
}
.gtm-cta-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #0D9488 100%);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.gtm-hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gtm-phone-mockup {
    width: 100%;
    max-width: 320px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    border: 6px solid #1e293b;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.gtm-phone-header {
    background: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    color: white;
    padding: 10px 15px;
}

.gtm-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gtm-status-icons {
    display: flex;
    gap: 5px;
}

.gtm-app-bar {
    display: flex;
    flex-direction: column;
}

.gtm-app-bar strong {
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.gtm-app-bar-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.gtm-phone-body {
    padding: 15px;
    flex: 1;
    background: #0b1120;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gtm-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.gtm-stat-mini {
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin: 0 4px;
}
.gtm-stat-mini:first-child { margin-left: 0; }
.gtm-stat-mini:last-child { margin-right: 0; }

.gtm-stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10B981;
}

.gtm-stat-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.gtm-store-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gtm-store-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gtm-store-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gtm-store-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.gtm-store-addr {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.gtm-store-tag {
    font-size: 0.65rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.gtm-store-item.pending {
    opacity: 0.7;
}

.gtm-store-tag.pending-tag {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}
