/* ===== RESET & VARIABLES ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #1e1b4b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

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

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

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    color: var(--gray-700);
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(79,70,229,.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,70,229,.5);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16,185,129,.4);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,.5);
}

.btn-lg { padding: 18px 42px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
}
.badge-primary { background: rgba(79,70,229,.1); color: var(--primary); }
.badge-success { background: rgba(16,185,129,.1); color: var(--success); }
.badge-accent { background: rgba(245,158,11,.1); color: var(--accent); }

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title .badge { margin-bottom: 12px; }
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.4;
}
.section-title p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
}
.navbar.scrolled .navbar-brand { color: var(--primary); }
.navbar-brand svg { width: 36px; height: 36px; }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.navbar-nav a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: .95rem;
    transition: var(--transition);
    position: relative;
}
.navbar-nav a:hover { color: #fff; }
.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; right: 0;
    width: 0; height: 2px;
    background: #fff;
    transition: var(--transition);
}
.navbar-nav a:hover::after { width: 100%; }
.navbar.scrolled .navbar-nav a { color: var(--gray-700); }
.navbar.scrolled .navbar-nav a:hover { color: var(--primary); }
.navbar.scrolled .navbar-nav a::after { background: var(--primary); }

.nav-cta .btn {
    padding: 10px 24px;
    font-size: .9rem;
}
.navbar.scrolled .nav-cta .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: var(--transition);
}
.navbar.scrolled .mobile-toggle span { background: var(--gray-700); }

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4f46e5 60%, #6366f1 100%);
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.3), transparent 70%);
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,.2), transparent 70%);
    border-radius: 50%;
    animation: floatBubble 10s ease-in-out infinite reverse;
}

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

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary), #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
    line-height: 2;
}
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}
.hero-mockup {
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
    border: 2px solid rgba(255,255,255,.1);
}
.hero-float-badge {
    position: absolute;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .85rem;
    color: var(--dark);
    animation: floatBadge 3s ease-in-out infinite;
}
.hero-float-badge.badge-1 { top: 10%; left: -20px; animation-delay: 0s; }
.hero-float-badge.badge-2 { bottom: 20%; left: -30px; animation-delay: 1s; }
.hero-float-badge.badge-3 { top: 30%; right: -20px; animation-delay: .5s; }

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

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { text-align: center; }
.hero-stat .number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    display: block;
}
.hero-stat .label {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}

.wave-bottom {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    width: 100%;
    line-height: 0;
}
.wave-bottom svg { width: 100%; height: auto; }

/* ===== TRUSTED / LOGOS ===== */
.trusted {
    padding: 60px 0;
    background: #fff;
}
.trusted-title {
    text-align: center;
    font-size: .95rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    font-weight: 500;
}
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trusted-logos img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: .5;
    transition: var(--transition);
}
.trusted-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--gray-50);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.feature-icon.blue { background: rgba(79,70,229,.1); color: var(--primary); }
.feature-icon.cyan { background: rgba(6,182,212,.1); color: var(--secondary); }
.feature-icon.green { background: rgba(16,185,129,.1); color: var(--success); }
.feature-icon.amber { background: rgba(245,158,11,.1); color: var(--accent); }
.feature-icon.red { background: rgba(239,68,68,.1); color: var(--danger); }
.feature-icon.purple { background: rgba(139,92,246,.1); color: #8b5cf6; }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: .92rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ===== SHOWCASE ===== */
.showcase {
    padding: 100px 0;
    background: #fff;
}
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.showcase-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-200);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: .9rem;
    color: var(--gray-500);
    transition: var(--transition);
}
.showcase-tab.active, .showcase-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.showcase-content {
    position: relative;
}
.showcase-item {
    display: none;
}
.showcase-item.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.showcase-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}
.showcase-image img {
    width: 100%;
    height: auto;
}
.showcase-info h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}
.showcase-info p {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 2;
}
.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.showcase-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--gray-700);
}
.showcase-list li .check-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(16,185,129,.1);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-50);
}
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: .2;
}
.step {
    text-align: center;
    position: relative;
}
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(79,70,229,.3);
}
.step h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.step p {
    font-size: .88rem;
    color: var(--gray-500);
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: #fff;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}
.pricing-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}
.pricing-card.popular::before {
    content: 'پیشنهاد ویژه';
    position: absolute;
    top: -14px; right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}
.pricing-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.pricing-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    margin: 16px 0;
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}
.pricing-desc {
    font-size: .9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}
.pricing-features {
    text-align: right;
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: .9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .icon-check { color: var(--success); font-size: .8rem; }
.pricing-features li .icon-x { color: var(--gray-300); font-size: .8rem; }
.pricing-card .btn { width: 100%; }

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-align: right;
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
    transition: var(--transition);
    font-size: .8rem;
    color: var(--gray-500);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray-500);
    font-size: .92rem;
    line-height: 2;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.3), transparent 70%);
    border-radius: 50%;
    transform: translateX(-50%);
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}
.cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    max-width: 600px;
    margin: 0 auto 36px;
}
.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    color: rgba(255,255,255,.6);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: .9rem;
    line-height: 2;
}
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: .9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    font-size: .85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .showcase-item.active { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TOROB EXCLUSIVE SECTION ===== */
.torob-section {
    --torob-purple: #6c5ce7;
    --torob-purple-dark: #4f3fd6;
    --torob-purple-soft: #f3f1ff;
    position: relative;
    padding: 110px 0 120px;
    background:
        radial-gradient(1100px 500px at 90% -10%, rgba(108,92,231,.08), transparent 60%),
        radial-gradient(900px 400px at -5% 30%, rgba(6,182,212,.06), transparent 65%),
        linear-gradient(180deg, #fff 0%, #faf9ff 100%);
    overflow: hidden;
}
.torob-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(108,92,231,.12) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: 0 0;
    opacity: .35;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.torob-section .container { position: relative; z-index: 1; }

.torob-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}
.torob-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 10px 18px 10px 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.torob-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--torob-purple-soft);
    padding: 4px;
}
.torob-exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .9rem;
    color: var(--torob-purple-dark);
}
.torob-exclusive-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--torob-purple);
    box-shadow: 0 0 0 4px rgba(108,92,231,.15);
    animation: torob-pulse 2s infinite;
}
@keyframes torob-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(108,92,231,.15); }
    50%      { box-shadow: 0 0 0 8px rgba(108,92,231,.05); }
}
.torob-intro h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.4;
}
.torob-intro p {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 2;
}

.torob-feature {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 90px;
}
.torob-feature--reverse {
    direction: ltr;
}
.torob-feature--reverse > * {
    direction: rtl;
}

.torob-feature__media {
    position: relative;
}
.torob-feature__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--gray-700);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}
.torob-feature__chip .num {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--torob-purple), var(--torob-purple-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
}
.torob-feature__chip .new-flag {
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #fff;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .5px;
}
.torob-feature__image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow:
        0 30px 50px -20px rgba(108,92,231,.25),
        0 12px 20px -10px rgba(0,0,0,.1);
    background: #fff;
    transition: var(--transition);
}
.torob-feature__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108,92,231,.06), transparent 60%);
    pointer-events: none;
    z-index: 1;
}
.torob-feature__image:hover {
    transform: translateY(-4px);
    box-shadow:
        0 40px 60px -20px rgba(108,92,231,.32),
        0 16px 24px -10px rgba(0,0,0,.12);
}
.torob-feature__image img {
    width: 100%;
    height: auto;
    display: block;
}

.torob-feature__info h3 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.4;
}
.torob-feature__info > p {
    color: var(--gray-500);
    line-height: 2;
    margin-bottom: 22px;
    font-size: 1rem;
}

.torob-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}
.torob-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    color: var(--gray-700);
    line-height: 1.9;
}
.torob-bullets li .dot {
    flex-shrink: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-top: 11px;
    background: var(--torob-purple);
    box-shadow: 0 0 0 4px rgba(108,92,231,.12);
}
.torob-bullets li code {
    background: var(--gray-100);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .85em;
    direction: ltr;
    display: inline-block;
}

.torob-endpoint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px dashed var(--torob-purple);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: .85rem;
    color: var(--gray-700);
    direction: ltr;
}
.torob-endpoint .method {
    background: var(--torob-purple);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: .5px;
}
.torob-endpoint .method.post {
    background: var(--success);
}
.torob-endpoint code {
    background: transparent;
    padding: 0;
    color: var(--gray-700);
    font-weight: 600;
}

.torob-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding: 36px 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.torob-stats::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--torob-purple), var(--secondary), var(--torob-purple));
}
.torob-stat {
    text-align: center;
    padding: 0 12px;
    border-left: 1px solid var(--gray-100);
}
.torob-stat:last-child {
    border-left: none;
}
.torob-stat .num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--torob-purple-dark);
    line-height: 1.2;
    margin-bottom: 6px;
}
.torob-stat .num small {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-500);
}
.torob-stat .label {
    font-size: .85rem;
    color: var(--gray-500);
    font-weight: 600;
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .mobile-toggle { display: block; }
    .navbar-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; right: 0; left: 0;
        background: #fff;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .navbar-nav.open a { color: var(--gray-700); }
    .hero-content h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.6rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .cta h2 { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .torob-section { padding: 70px 0 80px; }
    .torob-intro { margin-bottom: 50px; }
    .torob-intro h2 { font-size: 1.5rem; }
    .torob-feature,
    .torob-feature--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 60px;
        direction: rtl;
    }
    .torob-feature__info h3 { font-size: 1.35rem; }
    .torob-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding: 28px 16px; }
    .torob-stat { border-left: none; }
    .torob-stat .num { font-size: 1.7rem; }
    .torob-endpoint { font-size: .75rem; flex-wrap: wrap; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
