:root {
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --surface-alt: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-cyan: #06b6d4;
    --accent-blue: #0099ff; /* Matches the new logo blue */
    --accent-dark: #020617;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 40px -5px rgba(0, 153, 255, 0.15);
    --shadow-glow: 0 0 20px rgba(0, 153, 255, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Subtle Animated Grid Background */
.tech-grid-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 153, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    gap: 8px;
}

.btn-outline {
    border: 2px solid var(--accent-dark);
    color: var(--accent-dark);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-dark);
    color: white;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.btn-text:hover {
    color: var(--accent-blue);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 153, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-light {
    background: rgba(255,255,255,0.1);
    color: var(--accent-cyan);
}

/* Split Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--accent-dark);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Abstract Visual */
.abstract-tech {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 153, 255, 0.2);
    border-top-color: var(--accent-blue);
    animation: spin linear infinite;
}

.ring-1 { width: 300px; height: 300px; animation-duration: 20s; }
.ring-2 { width: 450px; height: 450px; animation-duration: 30s; animation-direction: reverse; border-top-color: var(--accent-cyan); opacity: 0.5; }
.ring-3 { width: 200px; height: 200px; animation-duration: 15s; border: 2px dashed rgba(0, 153, 255, 0.3); }

.tech-node {
    position: absolute;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.center-node { width: 80px; height: 80px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue)); animation: pulse 3s infinite; }
.node-1 { width: 20px; height: 20px; top: 15%; left: 25%; animation: float 4s infinite alternate; }
.node-2 { width: 15px; height: 15px; bottom: 20%; right: 20%; animation: float 5s infinite alternate-reverse; background: var(--accent-cyan); }
.node-3 { width: 25px; height: 25px; top: 40%; right: 10%; animation: float 6s infinite alternate; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 20px rgba(0,153,255,0.4); } 50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(0,153,255,0.6); } 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0,153,255,0.4); } }
@keyframes float { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }

/* Dynamic Bento Grid Strategy */
.value-prop {
    padding: 120px 0;
    background: linear-gradient(to bottom, transparent, rgba(0,153,255,0.02));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    color: var(--accent-dark);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 24px;
}

.bento-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,153,255,0.2);
}

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

/* Card Sizes for Bento Layout */
.card-large { grid-column: span 2; grid-row: span 2; }
.card-wide { grid-column: span 2; grid-row: span 1; }
.card-medium { grid-column: span 1; grid-row: span 2; }
.card-small { grid-column: span 1; grid-row: span 1; }

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--surface-alt);
    border-radius: 16px;
    margin-bottom: 24px;
}

.bento-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--surface-alt);
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
    z-index: 0;
    transition: color 0.3s ease;
}

.bento-card:hover .bento-number {
    color: rgba(0,153,255,0.1);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--accent-dark);
    position: relative;
    z-index: 1;
}

.bento-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

.bento-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.card-large .bento-image {
    height: 240px;
}

.card-small .bento-image {
    height: 120px;
}

.tech-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at bottom right, rgba(0,153,255,0.1) 0%, transparent 70%);
}

/* High Contrast Offer Section */
.offer-section {
    background: var(--accent-dark);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,153,255,0.1) 0%, transparent 50%);
}

.offer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.text-white { color: #ffffff !important; }
.text-cyan { color: var(--accent-cyan); }
.text-light { color: #94a3b8 !important; font-size: 1.125rem; margin-bottom: 32px; }

.benefit-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefit-list li {
    color: #f8fafc;
    font-size: 1.125rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.check {
    color: var(--accent-cyan);
    margin-right: 12px;
    font-weight: bold;
    background: rgba(6,182,212,0.1);
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

.form-container {
    background: #ffffff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--accent-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface-alt);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,153,255,0.1);
}

.honeypot { display: none; }

.form-message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.success { display: block; background: rgba(16, 185, 129, 0.1); color: #10b981; }
.form-message.error { display: block; background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.btn.loading { opacity: 0.7; pointer-events: none; }

/* Scroll Animations */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Footer */
footer {
    background: #ffffff;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 32px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-subtitle { margin: 0 auto 40px auto; }
    .hero-actions { justify-content: center; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .card-large, .card-wide { grid-column: span 2; }
    .card-medium, .card-small { grid-column: span 1; }
    .offer-wrapper { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .card-large, .card-wide, .card-medium, .card-small { grid-column: span 1; grid-row: auto; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
