/* ===== GOOGLE FONTS & VARIABLES ===== */
:root {
    --bg-color: #050505;
    --text-color: #f1f1f1;
    --text-muted: #949494;
    
    /* Neons & Accents */
    --neon-cyan: #00f5d4;
    --neon-purple: #9d4edd;
    --accent: #5a189a;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

section,
header,
footer {
    scroll-margin-top: 120px;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    padding: 0.85rem 1.25rem;
    background: var(--text-color);
    color: var(--bg-color);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 245, 212, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Cursor interaction class added via JS */
.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 245, 212, 0.1);
    border-color: transparent;
}

/* ===== UTILITIES ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-kicker {
    color: var(--neon-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header {
    max-width: 820px;
    margin: 0 auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), var(--accent));
    color: white;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

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

.btn-outline:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.2) inset;
    color: var(--neon-cyan);
}

.full-width {
    width: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    width: calc(100% - 4rem);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.nav-links .neon-text {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 170px;
    padding-bottom: 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--neon-purple);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--neon-cyan);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.2); }
}

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

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero .section-kicker,
.about-text .section-kicker,
.section-header .section-kicker {
    color: var(--neon-cyan);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    max-width: none;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.hero-meta li {
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 8rem 0;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    border-color: rgba(255,255,255,0.15);
}

.feature-card .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 245, 212, 0.1);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ===== PORTFOLIO / MASTERPIECE SECTION ===== */
.portfolio {
    padding: 8rem 0;
    position: relative;
}

.masterpiece-showcase {
    margin-top: 4rem;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-color: rgba(157, 78, 221, 0.3);
    background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(157, 78, 221, 0.05) 100%);
}

.glowing-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(0, 245, 212, 0.1);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.masterpiece-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.masterpiece-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.masterpiece-content .highlight {
    color: var(--text-color);
    font-weight: 500;
    border-left: 2px solid var(--neon-purple);
    padding-left: 1rem;
}

.abstract-shape {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.ring-1 {
    width: 250px; height: 250px;
    border-color: var(--neon-purple);
    animation: spin 10s linear infinite;
    border-top-color: transparent;
}
.ring-2 {
    width: 200px; height: 200px;
    border-color: var(--neon-cyan);
    animation: spin-reverse 8s linear infinite;
    border-right-color: transparent;
}
.ring-3 {
    width: 150px; height: 150px;
    border-color: var(--text-color);
    animation: spin 6s linear infinite;
    border-bottom-color: transparent;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 8rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.popular {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.1);
    transform: scale(1.05); /* Highlight slightly */
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-cyan);
    color: var(--bg-color);
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.card-header h3,
.card-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

.features {
    flex: 1;
    margin-bottom: 2.5rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.features li i {
    color: var(--neon-purple);
    font-size: 1.2rem;
}

.popular .features li i {
    color: var(--neon-cyan);
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
}

.footer-box {
    padding: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
}

.brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links h3,
.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--text-color);
}

.contact-info {
    font-style: normal;
}

.contact-info p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.big-email {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.big-email:hover {
    color: var(--neon-cyan);
}

.copyright p {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS & EFFECTS ===== */
/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ===== FIXED SIDE ELEMENTS ===== */
.side-elements {
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 90;
}

.left-side {
    left: 40px;
    flex-direction: column;
}

.right-side {
    right: 40px;
    flex-direction: column;
}

.side-elements a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.side-elements a:hover {
    color: var(--neon-cyan);
    transform: translateY(-5px);
}

.social-line {
    width: 2px;
    height: 100px;
    background: var(--glass-border);
}

.vertical-text {
    writing-mode: vertical-rl;
    font-family: var(--font-heading);
    font-size: 0.9rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== HERO VISUAL RIGHT SIDE ===== */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-card {
    width: 380px;
    height: 480px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0, 245, 212, 0.05));
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 245, 212, 0.1), inset 0 0 20px rgba(157, 78, 221, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hologram-code span {
    color: var(--neon-purple);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
}

.code-line {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin: 1rem 0;
    width: 80%;
}
.code-line.short { width: 50%; }
.code-line.long { width: 95%; background: rgba(0,245,212,0.2); }
.code-line.purple { width: 70%; background: rgba(157,78,221,0.2); }

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: floatingIcon 4s ease-in-out infinite alternate;
}

.floating-icon.icon-1 { top: -20px; left: -20px; color: var(--neon-cyan); animation-delay: 0s; }
.floating-icon.icon-2 { bottom: 50px; right: -30px; color: var(--neon-purple); animation-delay: 1.5s; }
.floating-icon.icon-3 { top: 40%; right: -20px; color: white; animation-delay: 0.7s; }

@keyframes floatingIcon {
    0% { transform: translateY(0) rotate(0); }
    100% { transform: translateY(-15px) rotate(10deg); }
}

/* ===== SERVICES SECTION ===== */
.services { padding: 8rem 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}
.service-box {
    padding: 3rem;
    transition: transform 0.3s;
}
.service-box h3 {
    margin-bottom: 1rem;
}
.service-box p {
    color: var(--text-muted);
}
.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.1);
}
.service-box .icon-box {
    width: 60px; height: 60px;
    background: rgba(157, 78, 221, 0.1);
    color: var(--neon-purple);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 1.5rem;
}

/* ===== PROCESS SECTION ===== */
.process { background: rgba(255,255,255,0.01); padding: 8rem 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    padding-left: 0;
    list-style: none;
}
.step { position: relative; }
.step p { color: var(--text-muted); }
.step-number {
    font-family: var(--font-heading); font-size: 4rem; font-weight: 700;
    color: rgba(255,255,255,0.05); -webkit-text-stroke: 1px rgba(0,245,212,0.3);
    margin-bottom: 1rem; line-height: 1;
}
.step h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--neon-cyan); }

/* ===== SEO CONTENT ===== */
.seo-content {
    padding: 8rem 0;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.seo-card {
    padding: 2rem;
}

.seo-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

/* ===== TECH STACK MARQUEE ===== */
.tech-stack-container {
    padding: 4rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.05), transparent);
}
.tech-stack {
    display: inline-block;
    animation: scrollStack 20s linear infinite;
}
.tech-stack span {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 600;
    margin: 0 3rem; color: var(--glass-border); transition: color 0.3s;
}
.tech-stack span:hover { color: var(--text-color); text-shadow: 0 0 20px rgba(255,255,255,0.3); }
@keyframes scrollStack { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== FAQ SECTION ===== */
.faq { padding: 8rem 0; }
.faq-accordion { margin-top: 4rem; display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin-inline: auto; }
.faq-item { padding: 0 2rem; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; color: var(--text-color);
    font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; padding: 1.5rem 0;
    display: flex; justify-content: space-between; align-items: center; cursor: none;
}
.faq-question i { color: var(--neon-cyan); transition: transform 0.3s; }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted); padding-bottom: 0;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--neon-purple); }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .side-elements { display: none; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

@media (max-width: 992px) {
    .about-grid, .masterpiece-showcase, .services-grid, .seo-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 4rem auto 0;
    }
    .popular {
        transform: scale(1);
    }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .masterpiece-showcase {
        padding: 2rem;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .abstract-shape { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-meta { flex-direction: column; }
    .big-email { font-size: 1.5rem; }
    
    .cursor-dot, .cursor-outline {
        display: none; /* Disable custom cursor on mobile */
    }
    * { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .blob,
    .ring,
    .floating-icon,
    .tech-stack {
        animation: none;
    }

    .reveal,
    .reveal.active {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
