﻿/* ═══════════════════════════════════════════════
   Vinad Website — Modern Design System 2025
   ═══════════════════════════════════════════════ */

:root {
    --v-primary:       #2563eb;
    --v-primary-dark:  #1d4ed8;
    --v-primary-light: #3b82f6;
    --v-secondary:     #7c3aed;
    --v-accent:        #06b6d4;
    --v-success:       #10b981;
    --v-warning:       #f59e0b;
    --v-surface:       #f8fafc;
    --v-bg:            #ffffff;
    --v-text:          #0f172a;
    --v-text-muted:    #64748b;
    --v-border:        #e2e8f0;
    --v-radius:        16px;
    --v-radius-sm:     10px;
    --v-shadow:        0 4px 24px rgba(37,99,235,.10);
    --v-shadow-lg:     0 16px 48px rgba(37,99,235,.18);
    --v-gradient:      linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --v-gradient-soft: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
}

body {
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--v-bg);
    color: var(--v-text);
}

html { scroll-behavior: smooth; }

.section { padding: 80px 0; }

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

/* ══════════════════════════════
   NAVBAR
   ══════════════════════════════ */
.v-navbar {
    transition: background .3s ease, box-shadow .3s ease;
}
.v-navbar.scrolled {
    background: rgba(255,255,255,.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,.08) !important;
}
.v-nav-link {
    font-size: .925rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: background .2s, color .2s;
    text-decoration: none !important;
}
.v-nav-link:hover { background: rgba(37,99,235,.08); color: var(--v-primary) !important; }
.v-btn-register {
    background: var(--v-gradient) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 8px 22px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(37,99,235,.35) !important;
    transition: box-shadow .2s, transform .2s !important;
}
.v-btn-register:hover {
    box-shadow: 0 6px 20px rgba(37,99,235,.5) !important;
    transform: translateY(-1px) !important;
}

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero-section {
    background: var(--v-gradient);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-section::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.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0; right: 0;
    height: 120px;
    background: var(--v-bg);
    border-radius: 60px 60px 0 0;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85);
    line-height: 1.7;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 40px;
    padding: 6px 16px;
    font-size: .85rem;
    color: #fff;
    margin-bottom: 20px;
}
.hero-mockup {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.hero-cta-primary {
    background: #fff !important;
    color: var(--v-primary) !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
    transition: transform .2s, box-shadow .2s !important;
}
.hero-cta-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.3) !important;
}
.hero-cta-secondary {
    border: 2px solid rgba(255,255,255,.6) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    backdrop-filter: blur(8px) !important;
    transition: background .2s, border-color .2s !important;
}
.hero-cta-secondary:hover {
    background: rgba(255,255,255,.12) !important;
    border-color: #fff !important;
}
.hero-stat {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
}
.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: .75rem;
    color: rgba(255,255,255,.75);
    margin-top: 4px;
}

/* ══════════════════════════════
   SECTION HEADINGS
   ══════════════════════════════ */
.section-label {
    display: inline-block;
    background: var(--v-gradient-soft);
    color: var(--v-primary);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 12px;
    border: 1px solid rgba(37,99,235,.15);
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--v-text);
    line-height: 1.3;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--v-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ══════════════════════════════
   FEATURE CARDS
   ══════════════════════════════ */
.v-feature-card {
    background: var(--v-bg);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    padding: 28px;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.v-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--v-shadow-lg);
    border-color: rgba(37,99,235,.2);
}
.v-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--v-gradient-soft);
}

/* ══════════════════════════════
   PRICING CARDS
   ══════════════════════════════ */
.pricing-card {
    background: var(--v-bg);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: visible;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--v-shadow-lg);
}
.pricing-card.recommended {
    border: 2px solid var(--v-primary);
    background: linear-gradient(160deg, rgba(37,99,235,.03) 0%, #fff 50%);
    transform: scale(1.03);
    box-shadow: var(--v-shadow-lg);
    z-index: 2;
}
.pricing-card.recommended:hover { transform: scale(1.03) translateY(-6px); }
.recommended-badge {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--v-gradient) !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
    padding: 4px 16px !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37,99,235,.4) !important;
}
.pricing-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--v-primary);
    line-height: 1;
}
.pricing-period {
    font-size: .85rem;
    color: var(--v-text-muted);
    font-weight: 400;
}
.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: .9rem;
    border-bottom: 1px solid var(--v-border);
}
.pricing-feature-item:last-child { border-bottom: none; }
.pricing-check { color: var(--v-success); font-size: 1.1rem; }
.pricing-cross { color: #cbd5e1; font-size: 1.1rem; }

/* ══════════════════════════════
   STATS STRIP
   ══════════════════════════════ */
.stats-strip {
    background: var(--v-gradient);
    padding: 60px 0;
}
.stat-card-v {
    text-align: center;
    padding: 16px;
}
.stat-num-v {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.stat-label-v {
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    margin-top: 6px;
}

/* ══════════════════════════════
   TESTIMONIALS
   ══════════════════════════════ */
.v-testimonial {
    background: var(--v-bg);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    padding: 28px;
    height: 100%;
    transition: box-shadow .3s, transform .3s;
}
.v-testimonial:hover { box-shadow: var(--v-shadow); transform: translateY(-4px); }
.v-testimonial-stars { color: #f59e0b; letter-spacing: 2px; }
.v-testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--v-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0;
}

/* ══════════════════════════════
   BLOG CARDS
   ══════════════════════════════ */
.v-blog-card {
    border-radius: var(--v-radius);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    border: 1px solid var(--v-border);
    height: 100%;
}
.v-blog-card:hover { transform: translateY(-6px); box-shadow: var(--v-shadow-lg); }
.v-blog-category {
    display: inline-block;
    background: var(--v-gradient-soft);
    color: var(--v-primary);
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(37,99,235,.15);
}

/* ══════════════════════════════
   HERO SECTIONS (other pages)
   ══════════════════════════════ */
.page-hero {
    background: var(--v-gradient);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--v-bg);
    border-radius: 60px 60px 0 0;
}
.pricing-hero-section { background: var(--v-gradient); padding: 120px 0 60px; position: relative; overflow: hidden; }
.pricing-hero-section::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: #f8fafc; border-radius: 60px 60px 0 0; }
.features-hero-section, .about-hero-section, .contact-hero-section,
.demo-hero-section, .blog-hero-section {
    background: var(--v-gradient);
    padding: 120px 0 80px;
    position: relative; overflow: hidden;
}
.features-hero-section::after, .about-hero-section::after, .contact-hero-section::after,
.demo-hero-section::after, .blog-hero-section::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
    height: 80px; background: var(--v-bg); border-radius: 60px 60px 0 0;
}

/* ══════════════════════════════
   CTA SECTION
   ══════════════════════════════ */
.v-cta-section {
    background: var(--v-gradient);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v-cta-section::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='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,.85);
}
.footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.footer-divider { border-color: rgba(255,255,255,.1) !important; }
.footer-social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s;
    cursor: pointer;
}
.footer-social-btn:hover { background: rgba(255,255,255,.16); }

/* ══════════════════════════════
   FORMS / AUTH
   ══════════════════════════════ */
.v-form-card { border-radius: 20px; background: #fff; box-shadow: var(--v-shadow-lg); }
.login-hero-section, .forgot-password-hero-section, .reset-password-hero-section {
    background: var(--v-gradient); padding: 100px 0 40px;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 960px) {
    .hero-section::after { bottom: -30px; height: 60px; }
    .section { padding: 60px 0; }
    .pricing-card.recommended { transform: none; }
    .pricing-card.recommended:hover { transform: translateY(-8px); }
}
@media (max-width: 600px) {
    .hero-title { font-size: 1.8rem; }
    .v-cta-section { padding: 40px 20px; }
    .page-hero, .pricing-hero-section { padding: 90px 0 60px; }
}

/* ══════════════════════════════
   MISC
   ══════════════════════════════ */
.v-divider-wave {
    height: 60px;
    background: var(--v-surface);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.search-field .mud-input-outlined-border { border-radius: 24px; }
.comparison-table { border-radius: 12px; overflow: hidden; }
.article-content { font-size: 1.05rem; line-height: 1.9; }
.article-content h3 { font-size: 1.3rem; font-weight: 700; margin-top: 2rem; color: var(--v-primary); }
.article-content p { margin-bottom: 1.2rem; color: #374151; }

/* ══════════════════════════════
   SCREENSHOTS SECTION
   ══════════════════════════════ */
.screenshot-tab {
    padding: 7px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    font-size: .82rem;
    font-weight: 500;
    color: var(--v-text-muted);
    transition: all .2s ease;
    white-space: nowrap;
}
.screenshot-tab:hover { background: rgba(255,255,255,.7); color: var(--v-primary); }
.screenshot-tab.active {
    background: #fff;
    color: var(--v-primary);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37,99,235,.12);
}

/* App frame */
.app-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(37,99,235,.15);
    border: 1px solid var(--v-border);
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
}
.app-frame-bar {
    background: #f1f5f9;
    border-bottom: 1px solid var(--v-border);
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.app-frame-dots {
    display: flex;
    gap: 5px;
}
.app-frame-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: block;
}
.app-frame-url {
    background: #fff;
    border: 1px solid var(--v-border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: .75rem;
    color: var(--v-text-muted);
    display: flex;
    align-items: center;
}
.app-frame-content {
    height: 360px;
    background: var(--v-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-placeholder {
    text-align: center;
    padding: 40px;
}

/* Feature pills */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--v-border);
    border-radius: 40px;
    padding: 6px 14px;
    font-size: .8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

@media (max-width: 768px) {
    .app-frame-content { height: 240px; }
    .screenshot-tab { padding: 6px 10px; font-size: .78rem; }
}
