/* =========================================================
   Veyra Labs - AI Solutions & Innovation Studio
   Theme: Cyber Midnight, Violet Glow, Cursor Motion Graphics
========================================================= */

:root {
    --bg-dark: #040711;
    --bg-card: rgba(13, 19, 36, 0.7);
    --bg-card-hover: rgba(23, 32, 59, 0.85);
    --primary-violet: #8B5CF6;
    --primary-cyan: #06B6D4;
    --accent-emerald: #10B981;
    --accent-pink: #EC4899;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(139, 92, 246, 0.4);
    --gradient-violet-cyan: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    --shadow-purple: 0 0 35px rgba(139, 92, 246, 0.25);
    --shadow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    cursor: default;
}

/* Custom Interactive Follower Cursor */
.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 10px var(--primary-cyan);
}

.custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

/* Morphing Background Blobs */
.morph-bg-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.morph-blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.4;
    animation: morphAnimation 18s ease-in-out infinite alternate;
    transition: transform 0.8s ease-out;
}

.blob-1 {
    top: -120px;
    left: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #8B5CF6 0%, #06B6D4 100%);
}

.blob-2 {
    top: 35%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #EC4899 0%, #8B5CF6 100%);
    animation-delay: -6s;
}

.blob-3 {
    bottom: -150px;
    left: 25%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #10B981 0%, #06B6D4 100%);
    animation-delay: -12s;
}

@keyframes morphAnimation {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        border-radius: 65% 35% 48% 52% / 30% 65% 35% 70%;
        transform: translate(40px, 60px) rotate(180deg) scale(1.08);
    }
    100% {
        border-radius: 50% 50% 32% 68% / 60% 35% 65% 40%;
        transform: translate(-30px, -40px) rotate(360deg) scale(0.96);
    }
}

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

/* Navbar */
.navbar {
    background: rgba(4, 7, 17, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    transition: var(--transition);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
    transition: transform 0.4s ease;
}

.brand-logo:hover .logo-svg {
    transform: rotate(15deg) scale(1.05);
}

.brand-text {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.brand-text span {
    background: var(--gradient-violet-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-violet-cyan);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-violet-cyan);
    color: #040711;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.55);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--primary-violet);
    color: var(--primary-cyan);
    background: rgba(139, 92, 246, 0.12);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 90px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary-cyan);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1.2px;
}

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

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

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 70px;
}

/* Mouse Movement Interactive Spotlight Cards */
.spotlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-purple);
}

/* Motion Graphics Canvas / Interactive Neural Sandbox */
.sandbox-box {
    background: rgba(13, 19, 36, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-cyan);
    margin-top: 40px;
    position: relative;
}

.sandbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sandbox-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent-emerald);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Grid Layouts */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title span {
    background: var(--gradient-violet-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 17px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-cyan);
    margin-bottom: 24px;
    transition: var(--transition);
}

.spotlight-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--primary-cyan);
}

.spotlight-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.spotlight-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    padding: 85px 0 55px;
    text-align: center;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto;
}

/* FAQ Accordion */
.accordion {
    max-width: 820px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 22px 26px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}

.accordion-header:hover {
    color: var(--primary-cyan);
}

.accordion-content {
    padding: 0 26px 22px;
    color: var(--text-muted);
    font-size: 15px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item.active .accordion-content {
    display: block;
    margin-top: 14px;
}

.accordion-item.active {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

/* Auth Card */
.auth-wrapper {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 44px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-purple);
    backdrop-filter: blur(20px);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--primary-cyan);
    border-bottom-color: var(--primary-cyan);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(4, 7, 17, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-violet);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

/* Footer */
.footer {
    background: #020409;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 35px;
    margin-top: auto;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 18px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-cyan);
    padding-left: 4px;
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .grid-3, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    .grid-3, .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .custom-cursor-dot, .custom-cursor-ring {
        display: none; /* Hide custom cursor on touch devices */
    }
}
