/* ==========================================================================
   SmartFamilyEye - Modern Setup Guide & Android Mockup Stylesheet
   Version: 20261015-setup-v2 (Strict Light Theme, Android Phone Frames, Multilingual)
   ========================================================================== */

:root {
    --sg-primary: #10b981;
    --sg-primary-dark: #059669;
    --sg-primary-light: #ecfdf5;
    --sg-primary-border: #a7f3d0;
    --sg-text-main: #0f172a;
    --sg-text-muted: #475569;
    --sg-text-light: #64748b;
    --sg-bg-main: #f8fafc;
    --sg-bg-card: #ffffff;
    --sg-border: #e2e8f0;
    --sg-border-light: #f1f5f9;
    --sg-phone-bezel: #1e293b;
    --sg-phone-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.08);
    --sg-radius: 16px;
    --sg-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Reset & Typography */
.setup-guide-page {
    margin: 0;
    padding: 0;
    background-color: var(--sg-bg-main);
    color: var(--sg-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.setup-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation Bar */
.setup-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sg-border);
    transition: var(--sg-transition);
}

.setup-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 16px;
}

.setup-brand {
    display: inline-flex;
    align-items: center;
}

.setup-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.setup-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Header Language Switcher inside Setup Header (Matches Homepage brand.css) */
.setup-header-actions .header-lang-switch {
    margin: 0;
}

.setup-main-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sg-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--sg-transition);
}

.setup-main-link:hover {
    color: var(--sg-primary-dark);
}

/* 1. HERO SECTION */
.sg-hero-section {
    position: relative;
    padding: 60px 0 70px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #ffffff 100%);
    border-bottom: 1px solid var(--sg-border);
    overflow: hidden;
}

.sg-hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.sg-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.sg-hero-content {
    max-width: 640px;
}

.sg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sg-primary-light);
    border: 1px solid var(--sg-primary-border);
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.sg-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--sg-text-main);
    letter-spacing: -0.025em;
    margin: 0 0 18px 0;
}

.sg-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--sg-text-muted);
    margin: 0 0 28px 0;
}

/* Hero Download Actions */
.sg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.sg-btn-download-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
    transition: var(--sg-transition);
}

.sg-btn-download-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.sg-btn-download-primary .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1.2rem;
}

.sg-btn-download-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid var(--sg-border);
    color: var(--sg-text-main);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--sg-transition);
}

.sg-btn-download-secondary:hover {
    background: var(--sg-border-light);
    border-color: #cbd5e1;
    color: var(--sg-text-main);
}

.sg-apk-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--sg-text-light);
    margin-bottom: 24px;
}

/* Play Protect Alert Box */
.sg-play-protect-box {
    display: flex;
    gap: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 10px;
}

.sg-protect-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: #b45309;
    margin-top: 2px;
}

.sg-protect-text h4 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #92400e;
}

.sg-protect-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #78350f;
}

/* Hero Showcase: Modern Dual Mockup Preview */
.sg-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sticky Step Navigator */
.sg-nav-steps-bar {
    position: sticky;
    top: 74px;
    z-index: 90;
    background: #ffffff;
    border-bottom: 1px solid var(--sg-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sg-nav-steps-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: auto;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}

.sg-nav-step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9999px;
    color: var(--sg-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--sg-transition);
}

.sg-nav-step-link .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #e2e8f0;
    color: var(--sg-text-muted);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.sg-nav-step-link:hover,
.sg-nav-step-link.active {
    background: var(--sg-primary-light);
    color: var(--sg-primary-dark);
}

.sg-nav-step-link:hover .num,
.sg-nav-step-link.active .num {
    background: var(--sg-primary);
    color: #ffffff;
}

/* Steps Section Layout */
.sg-steps-section {
    padding: 60px 0 80px;
}

.sg-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.sg-section-eyebrow {
    display: inline-block;
    color: var(--sg-primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.sg-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--sg-text-main);
    letter-spacing: -0.02em;
    margin: 0 0 14px 0;
}

.sg-section-desc {
    font-size: 1.05rem;
    color: var(--sg-text-muted);
    margin: 0;
}

/* Individual Step Row */
.sg-step-card {
    background: #ffffff;
    border: 1px solid var(--sg-border);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    transition: var(--sg-transition);
}

.sg-step-card:hover {
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.sg-step-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.sg-step-card.reverse .sg-step-content {
    order: 2;
}

.sg-step-card.reverse .sg-step-phone-wrap {
    order: 1;
}

.sg-step-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sg-primary-light);
    border: 1px solid var(--sg-primary-border);
    color: #065f46;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 9999px;
    margin-bottom: 18px;
}

.sg-step-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--sg-text-main);
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}

.sg-step-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--sg-text-muted);
    margin: 0 0 24px 0;
}

.sg-step-action-wrap {
    margin-top: 20px;
}

/* ==========================================================================
   CSS REALISTIC ANDROID PHONE MOCKUP SYSTEM
   ========================================================================== */
.sg-step-phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sg-android-phone {
    width: 290px;
    height: 580px;
    background: #0f172a;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: var(--sg-phone-shadow);
    border: 4px solid #334155;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Punch-hole selfie camera */
.sg-phone-camera-hole {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #000000;
    border-radius: 50%;
    z-index: 30;
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Screen bezel & container */
.sg-phone-screen {
    flex: 1;
    background: #f8fafc;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status Bar */
.sg-phone-status-bar {
    height: 36px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    z-index: 20;
}

.sg-status-time {
    font-weight: 700;
}

.sg-status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Phone App Top Bar */
.sg-phone-app-header {
    background: #ffffff;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sg-phone-app-header .app-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
}

.sg-phone-app-header .app-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

/* Inner Phone Screen Body */
.sg-phone-body {
    flex: 1;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Navigation Pill at bottom of Android */
.sg-phone-nav-bar {
    height: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-phone-nav-pill {
    width: 80px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 9999px;
}

/* STEP 1 UI: Android Installer Card */
.sg-ui-download-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sg-ui-app-icon-large {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0 auto 12px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.sg-ui-app-title {
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.sg-ui-file-meta {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 12px;
}

.sg-ui-download-status {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.sg-ui-install-dialog {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.sg-ui-dialog-prompt {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: center;
}

.sg-ui-dialog-btns {
    display: flex;
    gap: 8px;
}

.sg-ui-dialog-btn-cancel {
    flex: 1;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.sg-ui-dialog-btn-install {
    flex: 1;
    padding: 8px;
    background: #10b981;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

/* STEP 2 UI: Device Pairing PIN */
.sg-ui-pairing-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sg-ui-pin-header {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 14px;
}

.sg-ui-pin-code-wrap {
    background: #f1f5f9;
    border: 2px dashed #059669;
    border-radius: 12px;
    padding: 12px 10px;
    margin-bottom: 16px;
}

.sg-ui-pin-code {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #065f46;
    font-family: monospace;
}

.sg-ui-pairing-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.sg-ui-device-badge {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* STEP 3 UI: Android Settings & Accessibility Toggles */
.sg-ui-settings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sg-ui-setting-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sg-ui-setting-info {
    display: flex;
    flex-direction: column;
}

.sg-ui-setting-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

.sg-ui-setting-sub {
    font-size: 0.72rem;
    color: #10b981;
    font-weight: 600;
}

.sg-ui-toggle-switch {
    width: 36px;
    height: 20px;
    background: #10b981;
    border-radius: 9999px;
    position: relative;
    flex-shrink: 0;
}

.sg-ui-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* STEP 4 UI: Battery Optimization Exemption */
.sg-ui-battery-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sg-ui-battery-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center;
}

/* STEP 1: Checklist box for Restricted Settings and Device Admin */
.sg-ui-checklist-box {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sg-ui-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 8px;
    text-align: left;
}

.sg-ui-check-item .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #16a34a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* STEP 2: Child Profile Badges */
.sg-ui-child-profile-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.sg-ui-profile-pill {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

/* STEP 4: Setup Finished, Green Button & Countdown */
.sg-ui-finish-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.sg-ui-finish-btn .btn-check {
    font-size: 1rem;
}

.sg-ui-countdown-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.sg-ui-tamper-badge-lock {
    background: #0f172a;
    color: #38bdf8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #1e293b;
}

/* STEP 4 UI: Anti-Tamper Shield & Lockdown Box */
.sg-ui-tamper-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sg-ui-shield-icon {
    width: 56px;
    height: 56px;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 12px;
}

.sg-ui-tamper-badge {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 10px;
}

.sg-ui-tamper-desc {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 14px;
}

.sg-ui-tamper-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 8px;
    border-radius: 8px;
}

/* Brand-Specific Optimization Tips Grid */
.sg-vendor-section {
    padding: 40px 0 70px;
}

.sg-vendor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .sg-vendor-grid {
        grid-template-columns: 1fr;
    }
}

.sg-vendor-card {
    background: #ffffff;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sg-vendor-icon {
    width: 44px;
    height: 44px;
    background: var(--sg-primary-light);
    border: 1px solid var(--sg-primary-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.sg-vendor-info h3 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sg-text-main);
}

.sg-vendor-info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--sg-text-muted);
}

/* Bottom CTA Banner */
.sg-cta-section {
    padding: 40px 0 80px;
}

.sg-cta-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.4);
}

.sg-cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.sg-cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 28px;
}

.sg-btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ffffff;
    color: #065f46 !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--sg-transition);
}

.sg-btn-cta-white:hover {
    transform: translateY(-2px);
    background: #f8fafc;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* RTL Support (Arabic) */
[dir="rtl"] .setup-guide-page,
body.rtl {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .lang-dropdown-menu,
body.rtl .lang-dropdown-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-dropdown-item .lang-active-check,
body.rtl .lang-dropdown-item .lang-active-check {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .sg-ui-toggle-switch::after,
body.rtl .sg-ui-toggle-switch::after {
    right: auto;
    left: 2px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .sg-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-step-card,
    .sg-step-card.reverse {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 32px 24px;
    }
    
    .sg-step-card.reverse .sg-step-content {
        order: 1;
    }
    
    .sg-step-card.reverse .sg-step-phone-wrap {
        order: 2;
    }
}
