/* OKLCH Color Palette & Variables */
:root {
    /* Base Colors */
    --bg-color: oklch(15% 0.02 250);
    --text-primary: oklch(98% 0.01 250);
    --text-secondary: oklch(80% 0.02 250);
    
    /* Accents - Based on Logo (Pink to Purple/Blue) */
    --accent-primary: oklch(75% 0.2 330); /* Pinkish Magenta */
    --accent-secondary: oklch(70% 0.18 280); /* Purple-Blue */
    --accent-tertiary: oklch(75% 0.15 190); /* Cyan */
    
    /* Gradient */
    --logo-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Diffuse Background Effect */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-tertiary);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 18, 25, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Image Integration */
.hero-image-container {
    margin-top: 60px;
    perspective: 1000px; /* 3D Perspective */
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    max-width: 900px;
    width: 100%;
    transform: rotateX(10deg) rotateY(0deg);
    transition: transform 0.5s ease;
    border-radius: 16px;
    padding: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper:hover {
    transform: rotateX(0deg) scale(1.02);
}

.hero-interface-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Background Glow behind the image */
.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--logo-gradient);
    filter: blur(80px);
    opacity: 0.2;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* Features Grid */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--accent-primary);
}

/* FAQ Styles */
.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}
.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(255,255,255,0.05);
}
.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-question {
    color: var(--accent-primary);
}
.faq-toggle {
    transition: transform 0.3s;
}
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.icp-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 15px;
}

.icp-link:hover {
    color: var(--accent-primary);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}
