
:root {
    --bg-deep: #050508;
    --accent-primary: #00f2ff; /* Electric Cyan */
    --accent-secondary: #7000ff; /* Royal Purple */
    --accent-gold: #ffcc33;
    --text-pure: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-pure);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none; /* Custom cursor */
}

/* --- LOADING SCREEN --- */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
}
.loader-content { text-align: center; }
.loader-bar {
    width: 200px; height: 2px;
    background: #333;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.loader-progress {
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0%;
    background: var(--accent-primary);
    transition: width 0.5s;
}
.loader-text {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 5px;
    animation: blink 1s infinite;
}

/* --- IMMERSIVE BACKGROUND --- */
#bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #10101a 0%, #050508 100%);
}

#particle-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.aurora {
    position: fixed;
    width: 150vw; height: 150vh;
    top: -25vh; left: -25vw;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 242, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(112, 0, 255, 0.1) 0%, transparent 40%);
    z-index: -2;
    filter: blur(80px);
    animation: aurora-shift 20s infinite alternate ease-in-out;
    transition: transform 0.2s ease-out; /* Parallax movement */
}

@keyframes aurora-shift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(5%, 5%) rotate(5deg); }
}

/* --- CUSTOM CURSOR --- */
.cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    position: fixed;
    width: 4px; height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-hover {
    width: 80px; height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    perspective: 1000px;
}

.logo-box {
    position: relative;
    width: 150px; height: 150px;
    margin-bottom: 3rem;
    transform-style: preserve-3d;
}

.logo-img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.3));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.logo-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 250%; height: 250%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}

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

h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: 5.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    color: #fff;
    margin-bottom: 1rem;
    cursor: default;
}

.accent-katva {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: lowercase;
    font-weight: 400;
    /* Gradient Text for "Katva" */
    background: linear-gradient(90deg, #00f2ff, #7000ff, #ff0055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-left: -10px;
    letter-spacing: 0;
    transition: color 0.3s;
}

h1:hover .accent-katva {
    background: linear-gradient(90deg, #ff0055, #ffcc33, #00f2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    opacity: 0;
    /* Animation handled by JS */
}

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* --- MAGNETIC & GLOWING FORM --- */
.form-container {
    margin-top: 4rem;
    width: 100%;
    max-width: 450px;
    position: relative;
}

.cyber-input-group {
    display: flex;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 5px;
    border-radius: 100px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

/* Moving gradient border effect on hover */
.cyber-input-group::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    background-size: 400%;
    z-index: -1;
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.5s;
    animation: glowing 20s linear infinite;
}

.cyber-input-group:focus-within::before,
.cyber-input-group:hover::before {
    opacity: 1;
}

.cyber-input-group:focus-within {
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.15);
}

.form-inner-bg {
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background: #000; /* Inner mask */
    border-radius: 100px;
    z-index: 0;
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    z-index: 1;
    position: relative;
}

.btn-submit {
    padding: 15px 35px;
    border-radius: 100px;
    border: none;
    background: var(--text-pure);
    color: var(--bg-deep);
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    cursor: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: scale(1.05);
    background: var(--accent-primary);
    box-shadow: 0 0 30px var(--accent-primary);
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* --- CONTENT CARDS WITH TILT --- */
.content-section {
    padding: 10rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* The Tilt Container */
.glass-card-wrapper {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.glass-card {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 5rem;
    border-radius: 40px;
    position: relative;
    /* transform-style: preserve-3d; REMOVED for click stability */
    transition: transform 0.1s; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
    opacity: 0.5;
    border-radius: 40px; 
}

h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    /* transform: translateZ(30px); REMOVED */
}

.manifesto-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.4;
    text-align: center;
    color: var(--text-pure);
    margin-bottom: 4rem;
    /* transform: translateZ(20px); REMOVED */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    /* transform: translateZ(40px); REMOVED */
}

.feature-box {
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    transition: 0.4s;
    position: relative;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent-primary);
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    display: block;
    transition: 0.3s;
}

.feature-box:hover i {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-secondary);
    transform: scale(1.1) rotate(5deg);
}

.feature-box h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* --- SOCIAL HUB (MAGNETIC) --- */
.social-dock {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1000; 
    pointer-events: auto;
}

.magnetic-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Define space so hover works even if child moves */
    height: 60px;
}

.dock-item {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s; /* Removed transform transition to allow JS to control it smoothly */       
    opacity: 0.6;
    text-decoration: none;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    pointer-events: auto;
    border: 1px solid transparent;
    position: absolute; /* Allows movement within/relative to wrapper */
}

.dock-item:hover {
    opacity: 1;
    color: var(--accent-primary);
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5), inset 0 0 10px rgba(0, 242, 255, 0.2);
    /* Scale handled by JS magnetic effect now, or CSS if not moving */
}

/* --- 3D ARTIST MODEL --- */
#artist-3d {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 400px;
    z-index: 9999;
    pointer-events: none; /* Disable interaction again */
    opacity: 1;
}

/* --- GOALS SECTION (NEW) --- */
.goals-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto 4rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

.goal-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-primary); /* Default fallback */
    padding: 1.5rem;
    border-radius: 0 15px 15px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Individual Colors for Goals (Rainbow Palette) */
.goal-item:nth-child(1) { border-left-color: #00f2ff; }
.goal-item:nth-child(1) .goal-icon { color: #00f2ff; border-color: rgba(0, 242, 255, 0.3); }

.goal-item:nth-child(2) { border-left-color: #ff0055; }
.goal-item:nth-child(2) .goal-icon { color: #ff0055; border-color: rgba(255, 0, 85, 0.3); }

.goal-item:nth-child(3) { border-left-color: #7000ff; }
.goal-item:nth-child(3) .goal-icon { color: #7000ff; border-color: rgba(112, 0, 255, 0.3); }

.goal-item:nth-child(4) { border-left-color: #ffcc33; }
.goal-item:nth-child(4) .goal-icon { color: #ffcc33; border-color: rgba(255, 204, 51, 0.3); }

.goal-item:nth-child(5) { border-left-color: #39ff14; }
.goal-item:nth-child(5) .goal-icon { color: #39ff14; border-color: rgba(57, 255, 20, 0.3); }

.goal-item:nth-child(6) { border-left-color: #ff5e00; }
.goal-item:nth-child(6) .goal-icon { color: #ff5e00; border-color: rgba(255, 94, 0, 0.3); }

.goal-item:nth-child(7) { border-left-color: #0048ff; }
.goal-item:nth-child(7) .goal-icon { color: #0048ff; border-color: rgba(0, 72, 255, 0.3); }


/* Hover glow effect */
.goal-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: 0;
}

.goal-item:hover::before {
    transform: translateX(100%);
}

.goal-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.goal-icon {
    font-size: 1.8rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin-right: 1.2rem;
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.goal-item:hover .goal-icon {
    color: #fff !important; /* Turn white on hover */
    border-color: #fff !important;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 10px currentColor;
}

.goal-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.8rem; letter-spacing: -1px; }
    .tagline { font-size: 0.7rem; letter-spacing: 3px; }
    h2 { font-size: 1.8rem; }
    .manifesto-text { font-size: 1.1rem; }
    
    /* Layout Spacing */
    .hero { padding: 1rem; justify-content: center; }
    .content-section { padding: 4rem 1rem; }
    .glass-card { padding: 2.5rem 1.5rem; border-radius: 25px; }
    
    /* Goals Grid */
    .goals-list { 
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 1rem;
        margin-bottom: 3rem;
    }
    .goal-item { padding: 1rem; }
    .goal-icon { min-width: 40px; height: 40px; font-size: 1.4rem; margin-right: 1rem; }
    .goal-text { font-size: 0.9rem; }

    /* Form */
    .form-container { width: 100%; }
    input[type="email"] { font-size: 0.9rem; padding: 12px 15px; }
    .btn-submit { padding: 12px 25px; font-size: 0.7rem; }

    /* Social Dock */
    .social-dock { gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
    .magnetic-wrap { width: 50px; height: 50px; }
    .dock-item { width: 40px; height: 40px; font-size: 1.2rem; }

    /* 3D Model - Move to bottom center or hide if too obtrusive */
    #artist-3d {
        width: 140px;
        height: 180px;
        right: 0;
        bottom: 0;
        z-index: 50; /* Lower z-index so it doesn't block content */
        opacity: 0.8;
    }

    /* Disable Custom Cursor on Touch */
    .cursor-ring, .cursor-dot { display: none; }
    body { cursor: auto; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .logo-box { width: 100px; height: 100px; }
    #artist-3d { width: 100px; height: 140px; }
}
