:root {
    --dark-bg: #0a0a0f;
    --midnight-blue: #0d1117;
    --charcoal: #161b22;
    --obsidian: #010409;
    --electric-cyan: #00f2ff;
    --amethyst-purple: #9d6cff;
    --gold-filament: #ffc700;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
}

body {
    background-color: var(--obsidian);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, var(--midnight-blue) 0%, var(--obsidian) 100%);
}

.content {
    padding: 0 5%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

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

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--dark-bg);
}

.btn-primary {
    background: linear-gradient(45deg, var(--amethyst-purple), var(--electric-cyan));
    color: var(--dark-bg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 10px 20px rgba(0, 242, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }
}

.hero {
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(45deg, var(--electric-cyan), var(--amethyst-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-visualization {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Placeholder for 3D visualization */
    background: radial-gradient(circle, rgba(13,17,23,0) 0%, rgba(13,17,23,1) 80%),
    linear-gradient(45deg, var(--amethyst-purple) 0%, var(--electric-cyan) 100%);
    border-radius: 10px;
    opacity: 0.3;
}

.services-grid {
    padding: 4rem 0;
}

.services-grid h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.bento-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.panel {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.panel:hover {
    transform: translateY(-10px);
    border-color: var(--electric-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.panel-large {
    grid-column: span 1;
}

.panel-medium {
    grid-column: span 1;
}

.panel h3 {
    color: var(--electric-cyan);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.panel h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.panel-visual {
    height: 150px;
    background: var(--charcoal);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.panel-icons {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
}

.playground-teaser {
    padding: 6rem 0;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}
.playground-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(5px);
}


.playground-teaser h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.mock-ui {
    background: rgba(13, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    width: 70%;
}

.prompt-bar-container input {
    width: 100%;
    padding: 1rem;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.floating-selectors {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.footer-links, .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-primary);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hero-visualization {
    height: 300px; /* Keep a defined height for the container */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    display: flex; /* Ensure content is centered if not full width/height */
    align-items: center;
    justify-content: center;
    /* Removed placeholder background and opacity */
    background: transparent;
    opacity: 1;
}

.panel-visual {
    height: 150px; /* Keep a defined height for the container */
    background: transparent; /* Remove placeholder background */
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative; /* Needed for absolute positioning of children */
    overflow: hidden; /* Hide overflow from object-fit */
}

.panel-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px; /* Match container border-radius */
}

.header-logo {
    height: 40px; /* Adjust as needed */
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 1rem;
}
