/* ========================================
   BUDHIAM - Main Stylesheet
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #09090B;
    --bg-secondary: #111113;
    --bg-tertiary: #18181B;
    --bg-elevated: #1F1F23;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #FAFAFA;
    --text-secondary: #A1A1AA;
    --text-tertiary: #71717A;
    
    --accent: #A855F7;
    --accent-hover: #9333EA;
    --accent-muted: rgba(168, 85, 247, 0.15);
    
    --gradient-accent: linear-gradient(135deg, #A855F7 0%, #6366F1 100%);
    --gradient-warm: linear-gradient(135deg, #8B3A5C 0%, #6B4C7A 100%);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Newsreader', Georgia, serif;
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}



/* ========================================
   TYPOGRAPHY
   ======================================== */
.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.section-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-tertiary);
}

/* ========================================
   BUTTONS (globaux)
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: 140px var(--space-2xl) 80px;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #FAFAFA;
    background: var(--accent-muted);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.typing-text {
    color: var(--accent);
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 0.85em;
    background: var(--accent);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-actions .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
}

.hero-metrics {
    display: flex;
    gap: var(--space-2xl);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* Hero Visual - Phone + Bubbles */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 650px;
}

.phone-container {
    position: relative;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.phone-container:hover {
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
}

.phone-image {
    max-height: 600px;
    width: auto;
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.5));
    transition: opacity 0.3s ease;
}

/* Bubbles */
.bubble {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-width: 220px;
    z-index: 10;
}

.bubble-1 {
    top: 5%;
    right: -10%;
    animation: floatBubble 5s ease-in-out infinite;
}

.bubble-2 {
    top: 28%;
    left: -15%;
    animation: floatBubble 6s ease-in-out infinite 0.5s;
}

.bubble-3 {
    bottom: 30%;
    right: -12%;
    animation: floatBubble 5.5s ease-in-out infinite 1s;
}

.bubble-4 {
    bottom: 8%;
    left: -10%;
    animation: floatBubble 5s ease-in-out infinite 1.5s;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bubble-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bubble-content {
    flex: 1;
    min-width: 0;
}

.bubble-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 4px;
}

.bubble-text {
    font-size: 0.8rem;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.bubble-text strong {
    font-weight: 600;
}

/* Hero Logos Marquee */
.hero-logos {
    margin-top: 32px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.hero-logos-track {
    display: flex;
    gap: 60px;
}

.hero-logo {
    height: 34px;
    width: auto;
    opacity: 0.4;
    filter: grayscale(100%) brightness(200%);
    flex-shrink: 0;
}



/* ========================================
   PRESS LOGOS
   ======================================== */
.press-section {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.press-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-xl);
}

.press-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.press-track {
    display: flex;
    gap: 80px;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.press-logo {
    height: 28px;
    width: auto;
    opacity: 0.4;
    filter: grayscale(100%) brightness(200%);
    transition: opacity var(--transition-base);
    flex-shrink: 0;
}

.press-logo:hover {
    opacity: 0.7;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: var(--space-4xl) var(--space-2xl);
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.testimonials-content .section-title {
    margin-bottom: var(--space-xl);
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.testimonial {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.testimonial:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.testimonial blockquote p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.testimonial footer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9375rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info cite {
    font-style: normal;
    font-weight: 500;
    font-size: 0.9375rem;
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* Download CTA */
.download-cta {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: sticky;
    top: 100px;
}

.download-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.download-content > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.store-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.store-btn svg {
    flex-shrink: 0;
}

.store-btn span {
    display: flex;
    flex-direction: column;
}

.store-btn small {
    font-size: 0.7rem;
    opacity: 0.7;
}

.store-btn strong {
    font-size: 1rem;
    font-weight: 600;
}

.qr-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: var(--radius-md);
    margin: 0 auto var(--space-md);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-section > span {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-3xl) var(--space-2xl) var(--space-xl);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-top: var(--space-md);
    max-width: 260px;
}

.footer-socials {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: all var(--transition-base);
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 120px var(--space-lg) var(--space-3xl);
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .bubble {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero,
    .testimonials-section,
    .footer {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
    
    .phone-image {
        max-height: 450px;
    }
    
    .download-cta {
        position: static;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}