:root {
    --bg: #0a0a0c;
    --primary: #00f2ff;
    --secondary: #7000ff;
    --glass: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo-text {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Orbitron';
}

.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-main {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-main:hover {
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 0 20px var(--primary);
}

.spline-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-sphere {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.5); opacity: 0.8; }
}

/* Projects */
.projects {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.project-card:hover .img-placeholder {
    transform: scale(1.1);
}

.card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* Contact Chatflow */
.contact {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.chat-container {
    width: 100%;
    max-width: 600px;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.chat-header {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-content {
    padding: 30px;
    height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 80%;
}

.message.bot {
    background: rgba(255,255,255,0.1);
    align-self: flex-start;
}

.message.user {
    background: var(--secondary);
    align-self: flex-end;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.opt-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.opt-btn:hover {
    background: var(--primary);
    color: var(--bg);
}

footer {
    text-align: center;
    padding: 50px;
    opacity: 0.5;
    font-size: 0.8rem;
}
