/* ===================================
   Beedy — Shared Stylesheet
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #DC2626;
    --primary-light: #EF4444;
    --primary-dark: #991B1B;
    --accent: #94A3B8;
    --accent-light: #CBD5E1;
    --success: #059669;
    --success-light: #10B981;
    --warning: #D97706;
    --danger: #DC2626;
    --danger-light: #EF4444;
    --bg-dark: #080A0F;
    --bg-card: #10121A;
    --bg-card-hover: #1A1C28;
    --bg-input: #0C0E16;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: #1E2030;
    --border-light: #2D3048;
    --gradient-1: linear-gradient(135deg, #DC2626, #EF4444);
    --gradient-2: linear-gradient(135deg, #991B1B, #DC2626);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px rgba(220,38,38,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* --- Gradient Text --- */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    gap: 8px;
    font-family: inherit;
}
.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220,38,38,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-2px);
}
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover {
    background: var(--danger-light);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-xs { padding: 4px 12px; font-size: 0.72rem; border-radius: 6px; }
.btn-full { width: 100%; }

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 20px 0; transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(8, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }
.logo-sm { font-size: 1.2rem; }
.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(220,38,38,0.3));
}
.logo-sm .logo-img { width: 32px; height: 32px; }
.logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-dot { color: var(--primary-light); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gradient-1); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-cta { padding: 10px 24px; font-size: 0.85rem; }

.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition); }

/* --- Page Header --- */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark), #0C0E16);
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 16px 0;
}

/* --- Hero --- */
.hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg canvas { width: 100%; height: 100%; }
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(220,38,38,0.15), transparent 70%);
    border-radius: 50%; z-index: 0;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(148,163,184,0.1), transparent 70%);
    border-radius: 50%; z-index: 0;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: var(--radius-full);
    background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3);
    color: var(--primary-light); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 28px; animation: fadeInDown 0.6s ease;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 24px; animation: fadeInUp 0.8s ease; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 620px; margin: 0 auto 40px; line-height: 1.7; animation: fadeInUp 1s ease; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; animation: fadeInUp 1.2s ease; }
.hero-stats { display: flex; justify-content: center; gap: 60px; animation: fadeInUp 1.4s ease; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-suffix { font-size: 1.5rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* --- Sections --- */
.section { padding: 100px 0; }
.section-alt { background: #0C0E16; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 6px 16px; border-radius: var(--radius-full);
    background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.2);
    color: var(--primary-light); font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* --- Offerings Grid (Landing Page) --- */
.offerings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offering-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px 32px; transition: all var(--transition);
}
.offering-card:hover { border-color: rgba(220,38,38,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.offering-highlight { border-color: rgba(220,38,38,0.3); box-shadow: var(--shadow-glow); }
.offering-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(220,38,38,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary-light); }
.offering-icon svg { width: 26px; height: 26px; }
.offering-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.offering-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.offering-features { margin-bottom: 24px; }
.offering-features li { color: var(--text-secondary); font-size: 0.9rem; padding: 6px 0 6px 20px; position: relative; }
.offering-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* --- Products Preview (Landing Page) --- */
.products-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-preview-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 28px 24px; transition: all var(--transition); position: relative;
}
.product-preview-card:hover { border-color: rgba(220,38,38,0.3); transform: translateY(-2px); }
.product-badge {
    display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
    background: rgba(220,38,38,0.15); color: var(--primary-light);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.product-preview-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.product-preview-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; }
.product-category { font-size: 0.75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-price { font-size: 0.85rem; font-weight: 700; color: var(--primary-light); }

/* --- Steps (How It Works) --- */
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 0; }
.step-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px 28px; text-align: center; flex: 1; max-width: 260px;
}
.step-number {
    width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-1);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; margin: 0 auto 16px;
}
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }
.step-connector { width: 40px; height: 2px; background: var(--border); flex-shrink: 0; }

/* --- About Section --- */
.about { background: linear-gradient(180deg, var(--bg-dark), #0C0E16); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.about-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px 32px; text-align: center; transition: all var(--transition);
}
.about-card:hover { border-color: rgba(220,38,38,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.about-icon { font-size: 2.5rem; margin-bottom: 20px; }
.about-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.about-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* --- Products Page --- */
.category-header { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.category-icon { width: 56px; height: 56px; min-width: 56px; border-radius: var(--radius-md); background: rgba(220,38,38,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.category-icon svg { width: 28px; height: 28px; }
.category-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.category-header p { color: var(--text-secondary); font-size: 0.95rem; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.product-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { border-color: rgba(220,38,38,0.3); box-shadow: var(--shadow-glow); }
.product-card-wide { grid-column: 1 / -1; }
.product-card-header { padding: 32px 28px 0; }
.product-card-header h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.product-tagline { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.product-card-body { padding: 20px 28px; flex: 1; }
.product-card-body > p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.product-card-body h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; color: var(--text-secondary); }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.feature-list li { font-size: 0.85rem; color: var(--text-secondary); padding-left: 20px; position: relative; }
.feature-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 0.8rem; }

.product-pricing-preview { display: flex; align-items: baseline; gap: 8px; padding: 16px 0; border-top: 1px solid var(--border); }
.product-pricing-preview span { font-size: 0.85rem; color: var(--text-muted); }
.product-pricing-preview strong { font-size: 1.4rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.product-card-footer { padding: 0 28px 28px; display: flex; gap: 12px; }

.custom-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.process-step { text-align: center; padding: 16px 12px; background: var(--bg-dark); border-radius: var(--radius-md); }
.process-num { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; margin: 0 auto 8px; }
.process-step h5 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.process-step p { font-size: 0.75rem; color: var(--text-muted); }

/* --- Pricing Page --- */
.licensing-explainer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.explainer-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center;
}
.explainer-icon { font-size: 2rem; margin-bottom: 12px; }
.explainer-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.explainer-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column; position: relative; transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pricing-featured { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: scale(1.02); }
.pricing-featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-popular {
    background: var(--gradient-1); color: #fff; text-align: center;
    padding: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.pricing-header { padding: 32px 28px 16px; }
.pricing-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.pricing-desc { color: var(--text-secondary); font-size: 0.9rem; }
.pricing-body { padding: 0 28px; flex: 1; }
.pricing-features { margin-bottom: 24px; }
.pricing-features li { padding: 8px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.pricing-features .included { color: var(--text-primary); }
.pricing-features .excluded { color: var(--text-muted); }
.pricing-features .check { color: var(--success-light); font-weight: 700; }
.pricing-features .cross { color: var(--text-muted); }
.pricing-footer { padding: 24px 28px; }

.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.pricing-table th, .pricing-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.pricing-table thead th { background: rgba(220,38,38,0.08); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.pricing-table td strong { display: block; margin-bottom: 2px; }
.table-sub { display: block; font-size: 0.8rem; color: var(--text-muted); }
.table-price { font-weight: 700; font-size: 1.05rem; }
.table-price.featured { color: var(--primary-light); }
.table-price small { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.table-price a { color: var(--primary-light); }
.table-price a:hover { color: var(--accent-light); }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; background: none; border: none; color: var(--text-primary);
    font-family: inherit; font-size: 1rem; font-weight: 600;
    padding: 20px 0; text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--primary-light); }
.faq-toggle { font-size: 1.3rem; font-weight: 300; transition: transform var(--transition); }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(180deg, #0C0E16, var(--bg-dark));
    padding: 80px 0;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }

/* --- Contact --- */
.contact { background: linear-gradient(180deg, var(--bg-dark), #0C0E16); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }

/* --- Forms --- */
.contact-form, .auth-form, .settings-form, .add-user-form {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px;
}
.add-user-form { padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-4 { grid-template-columns: repeat(4, 1fr); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-input);
    color: var(--text-primary); font-family: inherit; font-size: 0.95rem;
    transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.form-row-inline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.form-link { color: var(--primary-light); font-size: 0.85rem; font-weight: 600; }
.form-link:hover { color: var(--accent-light); }

.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-md); background: rgba(220,38,38,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* --- Auth Pages --- */
.auth-page { background: var(--bg-dark); min-height: 100vh; }
.auth-container { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 60px; max-width: 560px; margin: 0 auto; width: 100%; }
.auth-card .auth-form { background: none; border: none; padding: 0; }
.auth-header { margin-bottom: 32px; }
.auth-header .logo { margin-bottom: 32px; }
.auth-header h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.auth-header p { color: var(--text-secondary); font-size: 0.95rem; }
.auth-error {
    margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm);
    background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3);
    color: var(--danger-light); font-size: 0.85rem;
}
.auth-footer { margin-top: 24px; text-align: center; }
.auth-footer p { color: var(--text-muted); font-size: 0.9rem; }
.auth-side {
    background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(148,163,184,0.1));
    display: flex; align-items: center; justify-content: center; padding: 60px;
    border-left: 1px solid var(--border);
}
.auth-side-content { max-width: 400px; }
.auth-side-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.auth-side-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.auth-benefits li { color: var(--text-secondary); font-size: 0.9rem; padding: 8px 0 8px 24px; position: relative; }
.auth-benefits li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* --- Footer --- */
.footer { background: #060810; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--primary-light); }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .offerings-grid, .about-grid, .pricing-grid { grid-template-columns: 1fr; }
    .products-scroll { grid-template-columns: repeat(2, 1fr); }
    .licensing-explainer { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-wrap: wrap; }
    .step-connector { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .custom-process { grid-template-columns: repeat(2, 1fr); }
    .form-row-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(8,10,15,0.98);
        backdrop-filter: blur(20px); padding: 24px; gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-actions.active { display: flex; flex-direction: column; position: absolute; top: calc(100% + 200px); left: 0; right: 0; background: rgba(8,10,15,0.98); padding: 0 24px 24px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .products-scroll { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .auth-container { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .auth-card { padding: 40px 24px; }
    .feature-list { grid-template-columns: 1fr; }
    .custom-process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .hero { padding: 100px 0 60px; }
    .contact-form { padding: 24px; }
    .page-header { padding: 120px 0 40px; }
}

/* --- Language Toggle --- */
.lang-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.lang-toggle:hover {
    background: rgba(229, 57, 53, 0.15);
    border-color: #e53935;
    color: #fff;
}
.lang-label { font-size: 0.75rem; }
