@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@200..800&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');


:root {
    /* Brand */
    --primary-color: #0b4de8;        /* Balloon blue */
    --primary-dark: #083bc0;         /* Shadow blue */
    --secondary-color: #ffd400;      /* Main yellow */
    --accent-color: #ffc23d;         /* Warm accent */

    /* Semantic */
    --success-color: #16a34a;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;
    --info-color: #0284c7;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f6f9ff;         /* Blue-tinted white */
    --bg-tertiary: #eaf0ff;          /* Subtle blue surface */
    --bg-card: #ffffff;

    /* Text */
    --text-primary: #0a1020;          /* Near-black, not pure */
    --text-secondary: #334155;
    --text-muted: #64748b;

    /* Borders */
    --border-color: #dbe4ff;
    --border-hover: #b6c8ff;

    /* Shadows (soft, directional like the image) */
    --shadow-sm: 0 1px 2px rgba(11, 77, 232, 0.08);
    --shadow-md: 0 6px 14px rgba(11, 77, 232, 0.12);
    --shadow-lg: 0 16px 32px rgba(11, 77, 232, 0.18);
    --shadow-xl: 0 32px 64px rgba(11, 77, 232, 0.22);

    /* Gradients (matching the logo depth) */
    --gradient-primary: linear-gradient(
        135deg,
        #0b4de8 0%,
        #083bc0 100%
    );

    --gradient-secondary: linear-gradient(
        135deg,
        #ffd400 0%,
        #ffc23d 100%
    );

    /* Motion */
    --transition-fast: 120ms ease;
    --transition-normal: 240ms ease;
    --transition-slow: 400ms ease;

    /* Radius (rounded, friendly) */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
}


[data-theme="dark"] {
    /* Brand & Actions */
    --primary-color: #4f8cff;
    --primary-dark: #2563eb;
    --secondary-color: #2dd4bf;
    --accent-color: #fde047;

    /* Semantic */
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #f87171;
    --info-color: #38bdf8;

    /* Surface System */
    --bg-primary: #0b0d10;   /* App shell */
    --bg-secondary: #111318;
    --bg-tertiary: #1a1d23;
    --bg-card: #14161b;

    /* Text */
    --text-primary: #e6e7eb;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Borders */
    --border-color: #1f2933;
    --border-hover: #2c3440;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.55);
    --shadow-md: 0 6px 16px rgba(0,0,0,0.65);
    --shadow-lg: 0 18px 40px rgba(0,0,0,0.75);
    --shadow-xl: 0 32px 64px rgba(0,0,0,0.9);

    /* DARK MODE GRADIENTS — DEPTH, NOT COLOR */
    --gradient-primary: linear-gradient(
        180deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.02) 100%
    );

    --gradient-secondary: linear-gradient(
        180deg,
        rgba(255,255,255,0.04) 0%,
        rgba(255,255,255,0.01) 100%
    );
}


/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Zain','Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-normal);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Navbar */
.navbar {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-brand img {
    width: 40px;
    height: 40px;

}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    width: 48px;
    height: 36px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--border-hover);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.275rem;
    transition: all var(--transition-fast);
}

.theme-toggle .fa-sun {
    left: 6px;
    color: var(--warning-color);
    opacity: 1;
}

.theme-toggle .fa-moon {
    right: 6px;
    color: var(--text-muted);
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 1;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.logout-btn {
    color: var(--danger-color) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Main Header */
.main-header {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0V100H1000V0Q500,100 0,0Z" fill="%23ffffff10"/></svg>');
    background-size: 100% 100%;
}

.main-header .container {
    position: relative;
    z-index: 1;
}

.main-header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
    text-decoration: none;
}

.btn i {
    font-size: 1.125rem;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #0da271;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

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

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.alert-info {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--info-color);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

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

.table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.stat-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.stat-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.stat-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Progress Bar */
.progress {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

/* API Key Display */
.api-key-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1rem 0;
}

.api-key {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    word-break: break-all;
    margin-bottom: 1rem;
}

/* Demo Section */
.demo-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.demo-container {
    /*max-width: 600px;*/
    margin: 0 auto;
}

.domain-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.domain-input-group .form-control {
    flex: 1;
}

.logo-preview {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.logo-preview img {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
}

.logo-placeholder {
    /*width: 200px;*/
    /*height: 100px;*/
    /*background: var(--gradient-primary);*/
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

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

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

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.pricing-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Footer */
.main-footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

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

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

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

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

.d-none { display: none; }
.d-flex { display: flex; }

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .header-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .main-header {
        padding: 4rem 0;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
}


/* ============================================
   CODE TABS - Premium Developer Experience
   ============================================ */
.code-tabs {
    margin-top: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
}

.tab-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.tab-button {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    font-family: var(--font-mono, monospace);
}

.tab-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: opacity var(--transition-fast);
    border-radius: inherit;
}

.tab-button:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.tab-button:hover::before {
    opacity: 0.2;
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    transform: translateY(0);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: tabPulse 2s infinite;
}

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

.tab-content {
    display: none;
    animation: fadeIn var(--transition-normal) ease-out;
}

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

.tab-content.active {
    display: block;
}

/* ============================================
   LOGO PREVIEW - Premium Display
   ============================================ */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.logo-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(var(--primary-color, 129, 140, 248), 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(var(--secondary-color, 167, 139, 250), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.logo-placeholder {
    text-align: center;
    color: var(--text-secondary);
    z-index: 1;
}

.logo-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.logo-info {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.logo-info p {
    margin: 0;
    font-size: 0.8125rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-info strong {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-info span {
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-mono, monospace);
    font-size: 0.875rem;
}

/* ============================================
   FEATURE ICONS - Premium Accents
   ============================================ */
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-size: 1.75rem;
    position: relative;
    border: 1px solid var(--primary-color);
    opacity: 0.2;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.card:hover .feature-icon {
    transform: translateY(-3px) scale(1.05);
    opacity: 0.3;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card:hover .feature-icon::before {
    opacity: 0.1;
}

/* ============================================
   API RESPONSE - Premium Code Display
   ============================================ */
.api-response {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    overflow-x: auto;
    max-height: 320px;
    overflow-y: auto;
    font-family: var(--font-mono, monospace);
    color: var(--text-primary);
    position: relative;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        var(--shadow-md);
}

.api-response::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.api-response::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.api-response::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.api-response::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
}

.api-response code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
}

/* JSON syntax highlighting using your color variables */
.api-response .string { color: var(--info-color); }
.api-response .number { color: var(--warning-color); }
.api-response .boolean { color: var(--success-color); }
.api-response .null { color: var(--danger-color); }
.api-response .key { color: var(--secondary-color); }

/* ============================================
   COPY BUTTON - Premium Interaction
   ============================================ */
.copy-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 10;
}

.copy-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.copy-button:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.copy-button:hover::before {
    opacity: 1;
}

.copy-button i {
    font-size: 0.875rem;
    transition: transform var(--transition-fast);
}

.copy-button:hover i {
    transform: scale(1.1);
}

/* ============================================
   API KEY CONTAINER - Premium Display
   ============================================ */
.api-key-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.api-key-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.api-key-container pre {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono, monospace);
    font-size: 0.8125rem;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.api-key-container code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
}

/* ============================================
   DOMAIN INPUT GROUP - Premium Form
   ============================================ */
.domain-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.domain-input-group .form-control {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all var(--transition-normal);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        var(--shadow-sm);
}

.domain-input-group .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        var(--shadow-lg),
        0 0 0 3px rgba(var(--primary-color), 0.1);
}

.domain-input-group .form-control:hover {
    border-color: var(--border-hover);
}



/*Standard Pages*/

/* ==========================================================================
   Page Hero Sections
   ========================================================================== */
.page-hero {
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero .lead {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-hero, .contact-hero {
    background: var(--gradient-primary);
}

.privacy-hero {
    background: var(--gradient-primary);
}

.terms-hero {
    background: var(--gradient-primary);
}

.status-hero {
    background: var(--gradient-primary);
}

/* ==========================================================================
   Page Content
   ========================================================================== */
.page-content {
    padding: 60px 0;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.how-it-works {
    margin: 50px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.step-content code {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    display: block;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.step-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
}

.step-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.step-content li {
    margin-bottom: 5px;
    color: #555;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    text-align: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 10px;
    color: #333;
}

.feature p {
    color: #666;
    margin: 0;
}

.pricing-section {
    margin: 60px 0;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.quota {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #555;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-email {
    display: block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #5a67d8;
}

.contact-response {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.contact-other {
    display: grid;
    gap: 30px;
}

.contact-social h3,
.contact-docs h3 {
    color: #333;
    margin-bottom: 15px;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #666;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

.contact-docs p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.contact-form {
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

.btn-block {
    width: 100%;
}

.contact-note {
    margin-top: 20px;
    text-align: center;
}

.contact-note p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert i {
    font-size: 1.2rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
    .blog-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .lead {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 40px 0;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ==========================================================================
   Privacy & Terms Pages
   ========================================================================== */
.last-updated {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.last-updated i {
    margin-right: 5px;
}

.privacy-container,
.terms-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-toc,
.terms-toc {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
}

.privacy-toc h3,
.terms-toc h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.privacy-toc nav ul,
.terms-toc nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-toc nav li,
.terms-toc nav li {
    margin-bottom: 10px;
}

.privacy-toc nav a,
.terms-toc nav a {
    color: #555;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.privacy-toc nav a:hover,
.terms-toc nav a:hover {
    color: #667eea;
    border-left-color: #667eea;
    padding-left: 15px;
}

.privacy-content-main,
.terms-content-main {
    background: white;
    border-radius: 10px;
    padding: 40px;
}

.privacy-section,
.terms-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h2,
.terms-section h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.privacy-card,
.terms-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.privacy-card.important,
.terms-card.important {
    border-left-color: #ef4444;
    background: #fee2e2;
}

.privacy-card.forbidden {
    border-left-color: #991b1b;
    background: #fee2e2;
}

.privacy-card h3,
.terms-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.privacy-card h3 i,
.terms-card h3 i {
    margin-right: 10px;
    color: #667eea;
}

.privacy-card ul,
.terms-card ul {
    margin: 0;
    padding-left: 20px;
}

.privacy-card li,
.terms-card li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

.privacy-alert {
    display: flex;
    gap: 20px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.privacy-alert i {
    color: #d97706;
    font-size: 2rem;
    flex-shrink: 0;
}

.privacy-alert h3 {
    color: #92400e;
    margin-bottom: 10px;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.privacy-table th,
.privacy-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.privacy-table th {
    background: #e9ecef;
    font-weight: 600;
    color: #333;
}

.privacy-table tbody tr:hover {
    background: #f8f9fa;
}

.terms-definitions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.definition {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.definition h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1rem;
}

.definition p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-notice {
    display: flex;
    gap: 20px;
    background: #dbeafe;
    border: 1px solid #3b82f6;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    grid-column: 1 / -1;
}

.notice-icon i {
    color: #1d4ed8;
    font-size: 2rem;
}

.notice-content h3 {
    color: #1e40af;
    margin-bottom: 10px;
}

.notice-content p {
    color: #374151;
    margin: 0;
    line-height: 1.6;
}

.privacy-contact,
.terms-acceptance {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 50px;
}

.privacy-contact h3,
.terms-acceptance h3 {
    color: #333;
    margin-bottom: 15px;
}

.privacy-contact p,
.terms-acceptance p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.terms-contact-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================================================
   Dashboard Styles
   ========================================================================== */
.dashboard-container {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
    background: #f8fafc;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.dashboard-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

.dashboard-header-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.plan-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-free {
    background: #dbeafe;
    color: #1e40af;
}

.plan-pro {
    background: #fef3c7;
    color: #92400e;
}

.plan-enterprise {
    background: #fce7f3;
    color: #9d174d;
}

.last-login {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Section Styles */
.dashboard-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-content p {
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.trend-up {
    color: #10b981;
    font-weight: bold;
}

.trend-down {
    color: #ef4444;
    font-weight: bold;
}

/* Dashboard Content Grid */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

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

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.card-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
}

.card-body {
    padding: 24px;
}

/* Quota Progress */
.quota-progress {
    margin-bottom: 30px;
}

.quota-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.quota-used {
    font-weight: 600;
    color: #1f2937;
}

.quota-total {
    color: #6b7280;
    font-size: 0.9rem;
}

.progress-bar-container {
    margin-bottom: 20px;
}

.progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9ca3af;
}

.quota-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

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

.stat-label {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Daily Usage */
.daily-usage {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.daily-usage h4 {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.usage-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    padding: 0 20px;
}

.usage-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.bar-value {
    width: 24px;
    background: linear-gradient(to top, #3b82f6, #8b5cf6);
    border-radius: 6px 6px 0 0;
    transition: height 0.3s ease;
    margin-bottom: 8px;
}

.bar-label {
    font-size: 0.8rem;
    color: #6b7280;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.bar-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

/* API Key Section */
.api-key-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.api-key-display {
    display: flex;
    gap: 10px;
}

.api-key-input {
    flex: 1;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #1f2937;
    overflow-x: auto;
}

.api-key-actions {
    align-self: flex-start;
}

.api-key-test {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.api-key-test h4 {
    margin: 0 0 12px 0;
    color: #1f2937;
    font-size: 1rem;
}

.test-command {
    display: flex;
    gap: 10px;
    align-items: center;
}

.test-command code {
    flex: 1;
    padding: 10px 14px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: #1f2937;
    overflow-x: auto;
}

/* Button Copy */
.btn-copy {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 14px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.btn-copy.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: #f3f4f6;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
}

.activity-icon i {
    color: #6b7280;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.activity-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 8px;
    word-break: break-word;
}

.activity-meta {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Domains List */
.domains-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.domain-item:hover {
    background: #f3f4f6;
}

.domain-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.domain-name {
    font-weight: 500;
    color: #1f2937;
    word-break: break-all;
}

.domain-requests {
    font-size: 0.85rem;
    color: #6b7280;
}

.domain-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.stat-success {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}

.stat-time {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Requests Table */
.requests-table {
    overflow-x: auto;
}

.requests-table table {
    width: 100%;
    border-collapse: collapse;
}

.requests-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.requests-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.requests-table tbody tr:hover {
    background: #f9fafb;
}

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

.domain-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.domain-cell i {
    color: #6b7280;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-error {
    background: #fee2e2;
    color: #991b1b;
}

.response-time {
    font-weight: 600;
}

.response-time.fast {
    color: #10b981;
}

.response-time.slow {
    color: #ef4444;
}

.btn-action {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 10px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

/* No Data States */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.no-data i {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #d1d5db;
}

.no-data p {
    margin: 0;
    font-size: 1rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.current-plan {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

.current-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.pricing-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
}

.feature i {
    color: #10b981;
}

.upgrade-form {
    margin-top: auto;
}

/* Enterprise Contact */
.enterprise-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
}

.enterprise-contact i {
    font-size: 2rem;
    flex-shrink: 0;
}

.enterprise-contact h4 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

.enterprise-contact p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.enterprise-contact .btn {
    margin-left: auto;
    background: white;
    color: #667eea;
    font-weight: 600;
}

.enterprise-contact .btn:hover {
    background: #f9fafb;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert div {
    flex: 1;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.alert-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .dashboard-header-actions {
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quota-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .enterprise-contact {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .enterprise-contact .btn {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .dashboard-header-content h1 {
        font-size: 2rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stat-content h3 {
        font-size: 1.75rem;
    }
    
    .requests-table td,
    .requests-table th {
        padding: 12px 8px;
    }
}