@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.7);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.2);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.2);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-black);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Glow Backgrounds */
.glow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
}

.orb-3 {
    top: 40%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: #8b5cf6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    background: var(--text-main);
    color: var(--bg-black);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 5% 80px;
    position: relative;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-block;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    max-width: 1000px;
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, #fff 50%, #71717a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-image {
    width: 100%;
    max-width: 1100px;
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    background: var(--bg-dark);
    padding: 12px;
    transform: perspective(1000px) rotateX(10deg);
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Bento Grid */
.section {
    padding: 120px 5%;
}

.section-header {
    margin-bottom: 64px;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.bento-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: var(--transition);
}

.bento-item:hover .bento-img {
    transform: scale(1.05);
    opacity: 0.5;
}

/* Contact Form */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 64px;
    border-radius: 32px;
    border: 1px solid var(--border);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-full {
    grid-column: span 2;
}

.form-submit {
    margin-top: 32px;
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-item.large { grid-column: span 2; grid-row: auto; height: 400px; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 24px; }
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-full { grid-column: auto; }
}