:root {
    --bg-color-1: #020617;
    --bg-color-2: #0f172a;
    --bg-color-3: #1e293b;
    --bg-color-4: #020617;
    
    --neon-cyan: #00f2ff;
    --neon-purple: #9d00ff;
    --neon-pink: #ff0077;
    --neon-green: #00ff9c;
    --neon-orange: #ff7b00;
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color-1);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

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

ul {
    list-style: none;
}

/* Background Animation */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: linear-gradient(-45deg, var(--bg-color-1), var(--bg-color-2), var(--bg-color-3), var(--bg-color-4));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

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

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-purple);
    top: 10%;
    left: 10%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-cyan);
    bottom: 20%;
    right: 5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--neon-pink);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(180deg); }
}

/* Typography & Colors */
.crazy-gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-green), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: textGradient 6s ease infinite;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.glow-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-purple);
}

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: lowercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--neon-purple);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

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

.tagline {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.neon-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00f2ff, #9d00ff, #ff0077);
    border-radius: 30px;
    padding: 14px 28px;
    color: white;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
    transition: all 0.3s ease;
    text-align: center;
}

.neon-btn:hover {
    box-shadow: 0 0 25px var(--neon-cyan), 0 0 35px var(--neon-purple);
    transform: translateY(-3px);
}

.neon-btn.secondary {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2) inset, 0 0 10px rgba(0, 242, 255, 0.2);
}

.neon-btn.secondary:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px var(--neon-cyan) inset, 0 0 20px var(--neon-cyan);
}

.small-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.full-width {
    width: 100%;
}

/* Glass Cards Requirements exactly as prompted */
.glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px #00f2ff, 0 0 30px #9d00ff;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.03);
}

/* Dynamic Hover Interaction Layer */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.15), transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.glass-card > * {
    position: relative;
    z-index: 1;
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

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

/* Card Specifics */
.tool-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--neon-cyan);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Features */
.feature-card {
    padding: 40px 25px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

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

/* About */
.about-card {
    padding: 60px 40px;
}

.large-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e2e8f0;
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neon-cyan);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

/* Text Content Pages (Privacy/Terms) */
.text-content-card {
    padding: 50px;
}

.text-content-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.text-content-card h2 {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-content-card p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 8px var(--neon-pink);
}

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

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .crazy-gradient-text {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .text-content-card {
        padding: 30px;
    }
    .hero-section {
        padding-top: 100px;
    }
}