/**
 * Aura Retail — Landing Page Stylesheet
 * Strict Monochrome Design System according to backend/readme.md
 */

:root {
    --primary: #111111;
    --primary-hover: #333333;
    --primary-light: #F7F7F7;
    --primary-border: #E4E4E4;
    --secondary: #333333;
    --text-main: #111111;
    --text-body: #333333;
    --text-muted: #888888;
    --border: #E4E4E4;
    --bg: #F7F7F7;
    --surface: #FFFFFF;
    --surface-subtle: #F7F7F7;

    --success: #166534;
    --success-light: #DCFCE7;
    --success-border: #BBF7D0;
    --warning: #92400E;
    --warning-light: #FEF3C7;
    --danger: #991B1B;
    --danger-light: #FEE2E2;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
    --transition: all 0.15s ease;
}

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

body {
    background: var(--bg);
    color: var(--text-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-text, .hero-title, .section-title, .feature-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header Nav */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #FFFFFF;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero */
.hero {
    padding: 120px 24px 60px 24px;
    position: relative;
    text-align: center;
    background: var(--bg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: var(--text-main);
}

.hero-title em {
    font-style: normal;
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 32px auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Social Card */
.instagram-card {
    max-width: 860px;
    margin: 0 auto 60px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.insta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.insta-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4rem;
}

.insta-handle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.insta-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-tag {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: #BDBDBD;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.plan-card:hover {
    border-color: #BDBDBD;
}

.plan-card.featured {
    border: 2px solid var(--primary);
}

.plan-cond-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--success-light);
    color: var(--success);
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid var(--success-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding-top: 100px;
    }
    .instagram-card {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .insta-left {
        flex-direction: column;
    }
}

/* Dark Mode Tokens & Overrides for Landing Page */
[data-theme="dark"] {
    --primary: #F7F7F7;
    --primary-hover: #E5E5E5;
    --primary-light: #222222;
    --primary-border: #2E2E2E;
    --secondary: #CCCCCC;
    --text-main: #F7F7F7;
    --text-body: #CCCCCC;
    --text-muted: #888888;
    --border: #2E2E2E;
    --bg: #0D0D0D;
    --surface: #141414;
    --surface-subtle: #1C1C1C;

    --success: #22C55E;
    --success-light: rgba(34, 197, 94, 0.15);
    --success-border: rgba(34, 197, 94, 0.3);
    --warning: #F59E0B;
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger: #EF4444;
    --danger-light: rgba(239, 68, 68, 0.15);
}

[data-theme="dark"] .ar-news-section {
    background: #111111 !important;
    border-color: #222222 !important;
}

[data-theme="dark"] .ar-news-section article {
    background: #181818 !important;
    border-color: #2E2E2E !important;
}

[data-theme="dark"] .ar-news-section h2,
[data-theme="dark"] .ar-news-section h3,
[data-theme="dark"] .ar-news-section a {
    color: #F7F7F7 !important;
}

[data-theme="dark"] .ar-news-section p {
    color: #A3A3A3 !important;
}

[data-theme="dark"] details {
    background: #181818 !important;
    border-color: #2E2E2E !important;
}

[data-theme="dark"] details summary {
    color: #F7F7F7 !important;
}

[data-theme="dark"] details p {
    color: #A3A3A3 !important;
}

