:root {
    --bg-color: #050505;
    --text-main: #f0f2f5;
    --text-muted: #888888;
    --accent: #e0e0e0;
    /* Silver */
    --accent-glow: rgba(255, 255, 255, 0.15);
    --secondary: #aaaaaa;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Gradients */
.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s infinite alternate ease-in-out;
}

.background-glow.glow-2 {
    top: 300px;
    left: auto;
    right: -200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    animation: float 12s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.1);
    }
}

/* Typography elements */
.gradient-text {
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.logo-text,
.logo-accent {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #cccccc 50%,
            #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: premium-shimmer 6s linear infinite;
}

.logo-accent {
    margin-left: 2px;
}

@keyframes premium-shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px -10px var(--accent);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--accent);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Header */
.header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.tg-icon {
    width: 24px;
    height: 24px;
}

/* Mockup CSS art */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mockup-card {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--card-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    padding: 40px 32px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.pulse-ring {
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.status-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #10b981;
}

.mockup-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.stat-box {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 12px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: monospace;
}

.mockup-ip {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.app-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.price-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff, #3b82f6);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 100px;
    letter-spacing: 1px;
}

.price-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-total {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 32px;
    font-weight: 600;
    min-height: 22px;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
}

.price-features li {
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 64px 0 32px;
    margin-top: 64px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    max-width: 300px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}


/* Dashboard Specific */
.dashboard-section {
    min-height: 80vh;
}

.dash-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.dash-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sub-link-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
}

.sub-link-box h3 {
    margin-bottom: 8px;
    color: var(--text-main);
}

.sub-link-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sub-link-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--card-border);
    transition: all 0.2s;
    word-break: break-all;
}

.sub-link-container:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

#dash-link {
    font-family: monospace;
    color: #ffffff;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .mockup-card {
        transform: none;
        margin: 32px auto 0;
    }

    .price-card.popular {
        transform: none;
    }
}

@media (max-width: 600px) {
    .header .nav {
        display: none;
        /* simple mobile nav hide for now */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
    }
}