@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --brand-primary: #2563eb;
    --brand-secondary: #3b82f6;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --radius-full: 9999px;
    --radius-2xl: 2.5rem;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 2rem;
}

em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--brand-primary);
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Layout */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 120px 0;
}

.section-alt {
    background: var(--bg-alt);
    padding: 160px 0;
    /* More padding for Planelo feel */
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1rem 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    color: var(--text-main);
}

.nav-brand img {
    height: 34px;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    background: var(--brand-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.04);
}

.btn-white {
    background: white;
    color: var(--brand-primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
}

/* Hero Section */
.hero {
    padding-top: 200px;
    text-align: center;
    background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero .badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    justify-content: center;
}

/* Bento Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: 3.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

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

.card-large {
    grid-column: span 8;
}

.card-medium {
    grid-column: span 6;
}

.card-small {
    grid-column: span 4;
}

@media (max-width: 900px) {

    .card-large,
    .card-medium,
    .card-small {
        grid-column: span 12;
    }

    .nav-links {
        display: none;
    }
}

/* Mockup Stack */
.mockup-stack {
    margin-top: 8rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: -4.5rem;
    position: relative;
    padding-bottom: 4rem;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-frame .screen {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    background-size: cover;
    background-position: center;
}

.phone-1 {
    transform: rotate(-5deg) translateY(20px);
    z-index: 1;
}

.phone-2 {
    transform: rotate(5deg) translateX(-40px);
    z-index: 2;
}

.phone-frame:hover {
    transform: translateY(-20px) scale(1.05);
    z-index: 10;
}

/* Sections specific spacing */
#testers {
    padding-top: 200px;
    /* More space from previous section */
    padding-bottom: 80px;
}

#cta {
    padding-top: 80px;
    padding-bottom: 200px;
    /* More space from footer */
}

.cta-box {
    background: var(--brand-primary);
    border-radius: 3.5rem;
    padding: 6rem 3rem;
    text-align: center;
    color: white;
}

.cta-box h2,
.cta-box p {
    color: white;
}

/* Contact Form */
.contact-container {
    max-width: 500px;
    margin: 4rem auto 0;
    text-align: left;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form select option {
    background: var(--brand-primary);
    color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.contact-form ::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Lists */
.feature-list {
    display: grid;
    gap: 3rem;
    padding-left: 2rem;
}

.feature-list-item {
    position: relative;
}

.feature-list-item strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

.feature-list-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Blobs */
.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

/* Footer */
footer {
    padding: 80px 0 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-links {
    display: flex;
    gap: 2.5rem;
}

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