/* adramp/static/css/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* --- CUSTOM FONTS (Founders Grotesk equivalent geometry) --- */
/* We will use Inter with very tight tracking to mimic the architectural feel */

:root {
    /* Colors - Gradient Labs Aura */
    --c-bg-porcelain: #F4F2EB;
    --c-text-primary: #000000;
    --c-text-secondary: #585552;
    --c-accent-orange: #FF8542;

    --c-card-bg: #FFFFFF;
    --c-border-light: #E0DDD5;

    --c-chat-user: #F4F2EB;
    --c-chat-ai: #3B3735;

    --c-black-section: #000000;

    /* Typography */
    --f-sans: 'Inter', system-ui, sans-serif;

    /* Layout & Shadows */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 30px 60px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* === BASE RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

::selection {
    background: var(--c-text-primary);
    color: white;
}

/* === LAYOUT UTILITIES === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
    font-family: var(--f-sans);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
}

p {
    font-size: 1.125rem;
    color: var(--c-text-secondary);
    line-height: 1.5;
}

/* Label Pattern (e.g., ■ Product) */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-primary);
    margin-bottom: 2rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--c-text-primary);
}

.section-label.light {
    color: white;
}

.section-label.light::before {
    background-color: white;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    /* Pill shape */
    font-weight: 500;
    font-family: var(--f-sans);
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

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

.btn-primary:hover {
    transform: scale(1.02);
    background: #222;
}

.btn-accent {
    background: var(--c-accent-orange);
    color: var(--c-text-primary);
}

.btn-accent:hover {
    transform: scale(1.03);
    background: #ff9a5e;
}

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

.btn-outline:hover {
    border-color: var(--c-text-primary);
    background: white;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(244, 242, 235, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--c-text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-link:hover {
    opacity: 1;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    position: relative;
    padding-top: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Faint Geometric Grid via SVG Data URI */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M120 0H0V120H120V0Z' fill='transparent'/%3E%3Cpath d='M60 0V120M0 60H120' stroke='%23E0DDD5' stroke-width='1'/%3E%3Cpath d='M30 30L90 90M30 90L90 30' stroke='%23E0DDD5' stroke-width='0.5'/%3E%3C/svg%3E");
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.hero-text h1 {
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.5rem;
    max-width: 650px;
    margin: 0 auto;
    color: var(--c-text-secondary);
}

/* Hero Mockup (The Chat Interface) */
.hero-mockup {
    background: var(--c-card-bg);
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 4rem;
}

.mockup-pill {
    background: var(--c-bg-porcelain);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Chat Bubbles */
.chat-msg {
    max-width: 80%;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.msg-ai {
    background: var(--c-chat-ai);
    color: white;
    border-bottom-left-radius: 4px;
}

.msg-user {
    background: var(--c-chat-user);
    color: var(--c-text-primary);
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

/* === THE BLACK SECTION (Problem/Agitation) === */
.section-black {
    background-color: var(--c-black-section);
    color: white;
    padding: 160px 0;
}

.section-black h2 {
    color: white;
}

.section-black p {
    color: #A0A0A0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.problem-card {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
}

.problem-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.problem-card p {
    font-size: 1.125rem;
}

/* === HOW IT WORKS (Solution) === */
.steps-wrapper {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--c-border-light);
}

.step-row:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--c-text-secondary);
    width: 50px;
}

.step-text {
    flex: 1;
}

.step-text h3 {
    margin-bottom: 1rem;
}

.step-visual {
    flex: 1.5;
    background: var(--c-card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Integrations layout inside steps */
.integ-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.integ-tag {
    background: white;
    border: 1px solid var(--c-border-light);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* === FEATURE SPLITS === */
.feature-split {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 120px;
}

.feature-split:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.feature-text ul {
    list-style: none;
    margin-top: 2rem;
}

.feature-text li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    color: var(--c-text-secondary);
}

.feature-text li::before {
    content: '→';
    color: var(--c-text-primary);
}

.feature-visual {
    flex: 1.2;
}

.feature-card-large {
    background: var(--c-card-bg);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Action Execution Card Mockup */
.exec-card {
    border: 1px solid var(--c-border-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    background: var(--c-chat-user);
}

.exec-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--c-border-light);
    padding-bottom: 1rem;
}

/* === ROADMAP === */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.roadmap-card {
    background: transparent;
    border: 1px solid var(--c-border-light);
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    transition: var(--transition);
}

.roadmap-card:hover {
    background: white;
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.status-pill {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.status-pill.dev {
    background: var(--c-text-primary);
    color: white;
}

.status-pill.soon {
    background: var(--c-border-light);
    color: var(--c-text-primary);
}

/* === FINAL CTA === */
.cta-massive {
    text-align: center;
    padding: 200px 0;
}

.cta-massive h2 {
    font-size: clamp(4rem, 8vw, 7.5rem);
    margin-bottom: 3rem;
    line-height: 1;
}

/* === FOOTER === */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--c-border-light);
}

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

.footer-link {
    font-size: 0.875rem;
    color: var(--c-text-secondary);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--c-text-primary);
}

/* === ANIMATIONS === */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {

    .feature-split,
    .feature-split:nth-child(even) {
        flex-direction: column;
        gap: 4rem;
    }

    .step-row {
        flex-direction: column;
        gap: 2rem;
    }

    .step-number {
        width: auto;
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--c-text-primary);
    }

    .hero {
        padding-top: 140px;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .hero-mockup {
        padding: 1.5rem;
    }

    .chat-msg {
        max-width: 100%;
        font-size: 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-black {
        padding: 80px 0;
    }
}