:root {
    --primary: #06b6d4;
    /* Cyan 500 */
    --primary-dark: #0891b2;
    --secondary: #10b981;
    /* Emerald 500 */
    --accent: #6366f1;
    /* Indigo 500 */
    --dark: #0f172a;
    /* Slate 900 */
    --dark-light: #1e293b;
    /* Slate 800 */
    --light: #f8fafc;
    /* Slate 50 */
    --text: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

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

/* Utils */
.text-center {
    text-align: center;
}

.mb-10 {
    margin-bottom: 40px;
}

.section-padding {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

.nav-links a.pricing-highlight {
    color: var(--primary);
    font-weight: 700;
}

.header-cta {
    background: var(--gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(6, 182, 212, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.5);
}

/* Sticky header enhancement */
header.sticky {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.1), transparent);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: var(--gradient);
    filter: blur(150px);
    opacity: 0.05;
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--dark);
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--light);
}

/* Trusted By */
.trusted-by {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fafafa;
}

.logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1);
}

.logo-grid span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
}

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

/* Pricing Section */
.pricing-section {
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

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

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-label {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

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

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.benefits-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.benefits-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 900;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

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

.buy-btn-dark:hover {
    background: var(--dark-light);
}

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

.buy-btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.4);
}

/* Comparison Table */
.comparison-section {
    background: white;
    border-top: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

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

th {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--dark);
}

.feature-name {
    width: 40%;
    font-weight: 600;
}

.col-free,
.col-solo,
.col-business {
    width: 20%;
    text-align: center;
}

.check {
    color: var(--secondary);
    font-weight: 900;
}

.cross {
    color: #fca5a5;
}

tr:hover td {
    background: #fafafa;
}

/* Checkout */
.checkout-body {
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.checkout-container {
    background: white;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

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

.checkout-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.checkout-header {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--dark);
}

.checkout-plan-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-summary {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.checkout-summary-row:last-child {
    margin-bottom: 0;
}

.checkout-discount-row {
    color: #10b981;
    font-weight: 600;
}

.checkout-free-text {
    color: #10b981;
    font-weight: 700;
}

.checkout-total {
    border-top: 1px solid var(--border);
    margin-top: 15px;
    padding-top: 15px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
}

.checkout-back-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.checkout-back-link:hover {
    color: var(--dark);
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.payment-tab.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.payment-tab:hover:not(.active) {
    background: #f1f5f9;
}

.stripe-btn {
    background: #6366f1;
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 10px;
}

.stripe-btn:hover {
    opacity: 0.9;
}

/* Processing */
.processing-container {
    text-align: center;
    padding: 40px 0;
}

.processing-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.processing-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Payment Method Selection (Checkbox/List Style) */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.payment-method-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.payment-method-item.active {
    border-color: var(--primary);
    background: #f0f9ff;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.05);
}

.method-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%; /* Circle for radio behavior */
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.payment-method-item.active .method-checkbox {
    border-color: var(--primary);
    background: var(--primary);
}

.payment-method-item.active .method-checkbox::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.method-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 15px;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
}

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

.method-image {
    height: 30px;
    object-fit: contain;
    margin-left: auto;
}

/* Hide the actual radio but keep it functional */
.payment-method-item input[type="radio"] {
    display: none;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 24px;
    display: block;
}

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

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Modal Redesign */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1.1rem;
    margin: 24px 0;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tablet - analytics grid to single column */
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Tablet - testimonials to 2 columns */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: none;
        box-shadow: var(--shadow);
    }
}

.mobile-menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow);
}

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

    .mobile-menu-icon {
        display: block;
    }

    .mobile-nav-links.active {
        display: flex;
    }

    /* Mobile Image Optimization */
    img {
        max-width: 100%;
        height: auto;
    }

    .zoomable-image {
        max-width: 100%;
        height: auto;
    }

    /* Hero section images on mobile */
    .hero img {
        max-width: 100%;
        height: auto;
    }

    /* Analytics and audit images */
    .section-padding img {
        max-width: 100%;
        height: auto;
    }

    /* Features grid - stack vertically */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Analytics/Audit grid - stack vertically */
    .analytics-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* Stats grid - stack vertically */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Logos grid - wrap */
    .logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Testimonials grid - stack vertically */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Pricing grid - stack vertically */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Trust badges - wrap */
    .trusted-by .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Comparison table - horizontal scroll */
    .comparison-section table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-section th,
    .comparison-section td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 24px 16px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Page Specific Styles */

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.mission-section {
    background: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

.team-section {
    padding: 80px 0;
}

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

.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Documentation Page */
.docs-hero {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.docs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-nav {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.docs-nav h3 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.docs-nav h3:not(:first-child) {
    margin-top: 30px;
}

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

.docs-nav li {
    margin-bottom: 12px;
}

.docs-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 8px 0;
}

.docs-nav a:hover {
    color: #059669;
}

.docs-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.docs-section {
    margin-bottom: 50px;
}

.docs-section h2 {
    color: #1f2937;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.feature-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #059669;
}

.code-block {
    background: #1f2937;
    color: #e5e7eb;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
    overflow-x: auto;
}

.step-number {
    background: #059669;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quick-start-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.quick-start-card:hover {
    transform: translateY(-5px);
    border-color: #059669;
}

/* Support Page */
.support-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.support-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.faq-section {
    background: #f8fafc;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.faq-question {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #6b7280;
    line-height: 1.6;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: border-color 0.3s;
}

.contact-card:hover {
    border-color: #6366f1;
}

.urgent-badge {
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.response-time {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

/* Support Form */
.support-form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.support-form {
    max-width: 500px;
    margin: 0 auto;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: inherit;
}

.support-form button {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s;
}

.support-form button:hover {
    transform: translateY(-2px);
}

/* Dashboard Page */
.dash-wrapper {
    display: flex;
    min-height: 100vh;
}

.dash-sidebar {
    width: 280px;
    background: var(--dark); /* var(--sidebar) mapped to --dark */
    height: 100vh;
    position: fixed;
    color: white;
    padding: 40px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

/* Custom Scrollbar for Dashboard Sidebar Nav */
.dash-sidebar nav::-webkit-scrollbar {
    width: 5px;
}

.dash-sidebar nav::-webkit-scrollbar-track {
    background: transparent;
}

.dash-sidebar nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.dash-sidebar nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dash-sidebar nav {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.dash-main {
    flex: 1;
    margin-left: 280px;
    padding: 60px;
    box-sizing: border-box;
}

.dash-nav-item {
    padding: 14px 18px;
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.dash-nav-item:hover,
.dash-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Support Page Specific Styles */
.support-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.support-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.support-card-title,
.contact-card h3,
.community-card h3 {
    color: #1f2937;
    margin-bottom: 15px;
}

.support-card-text,
.contact-card p,
.community-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-btn {
    background: #6366f1;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s;
}

.support-btn:hover {
    background: #4f46e5;
}

.faq-header {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 50px;
}

.contact-header {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.contact-text {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 50px;
}

.contact-link {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
}

.support-form-title {
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.support-form-text {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

/* Success Page Styles */
.success-page-body {
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.success-card {
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 900;
    margin: 0 auto 30px;
}

.success-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.success-card h1 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 16px;
}

.success-card p {
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.license-box {
    background: #f1f5f9;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 2px dashed #cbd5e1;
}

.license-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.license-key {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    word-break: break-all;
}

.reg-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #64748b;
}

.success-btn {
    display: block;
    width: 100%;
    background: #0ea5e9;
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.success-btn:hover {
    background: #0284c7;
}

.success-secondary-btn {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.success-secondary-btn:hover {
    color: #1f2937;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.community-section {
    background: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.community-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

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

.community-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.community-text {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Auth View */
#login-view {
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent), #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: white;
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    text-align: center;
    border: 1px solid var(--border);
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
    border: 1px solid var(--border);
}

.dash-btn {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
}

.dash-header h1 {
    font-family: 'Outfit';
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-card .value {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 10px;
    font-family: 'Outfit';
}

.license-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.license-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient);
    opacity: 0.3;
}

.plan-badge {
    display: inline-block;
    background: var(--light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.dash-code {
    display: block;
    background: #f1f5f9;
    padding: 20px;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    border: 2px dashed var(--border);
    text-align: center;
    margin: 25px 0;
    font-family: 'Monaco', monospace;
    letter-spacing: 1px;
}

.domain-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Success Page */
.success-card {
    background: white;
    padding: 60px 40px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
}

.success-page-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.license-box {
    background: #f1f5f9;
    padding: 24px;
    border-radius: 16px;
    margin: 40px 0;
    border: 2px dashed #cbd5e1;
}

.license-key {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    word-break: break-all;
}

.success-btn {
    background: var(--dark);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.success-btn:hover {
    background: var(--dark-light);
    transform: translateY(-1px);
}

.success-secondary-btn {
    margin-top: 20px;
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Checkout Page */
.checkout-body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.checkout-container {
    background: white;
    padding: 48px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border);
}

.checkout-header {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    margin: 0 0 10px;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -1px;
}

.checkout-plan-badge {
    background: #ecfdf5;
    color: #10b981;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.checkout-summary {
    background: #f8fafc;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.checkout-total {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    border-top: 2px solid var(--border);
    padding-top: 20px;
    margin-top: 20px;
}

.checkout-discount-row {
    color: #10b981;
    font-weight: 600;
}

.checkout-back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.checkout-back-link:hover {
    color: var(--primary);
}

#paypal-button-container {
    min-height: 150px;
}

/* Portal Page */
.portal-body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portal-container {
    max-width: 900px;
    width: 100%;
}

.portal-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.portal-title {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.portal-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.portal-form-group {
    margin-bottom: 20px;
}

.portal-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.portal-input,
.portal-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

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

.portal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.portal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.portal-btn-danger {
    background: #ef4444;
    color: white;
}

.portal-btn-secondary {
    background: var(--text-light);
    color: white;
}

.portal-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

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

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

.portal-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    color: white;
}

.portal-stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.portal-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.portal-sites-list {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.portal-site-item {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-site-item:last-child {
    border-bottom: none;
}

.portal-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.portal-badge-active {
    background: #d1fae5;
    color: #065f46;
}

.portal-badge-inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.portal-badge-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.portal-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Utilities */
.mb-15 { margin-bottom: 15px; }
.mb-25 { margin-bottom: 25px; }

.docs-list {
    color: #6b7280;
    line-height: 1.8;
    padding-left: 20px;
}

/* Docs CTA Section */
.docs-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.docs-cta-title {
    color: #1f2937;
    margin-bottom: 20px;
}

.docs-cta-text {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
}

.docs-cta-btn {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s;
}

.docs-cta-btn:hover {
    transform: translateY(-2px);
}

/* Documentation Page Specific Styles */
.docs-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.docs-hero-text {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.docs-nav-section-title {
    margin-top: 30px;
}

.docs-step-title {
    color: #1f2937;
    margin-bottom: 10px;
}

.docs-step-desc {
    color: #6b7280;
    line-height: 1.6;
}

.docs-feature-title {
    color: #1f2937;
    margin-bottom: 15px;
}

.docs-feature-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.docs-feature-list {
    color: #6b7280;
    line-height: 1.8;
    padding-left: 20px;
}

.docs-quick-start-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.docs-quick-start-title {
    color: #1f2937;
    margin-bottom: 20px;
}

.docs-quick-start-text {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
}

.docs-quick-start-btn {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s;
}

/* Support Page Specific Styles */
.support-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.support-hero-text {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.support-card-title {
    color: #1f2937;
    margin-bottom: 15px;
}

.support-card-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-card-btn {
    background: #6366f1;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.faq-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 50px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-section-title {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.contact-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 50px;
}

.contact-card-title {
    color: #1f2937;
    margin-bottom: 15px;
}

.contact-card-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-link-container {
    margin-top: 15px;
}

.contact-link {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
}

.contact-link-span {
    color: #6366f1;
    font-weight: 600;
}

.support-form-title {
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.support-form-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.community-section {
    background: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

.community-section-title {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.community-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.community-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.community-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.community-card-title {
    color: #1f2937;
    margin-bottom: 10px;
}

.community-card-desc {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.community-link {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
}

/* Footer Variants */
.footer-dark {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-logo-white {
    height: 60px;
    filter: brightness(0) invert(1);
}

 /* Affiliate Dashboard Specific Styles */
 .affiliate-container-main {
    margin-top: 40px;
}

.affiliate-stat-value-pending {
    color: #f59e0b;
}

.affiliate-stat-value-available {
    color: #10b981;
}

.affiliate-stat-value-referrals {
    color: #6366f1;
}

.affiliate-referral-title {
    margin-bottom: 15px;
}

.affiliate-recent-title {
    margin: 40px 0 20px 0;
}

.affiliate-plan-cell {
    text-transform: capitalize;
}

.affiliate-commission-cell {
    font-weight: 600;
    color: var(--primary);
}

.affiliate-empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
}

.affiliate-tips-container {
    margin: 40px 0;
    padding: 25px;
    background: white;
    border-radius: 12px;
}

.affiliate-tips-list {
    margin-top: 15px;
    line-height: 2;
}

.affiliate-commission-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.affiliate-login-footer {
    margin-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.affiliate-link-primary {
    color: var(--primary);
}

/* About Page Specific Styles */
.about-logo {
    height: 80px;
    margin-right: 10px;
}

.nav-link-active {
    color: var(--primary);
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-hero-text {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.about-section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-mission-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 500;
}

.about-value-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.about-value-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.team-section {
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.team-avatar-mj {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.team-avatar-sd {
    background: linear-gradient(135deg, #10b981, #059669);
}

.team-avatar-tw {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.team-name {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.team-role {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-logo-link {
    margin-bottom: 20px;
    display: block;
}

.footer-logo-img {
    height: 60px;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

/* Affiliate Dashboard */
.affiliate-body {
    font-family: 'Outfit', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

.affiliate-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.affiliate-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.affiliate-logo {
    font-size: 24px;
    font-weight: 700;
}

.affiliate-logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.affiliate-logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.affiliate-login-card {
    max-width: 450px;
    margin: 80px auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.affiliate-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text);
}

.affiliate-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.affiliate-form-group {
    margin-bottom: 20px;
}

.affiliate-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.affiliate-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.affiliate-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.affiliate-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.affiliate-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.affiliate-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.affiliate-stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.affiliate-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.affiliate-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.affiliate-referral-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.affiliate-referral-link {
    background: #f1f5f9;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    word-break: break-all;
    margin: 15px 0;
}

.affiliate-copy-btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.affiliate-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.affiliate-table th,
.affiliate-table td {
    padding: 15px;
    text-align: left;
}

.affiliate-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text);
}

.affiliate-table tr {
    border-bottom: 1px solid var(--border);
}

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

.affiliate-badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.affiliate-badge-approved {
    background: #d1fae5;
    color: #065f46;
}

/* Test Access Page */
.test-body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.test-container {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.test-h1 {
    color: #10b981;
    margin-top: 0;
}

.test-success {
    color: #10b981;
    font-weight: 600;
}

.test-item {
    background: #0f172a;
    padding: 16px;
    border-radius: 12px;
    margin: 12px 0;
    border-left: 4px solid #6366f1;
}

.test-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.test-status-ok {
    background: #10b981;
    color: white;
}

.test-status-error {
    background: #ef4444;
    color: white;
}

.test-link {
    color: #06b6d4;
    text-decoration: none;
}

.test-link:hover {
    text-decoration: underline;
}

.test-list {
    line-height: 2;
}

.test-list-ordered {
    line-height: 1.8;
    color: #94a3b8;
}

.test-server-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 14px;
}

/* Dashboard Page Extensions */
.dash-loading-icon {
    font-size: 3rem;
    animation: pulse 1.5s infinite;
}

.dash-login-title {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 2rem;
}

.dash-login-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.dash-auth-msg {
    margin-top: 25px;
    font-weight: 600;
    font-size: 0.95rem;
}

.dash-no-license {
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dash-browse-link {
    color: var(--primary);
    font-weight: 600;
}

.dash-sidebar-logout-container {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

.dash-sidebar-logout {
    color: #fca5a5 !important;
}

.dash-header-desc {
    color: var(--text-muted);
    margin-top: 5px;
}

.dash-user-info {
    text-align: right;
}

.dash-user-email {
    font-weight: 700;
    font-size: 1.1rem;
}

.dash-verified-badge {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.dash-announcement {
    display: none;
    background: var(--gradient);
    color: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2);
}

.dash-announcement-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.dash-announcement-text {
    font-weight: 600;
    line-height: 1.5;
    padding-right: 30px;
}

.dash-announcement-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
}

.dash-stat-value-primary {
    color: var(--primary);
}

.dash-license-empty {
    text-align: center;
    padding: 100px;
    color: var(--text-muted);
}

.dash-card-title {
    font-family: 'Outfit';
    font-size: 1.8rem;
    margin: 0;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* JS Generated Dashboard Items */
.dash-card-title-h2 {
    font-family: 'Outfit';
    font-size: 1.8rem;
    margin: 0;
}

.dash-status-text {
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
}

.dash-domain-item {
    background: #fafafa;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-domain-name {
    color: var(--text);
    font-weight: 600;
}

.dash-release-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
}

.dash-card-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.dash-action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #6b7280;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.dash-action-btn:hover {
    background: var(--light);
}

.dash-action-btn-primary {
    background: var(--dark);
    color: #6b7280;
    border: none;
}

.dash-action-btn-primary:hover {
    background: var(--dark-light);
}

/* Success Page Extensions */
.license-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.reg-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #64748b;
}

.success-icon.error {
    background: #fee2e2;
    color: #ef4444;
}

/* Coming Soon Page */
.coming-soon-body {
    font-family: 'Outfit', sans-serif;
    background: #0f172a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

.coming-soon-container {
    background: #1e293b;
    padding: 60px 40px;
    border-radius: 32px;
    max-width: 600px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.coming-soon-icon {
    font-size: 80px;
    margin-bottom: 24px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.coming-soon-btn {
    display: inline-block;
    background: white;
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.coming-soon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.1);
}

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

/* Portal Page Extensions */
.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.portal-section-title {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.portal-empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
}

.portal-license-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.portal-code {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Checkout/Payment Page Extensions */
.checkout-center {
    text-align: center;
}

.checkout-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.checkout-free-text {
    color: #10b981;
    font-weight: 600;
}

.processing-container {
    text-align: center;
    padding: 40px;
}

.processing-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.processing-title {
    font-family: 'Outfit';
}

.processing-text {
    color: #64748b;
}

.dash-download-btn {
    background: #f1f5f9;
    color: var(--text);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Utility Classes */
.hidden { display: none !important; }
.flex-1 { flex: 1; }
.gap-20 { gap: 20px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.cursor-pointer { cursor: pointer; }
.text-primary { color: var(--primary); }
.font-weight-600 { font-weight: 600; }
.font-size-09 { font-size: 0.9rem; }
.font-size-11 { font-size: 1.1rem; }
.mt-12 { margin-top: 12px; }
.mt-32 { margin-top: 32px; }
.pt-24 { padding-top: 24px; }
.border-top { border-top: 1px solid var(--border); }
.mb-20 { margin-bottom: 20px; }
.text-danger { color: #ef4444; }
.text-success { color: #10b981; }
.text-muted { color: var(--text-muted); }

/* Extended Utility Classes */
.text-warning { color: #f59e0b; }
.text-indigo { color: #6366f1; }
.text-center { text-align: center; }
.text-capitalize { text-transform: capitalize; }
.bg-white { background: white; }
.rounded-12 { border-radius: 12px; }
.p-25 { padding: 25px; }
.p-40 { padding: 40px; }
.mt-15 { margin-top: 15px; }
.mt-40 { margin-top: 40px; }
.mb-15 { margin-bottom: 15px; }
.my-40-20 { margin: 40px 0 20px 0; }
.my-40 { margin: 40px 0; }
.lh-2 { line-height: 2; }
.text-sm { font-size: 14px; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-20 { padding-left: 20px; padding-right: 20px; }

/* Modal Specific */
.modal-title { margin: 0; font-size: 2rem; }
.modal-desc { color: var(--text-muted); margin-top: 12px; }
.verify-msg { margin-bottom: 20px; font-weight: 500; font-size: 0.95rem; }
.modal-footer { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; }
.modal-close-btn { cursor: pointer; color: var(--text-muted); font-size: 0.9rem; }
.modal-recover-btn { cursor: pointer; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.footer-social-links { display: flex; gap: 20px; }

/* Enhanced Loading States */
.dash-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--text-muted);
    min-height: 300px;
}

.dash-loading-spinner {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.dash-spinner-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: dash-spinner-bounce 1.4s ease-in-out infinite both;
}

.dash-spinner-circle:nth-child(1) { animation-delay: -0.32s; }
.dash-spinner-circle:nth-child(2) { animation-delay: -0.16s; }
.dash-spinner-circle:nth-child(3) { animation-delay: 0s; }

@keyframes dash-spinner-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.dash-loading-title {
    margin: 0 0 12px 0;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
}

.dash-loading-subtitle {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    max-width: 300px;
    line-height: 1.6;
}

/* Tab-specific loading variations */
#section-subscription .dash-loading-container {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
}

#section-support .dash-loading-container {
    background: linear-gradient(135deg, #fef7ff 0%, #fdf4ff 100%);
    border-radius: 16px;
}

#section-docs .dash-loading-container {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
}

/* Loading state transitions */
.dash-loading-container {
    animation: dash-fade-in 0.3s ease-out;
}

@keyframes dash-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .dash-wrapper {
        flex-direction: column;
    }
    
    .dash-sidebar {
        width: 100%;
        height: auto;
        padding: 20px;
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 1000;
        background: var(--dark);
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .dash-sidebar.mobile-open {
        left: 0;
    }
    
    .dash-main {
        margin-left: 0;
        padding: 80px 20px 40px;
    }
    
    .dash-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .dash-user-info {
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .license-card {
        padding: 20px;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 12px;
        cursor: pointer;
        box-shadow: var(--shadow);
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Mobile loading states */
    .dash-loading-container {
        padding: 40px 20px;
        min-height: 200px;
    }
    
    .dash-loading-title {
        font-size: 1.2rem;
    }
    
    .dash-loading-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .dash-main {
        padding: 70px 16px 30px;
    }
    
    .dash-header h1 {
        font-size: 1.8rem;
    }
    
    .dash-card-title-h2 {
        font-size: 1.4rem;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .dash-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        top: 16px;
        left: 16px;
        padding: 10px;
    }
}

