:root {
    --bg-color: #fbfbfd;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --primary-glow: rgba(173, 216, 230, 0.6);
    --secondary-glow: rgba(255, 182, 193, 0.5);
    
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Gradients */
.background-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.background-glow.glow-2 {
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 60%);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 96px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background: #1d1d1f;
    color: #ffffff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 2rem;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #1d1d1f 0%, #434353 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Ecosystem / Bento Grid */
.ecosystem-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: minmax(400px, 1fr);
}

.card-large {
    grid-column: span 2;
}
@media (max-width: 768px) {
    .card-large {
        grid-column: span 1;
    }
    
    .navbar {
        padding: 1rem 3%;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 48px;
        border-radius: 12px;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.4s;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card-content {
    position: relative;
    z-index: 2;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    color: #1d1d1f;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s;
    gap: 5px;
}
.bento-card:hover .app-link {
    gap: 10px;
}

.app-icon {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lock-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.coming-soon-card {
    border: 1px dashed rgba(0, 0, 0, 0.15);
    background: transparent;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.coming-soon-card:hover {
    transform: none;
    border-color: rgba(0, 0, 0, 0.3);
}

/* Mouse Hover Glow Effect via JS */
.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    border-radius: 50%;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1;
}
.bento-card:hover .card-glow {
    opacity: 1;
}

/* Features */
.features-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.features-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-item {
    padding: 2rem;
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.feature-item p {
    color: var(--text-muted);
}

/* Newsletter */
.newsletter-section {
    padding: 5rem 5%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-container {
    padding: 4rem 2rem;
    align-items: center;
}
.newsletter-container h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.newsletter-container p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.ml-form-formContent {
    margin-bottom: 1rem;
}
.ml-field-email input {
    width: 100%;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fbfbfd;
    color: #1d1d1f;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.ml-field-email input:focus {
    border-color: rgba(0, 0, 0, 0.3);
}
.ml-form-embedSubmit button {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}
.ml-error input {
    border-color: #ff4d4f;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 5%;
    margin-top: 5rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: #1d1d1f;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
