:root {
    --bg-color: #07090f;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-1: #00f2fe;
    --accent-2: #4facfe;
    --glass-bg: rgba(20, 25, 40, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

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

/* Background Animated Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out alternate;
}

.blob-1 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    top: -15vw;
    left: -15vw;
}

.blob-2 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    bottom: -10vw;
    right: -10vw;
    animation-delay: -7s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(3%, 3%) scale(1.05); }
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 100px;
    position: sticky;
    top: 2rem;
    z-index: 100;
    transition: transform 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-1);
}

.demo-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #f43f5e, #fb923c);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    vertical-align: super;
    margin-left: 0.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 2px 10px rgba(244, 63, 94, 0.3);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

/* Typography & Layout */
main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--accent-1);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.35rem;
    max-width: 650px;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #07090f;
    box-shadow: 0 10px 20px -10px var(--accent-1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px -10px var(--accent-2);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.05);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease;
    border-top: 2px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
}

.slide-up.visible {
    animation: fadeIn 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Splitting Page Additions */
.page-content {
    gap: 3rem;
}

.content-header {
    padding: 4rem 2rem;
    text-align: center;
}

.content-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.text-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-content h2 {
    font-size: 2rem;
}

.text-content p {
    color: var(--text-secondary);
}

.custom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.custom-list li::before {
    content: '✓';
    color: var(--accent-1);
    font-weight: bold;
    background: rgba(0, 242, 254, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.visual-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.abstract-art {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.c1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 20%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.5), transparent);
    animation: rotate 15s linear infinite;
}

.c2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    background: linear-gradient(135deg, transparent, rgba(79, 172, 254, 0.4));
    animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Forms */
.form-section {
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.form-section h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.form-section p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-group input,
.input-group select,
.input-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.15);
}

.input-group select option {
    background-color: var(--bg-color);
}

.submit-btn {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--bg-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

.submit-btn.loading span {
    opacity: 0;
}

.submit-btn.loading .spinner {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    display: none;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
    animation: fadeIn 0.4s ease;
    margin-top: 1rem;
}

.form-feedback.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
        width: 95%;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 4rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .split-section {
        grid-template-columns: 1fr;
    }
    .form-section {
        padding: 2.5rem;
    }
}
