/* ===========================================
   إعلانك - Unified Stylesheet
   Font: IBM Plex Sans Arabic
   =========================================== */

/* ══════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════ */
:root {
    /* Colors */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-50: #ecfdf5;
    
    --secondary: #6366f1;
    --secondary-dark: #4f46e5;
    
    --accent: #f59e0b;
    
    --danger: #ef4444;
    --success: #22c55e;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(16,185,129,0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Font */
    --font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* ══════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

/* ══════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden { display: none !important; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
    border-radius: var(--radius-xl);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.5);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-block { width: 100%; }

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
}

.navbar:not(.scrolled) .logo-icon {
    background: rgba(255,255,255,0.2);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .logo-text {
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.nav-menu a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-menu a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.9rem !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-900);
}

@media (max-width: 992px) {
    .nav-menu, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.badge-icon { font-size: 1.2rem; }

.badge-new {
    padding: 0.2rem 0.5rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #34d399, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.point i { color: var(--primary-light); }

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.3);
    margin-left: -10px;
}

.avatar:first-child { margin-left: 0; }

.avatar.more {
    background: var(--secondary);
    font-size: 0.7rem;
}

.trust-info { text-align: right; }

.stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.stars span {
    color: var(--white);
    margin-right: 0.5rem;
}

.trust-info p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ══════════════════════════════════════════
   PLATFORMS SECTION
   ══════════════════════════════════════════ */
.platforms {
    padding: 3rem 0;
    background: var(--white);
}

.platforms-title {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.platforms-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.platform i { font-size: 1.75rem; }

.platform span { font-size: 0.8rem; }

.platform:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   SECTION STYLES
   ══════════════════════════════════════════ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-tag-green {
    background: #ecfdf5;
    color: #059669;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

/* ══════════════════════════════════════════
   PROBLEM SECTION
   ══════════════════════════════════════════ */
.problem-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: var(--danger);
    font-size: 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.25rem;
}

.problem-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.problem-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--gray-600);
}

.stat-icon { font-size: 1.25rem; }

.problem-result {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #fef2f2, #fff);
    border: 1px solid #fecaca;
    border-radius: var(--radius-2xl);
    max-width: 600px;
    margin: 0 auto;
}

.result-icon { font-size: 2.5rem; }

.result-text h4 {
    font-size: 1.1rem;
    color: var(--danger);
    margin-bottom: 0.25rem;
}

.result-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .problems-grid { grid-template-columns: 1fr; }
    .problem-result { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════
   SOLUTION SECTION
   ══════════════════════════════════════════ */
.solution-section {
    padding: 5rem 0;
    background: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-intro {
    margin-bottom: 2rem;
}

.solution-intro h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.solution-intro p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.benefit {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.benefit-text span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.solution-cta .cta-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.cta-note i { color: var(--primary); }

/* Comparison Box */
.comparison-box {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.comparison-before,
.comparison-after {
    padding: 1.5rem;
}

.comparison-before {
    background: linear-gradient(135deg, #fef2f2, #fff);
}

.comparison-after {
    background: linear-gradient(135deg, #ecfdf5, #fff);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.comparison-header span { font-size: 1.75rem; }

.comparison-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.comparison-box ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.comparison-before li i { color: var(--danger); }
.comparison-after li i { color: var(--primary); }

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: var(--gray-100);
    font-weight: 700;
    color: var(--gray-500);
}

.savings-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border-radius: var(--radius-xl);
    margin-top: 1.5rem;
}

.savings-icon { font-size: 2rem; }

.savings-text strong {
    display: block;
    color: var(--gray-900);
}

.savings-text span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-content { order: 2; }
    .solution-visual { order: 1; }
}

/* ══════════════════════════════════════════
   DEMO SECTION
   ══════════════════════════════════════════ */
.demo-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.demo-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.demo-browser {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--gray-500);
}

.browser-url i { color: var(--primary); }

.browser-body {
    padding: 2rem;
    min-height: 350px;
}

.demo-steps { position: relative; }

.demo-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.demo-step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.step-badge.success {
    background: #dcfce7;
    color: #16a34a;
}

.demo-step h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-field {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
}

.demo-field label {
    font-weight: 600;
    color: var(--gray-600);
    min-width: 80px;
}

.demo-field span {
    color: var(--gray-800);
}

.typing .cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.demo-loading p {
    color: var(--gray-500);
}

.demo-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    font-weight: 500;
    border-right: 4px solid;
}

.result-card.pain { border-color: var(--danger); }
.result-card.result { border-color: var(--primary); }
.result-card.curiosity { border-color: #3b82f6; }

.result-card span { font-size: 1.25rem; }

/* Floating Cards */
.demo-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.float-icon { font-size: 1.5rem; }

.float-card strong { color: var(--gray-900); }

.float-card div {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.3;
}

.float-1 { top: 20%; left: -60px; animation-delay: 0s; }
.float-2 { top: 50%; right: -60px; animation-delay: 1s; }
.float-3 { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.demo-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .float-card { display: none; }
}

/* ══════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════ */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card.feature-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.feature-large .feature-icon {
    margin-bottom: 0;
}

.gradient-1 { background: linear-gradient(135deg, #ef4444, #f87171); }
.gradient-2 { background: linear-gradient(135deg, #10b981, #34d399); }
.gradient-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.gradient-4 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.gradient-5 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.gradient-6 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.tag.red { background: #fef2f2; color: #dc2626; }
.tag.green { background: #ecfdf5; color: #059669; }
.tag.blue { background: #eff6ff; color: #2563eb; }

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card.feature-large {
        grid-column: span 2;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .feature-large .feature-icon { margin: 0 auto 1rem; }
    .feature-tags { justify-content: center; }
}

@media (max-width: 576px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.feature-large { grid-column: span 1; }
}

/* ══════════════════════════════════════════
   HOW IT WORKS SECTION
   ══════════════════════════════════════════ */
.how-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.steps-timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 280px;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--gray-200);
    z-index: 1;
}

.step-item:last-child .step-line { display: none; }

.step-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: var(--radius-xl);
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.how-cta { text-align: center; }

@media (max-width: 768px) {
    .steps-timeline {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .step-line { display: none; }
    .step-item { max-width: 100%; }
}

/* ══════════════════════════════════════════
   EXAMPLES SECTION
   ══════════════════════════════════════════ */
.examples-section {
    padding: 5rem 0;
    background: var(--white);
}

.examples-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    background: var(--gray-200);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.examples-panels {
    max-width: 600px;
    margin: 0 auto;
}

.example-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.example-panel.active { display: block; }

.example-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.example-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.example-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.example-platform i { font-size: 1.25rem; }

.example-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.example-badge.pain { background: #fef2f2; color: #dc2626; }
.example-badge.result { background: #ecfdf5; color: #059669; }
.example-badge.curiosity { background: #eff6ff; color: #2563eb; }

.example-body {
    padding: 1.5rem;
}

.example-body p {
    white-space: pre-wrap;
    line-height: 1.8;
    color: var(--gray-700);
}

.example-footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-500);
}

.examples-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ══════════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════════ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.author-info strong {
    display: block;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

.testimonial-result span { color: var(--gray-500); }
.testimonial-result strong { color: var(--primary); }

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.t-stat { text-align: center; }

.t-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.t-stat-value span {
    font-size: 1.25rem;
    color: var(--gray-400);
}

.t-stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

@media (max-width: 992px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-stats { gap: 2rem; }
}

/* ══════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════ */
.pricing-section {
    padding: 5rem 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.pricing-card {
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    transition: var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-currency {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.pricing-save {
    margin-top: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-block;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i.fa-check { color: var(--primary); }
.pricing-features li i.fa-times { color: var(--gray-300); }
.pricing-features li.disabled { color: var(--gray-400); }

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    max-width: 500px;
    margin: 0 auto;
}

.guarantee-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: var(--radius-full);
}

.guarantee-text strong {
    display: block;
    color: var(--gray-900);
}

.guarantee-text p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.popular { transform: none; }
}

/* ══════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════ */
.faq-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: right;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ══════════════════════════════════════════
   FINAL CTA SECTION
   ══════════════════════════════════════════ */
.final-cta {
    padding: 5rem 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-notes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.cta-notes span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-notes i { color: var(--primary-light); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--gray-400);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social { justify-content: center; }
}

/* ══════════════════════════════════════════
   APP PAGE STYLES
   ══════════════════════════════════════════ */
.app-page {
    background: var(--gray-50);
    min-height: 100vh;
}

.app-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-header .logo-text {
    color: var(--gray-900);
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.btn-icon:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.progress-bar-wrap {
    height: 4px;
    background: var(--gray-200);
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 33.33%;
    transition: width var(--transition-base);
}

.app-main {
    padding: 2rem 0 4rem;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-circle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.step-dot.active .step-circle {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.step-dot.completed .step-circle {
    background: var(--primary);
    color: var(--white);
}

.step-dot .step-check { display: none; }
.step-dot.completed .step-num { display: none; }
.step-dot.completed .step-check { display: block; }

.step-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.step-dot.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-line-h {
    width: 60px;
    height: 3px;
    background: var(--gray-200);
    margin-bottom: 28px;
    border-radius: var(--radius-full);
}

@media (max-width: 576px) {
    .step-label { display: none; }
    .step-line-h { width: 30px; margin-bottom: 0; }
}

/* App Container */
.app-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Form Step */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active { display: block; }

.form-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-icon-lg {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.75rem;
    border-radius: var(--radius-2xl);
    margin: 0 auto 1rem;
}

.form-step-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-step-header p {
    color: var(--gray-500);
}

/* Form Card */
.form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.label-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    color: var(--gray-900);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.1);
}

.form-input::placeholder { color: var(--gray-400); }

.form-input.error { border-color: var(--danger); }

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* Select */
.select-wrap {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-left: 3rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    color: var(--gray-900);
    appearance: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.select-arrow {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Option Cards */
.options-grid {
    display: grid;
    gap: 0.75rem;
}

.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.option-card {
    cursor: pointer;
}

.option-card input { display: none; }

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-fast);
    text-align: center;
}

.option-card:hover .option-content {
    border-color: var(--primary);
}

.option-card input:checked + .option-content {
    background: var(--primary-50);
    border-color: var(--primary);
}

.option-icon { font-size: 1.5rem; }

.option-icon-fa {
    font-size: 1.25rem;
    color: var(--gray-500);
    transition: var(--transition-fast);
}

.option-card input:checked + .option-content .option-icon-fa {
    color: var(--primary);
}

.option-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.option-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.option-card.small .option-content {
    padding: 0.75rem;
}

@media (max-width: 576px) {
    .options-grid.cols-3 { grid-template-columns: 1fr; }
    .options-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 576px) {
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions .btn { width: 100%; }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--secondary);
    animation-duration: 1s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: var(--accent);
    animation-duration: 0.8s;
}

.loading-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.loading-state > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.loading-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.loading-step.active { color: var(--primary); }
.loading-step.completed { color: var(--primary); }

.loading-step.active i {
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Results */
.results-container {
    animation: fadeIn 0.5s ease;
}

.results-header {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.success-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 2rem;
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.results-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.results-header p {
    color: var(--gray-500);
}

/* Tabs */
.results-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.results-tabs .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    border-radius: var(--radius-lg);
}

.results-tabs .tab-btn.active {
    background: var(--gradient-primary);
}

.tab-count {
    padding: 0.125rem 0.5rem;
    background: rgba(255,255,255,0.2);
    font-size: 0.75rem;
    border-radius: var(--radius-full);
}

.results-tabs .tab-btn:not(.active) .tab-count {
    background: var(--gray-100);
    color: var(--gray-500);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active { display: block; }

/* Angles */
.angles-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.angle-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border-right: 5px solid;
    position: relative;
}

.angle-card.pain { border-color: var(--danger); }
.angle-card.result { border-color: var(--primary); }
.angle-card.curiosity { border-color: #3b82f6; }

.angle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.angle-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.angle-title .icon { font-size: 1.25rem; }

.angle-title h3 {
    font-size: 1.1rem;
    margin: 0;
}

.angle-badge {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.angle-content {
    background: var(--gray-50);
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}

.angle-content p {
    white-space: pre-wrap;
    line-height: 1.8;
    color: var(--gray-700);
}

.angle-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.angle-stats {
    display: flex;
    gap: 1.5rem;
}

.angle-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.angle-stat i { color: var(--primary); }

/* Platform Filter */
.platform-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Ads List */
.ads-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ad-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ad-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gray-900);
    color: var(--white);
}

.ad-platform {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.ad-platform i { font-size: 1.25rem; }

.ad-platform.facebook i { color: #1877f2; }
.ad-platform.instagram i { color: #e4405f; }
.ad-platform.twitter i { color: #1da1f2; }
.ad-platform.snapchat i { color: #fffc00; }
.ad-platform.tiktok i { color: #00f2ea; }
.ad-platform.google i { color: #4285f4; }

.ad-card-body {
    padding: 1.5rem;
}

.ad-text {
    white-space: pre-wrap;
    line-height: 1.8;
    color: var(--gray-700);
}

.ad-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.char-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.char-count.warning { color: var(--accent); }
.char-count.danger { color: var(--danger); }

.ad-actions {
    display: flex;
    gap: 0.5rem;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.copy-btn.copied {
    background: var(--secondary);
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
}

@media (max-width: 576px) {
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn { width: 100%; }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--gray-900);
    color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: 9999;
    animation: toastIn 0.3s ease;
}

.toast-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}