/* ================================================
   My Cust — Original Cyberpunk Style CSS
   ================================================ */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #0a0f1a, #05050a);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.hidden {
    opacity: 0;
    transform: translateY(-20px) scale(1.05);
    pointer-events: none;
}

.terminal {
    font-family: var(--font-mono);
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    display: flex;
    align-items: center;
}

.cursor {
    animation: blink 1s step-end infinite;
    display: inline-block;
    margin-left: 2px;
}

@keyframes blink {
    0%, to { opacity: 1; }
    50% { opacity: 0; }
}

/* CSS Variables */
:root {
    --bg-color: #05050a;
    --text-color: #e2e8f0;
    --primary-color: #00ffcc;
    --secondary-color: #ff00ff;
    --accent-color: #3b82f6;
    --font-sans: "Outfit", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --glass-bg: rgba(20, 28, 50, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
}

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

html, body {
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

body.site-loaded {
    overflow-y: auto;
}

/* Background Effects */
.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: -3;
    pointer-events: none;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.neon-text-primary {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5), 0 0 20px rgba(0, 255, 204, 0.3);
}

.neon-text-secondary {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite ease-in-out alternate, blobBreathe 8s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: #00ffcc40;
    animation-delay: 0s, 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: #ff00ff40;
    animation-delay: -5s, -3s;
}

.blob-3 {
    top: 30%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: #3b82f633;
    animation-delay: -10s, -6s;
}

@keyframes float {
    0% { transform: translate(0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
    to { transform: translate(-5%, -5%) scale(0.9); }
}

@keyframes blobBreathe {
    0%, to { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    animation: particleFloat 12s infinite ease-in-out;
}

.p1 { width: 4px; height: 4px; top: 20%; left: 15%; animation-delay: 0s; }
.p2 { width: 3px; height: 3px; top: 60%; left: 75%; animation-delay: -3s; }
.p3 { width: 5px; height: 5px; top: 40%; left: 50%; animation-delay: -6s; background: var(--secondary-color); }
.p4 { width: 3px; height: 3px; top: 80%; left: 30%; animation-delay: -9s; }
.p5 { width: 4px; height: 4px; top: 10%; left: 85%; animation-delay: -2s; background: var(--accent-color); }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.8; }
    50% { opacity: 0.4; transform: translateY(-40px) scale(1); }
    80% { opacity: 0.6; }
    to { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Section Base */
section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-content {
    max-width: 900px;
}

.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.site-loaded .dashboard-badge {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

body.site-loaded .title {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

body.site-loaded .theme-tagline {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

body.site-loaded .deadline-text {
    transition-delay: 0.7s;
    opacity: 1;
    transform: translateY(0);
}

body.site-loaded .cta-container {
    transition-delay: 0.9s;
    opacity: 1;
    transform: translateY(0);
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    background: #00ffcc14;
    box-shadow: 0 0 20px #00ffcc1a;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dashboard-badge svg {
    stroke: var(--primary-color);
    width: 14px;
    height: 14px;
}

.title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-shadow: 0 0 60px rgba(0, 255, 204, 0.3);
}

.title .accent {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.4));
}

.title-link {
    color: var(--text-color);
    text-decoration: none;
    text-shadow: 0 0 60px rgba(0, 255, 204, 0.3);
    transition: opacity 0.3s ease;
}

.title-link:hover {
    opacity: 0.85;
}

.theme-tagline {
    font-size: clamp(1.1rem, 3.5vw, 2.2rem);
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.9;
}

.deadline-text {
    font-family: var(--font-mono);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-container {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.8rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.btn-glow:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5), 0 0 60px rgba(0, 255, 204, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.8rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}

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

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
}

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

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00ffcc4d;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px #00ffcc14;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Screenshots Section */
.screenshots-section {
    padding: 5rem 1.5rem;
}

.screenshots-container {
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    overflow: hidden;
}

.screenshot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.screenshot-dots {
    display: flex;
    gap: 6px;
}

.screenshot-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.screenshot-dots span:first-child { background: #ff5f57; }
.screenshot-dots span:nth-child(2) { background: #febc2e; }
.screenshot-dots span:nth-child(3) { background: #28c840; }

.screenshot-title {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.5);
    font-family: var(--font-mono);
}

.screenshot-preview {
    min-height: 400px;
    position: relative;
}

.live-preview {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    background: #0a0f1a;
}

.mobile-visit-btn {
    display: none;
}

.preview-sidebar {
    width: 60px;
    padding: 16px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-nav-item {
    width: 100%;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.preview-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
}

.preview-main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.preview-stat {
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.preview-card.wide {
    grid-column: span 2;
}

/* Stats Section */
.stats-section {
    padding: 5rem 1.5rem;
}

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

.stat-item {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tech Section */
.tech-section {
    padding: 5rem 1.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-color);
}

.tech-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.tech-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 1.5rem;
    text-align: center;
}

.cta-container-main {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container-main h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
}

.cta-container-main p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bg-color);
}

.footer-copy {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
}

.footer-copy a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .mouse-follower {
        display: none !important;
    }

    section {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.8rem;
        letter-spacing: 1px;
    }

    p {
        font-size: 0.95rem;
    }

    .hero {
        padding-top: 3.5rem;
        min-height: 100svh;
    }

    .dashboard-badge {
        font-size: 0.85rem;
        padding: 0.35rem 0.8rem;
        margin-bottom: 1rem;
    }

    .title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -1px;
    }

    .theme-tagline {
        font-size: clamp(0.9rem, 3.5vw, 1.4rem);
        margin-bottom: 1rem;
    }

    .deadline-text {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .cta-container {
        margin-top: 1rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0.75rem;
    }

    h2 {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .dashboard-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .title {
        font-size: clamp(2.2rem, 13vw, 3.5rem);
    }

    .theme-tagline {
        font-size: clamp(0.85rem, 3.5vw, 1.2rem);
    }

    .deadline-text {
        font-size: 0.7rem;
    }

    .btn-glow, .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-glow,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .screenshot-preview {
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .live-preview {
        display: none;
    }

    .mobile-visit-btn {
        display: flex;
        padding: 0.6rem 1.2rem;
        background: transparent;
        color: var(--primary-color);
        font-family: var(--font-mono);
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        border-radius: 4px;
        border: 1px solid var(--primary-color);
        position: absolute;
        z-index: 2;
    }
}
