/* ═══════════════════════════════════════════
   DORSAM — Landing Page Styles
   Dark theme · Sapphire Blue + Gold palette
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg: #0A0A0F;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --sapphire: #0A3D7A;
    --blue: #0A84FF;
    --blue-dim: rgba(10, 132, 255, 0.12);
    --purple: #BF5AF2;
    --gold: #D4A544;
    --green: #30D158;
    --red: #FF453A;
    --orange: #FF9F0A;
    --cyan: #64D2FF;
    --text-1: #F5F5F7;
    --text-2: rgba(235, 235, 245, 0.6);
    --text-3: rgba(235, 235, 245, 0.35);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(10, 132, 255, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-1);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 30%, rgba(10, 61, 122, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 70% 60%, rgba(191, 90, 242, 0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-dim);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 20px;
    padding: 6px 16px 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 28px;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 132, 255, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    color: var(--text-1);
    border: 1px solid var(--border);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 56px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-3);
    margin-top: 2px;
}

/* Hero Demo Screenshot */
.hero-demo {
    max-width: 900px;
    margin: 56px auto 0;
    perspective: 1200px;
}

.hero-demo img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(10, 132, 255, 0.08);
    transform: rotateX(2deg);
    transition: transform 0.4s, box-shadow 0.4s;
}

.hero-demo img:hover {
    transform: rotateX(0deg) translateY(-4px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(10, 132, 255, 0.12);
}

/* ═══════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   FEATURES SHOWCASE (Alternating Layout)
   ═══════════════════════════════════════ */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-item:nth-child(even) .feature-img {
    order: -1;
}

.feature-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--blue-dim);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.feature-img {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.feature-img img {
    width: 100%;
    display: block;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */
.section-dark {
    background: linear-gradient(180deg, rgba(10, 61, 122, 0.06) 0%, var(--bg) 60%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(10, 132, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2rem;
    margin: 12px 0 16px;
    opacity: 0.6;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-1);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════ */
.animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════ */

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.billing-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--green);
    margin-bottom: 32px;
    font-weight: 500;
}

.toggle-tabs {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
    gap: 4px;
}

.toggle-tab {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    background: none;
    color: var(--text-3);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-tab.active {
    background: var(--bg-glass);
    color: var(--text-1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-tab:hover:not(.active) {
    color: var(--text-2);
}

.save-badge {
    font-size: 0.68rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green), #28B04C);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.pricing-card.popular {
    border-color: rgba(10, 132, 255, 0.3);
    background: linear-gradient(180deg, rgba(10, 132, 255, 0.06) 0%, var(--bg-card) 50%);
    box-shadow: 0 0 40px rgba(10, 132, 255, 0.08);
}

.pricing-card.pro-card {
    border-color: rgba(191, 90, 242, 0.3);
    background: linear-gradient(180deg, rgba(191, 90, 242, 0.06) 0%, var(--bg-card) 50%);
    box-shadow: 0 0 40px rgba(191, 90, 242, 0.08);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.pricing-card:nth-child(1) .pricing-tier {
    color: var(--text-3);
}

.pricing-card:nth-child(2) .pricing-tier {
    color: var(--cyan);
}

.pricing-card:nth-child(3) .pricing-tier {
    color: var(--purple);
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-3);
}

.pricing-desc {
    font-size: 0.82rem;
    color: var(--text-3);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-2);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(48, 209, 88, 0.12);
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-3);
    text-decoration: line-through;
    opacity: 0.5;
}

.pricing-features li.disabled::before {
    content: '✕';
    background: rgba(255, 69, 58, 0.08);
    color: var(--red);
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:nth-child(1) .pricing-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-1);
}

.pricing-card:nth-child(2) .pricing-btn {
    background: linear-gradient(135deg, var(--blue), #0066CC);
    color: white;
    box-shadow: 0 4px 20px rgba(10, 132, 255, 0.2);
}

.pricing-card:nth-child(3) .pricing-btn {
    background: linear-gradient(135deg, var(--purple), #8A2BE2);
    color: white;
    box-shadow: 0 4px 20px rgba(191, 90, 242, 0.2);
}

.pricing-btn:hover {
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════ */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
    font-size: 0.85rem;
}

.compare-table thead th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
}

.compare-table thead th:first-child {
    text-align: left;
}

.compare-table tbody td {
    padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-2);
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-1);
}

.check {
    color: var(--green);
    font-weight: 700;
}

.cross {
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   TRUST / CREDIBILITY BANNER
   ═══════════════════════════════════════ */
.trust-banner {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-content {
    text-align: center;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 16px;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-items span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-card);
    transition: border-color 0.2s, color 0.2s;
}

.trust-items span:hover {
    border-color: rgba(10, 132, 255, 0.3);
    color: var(--cyan);
}

/* ═══════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--cyan);
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-3);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question::after {
    content: '−';
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.7;
    padding-bottom: 20px;
}

/* ═══════════════════════════════════════
   FOOTER (expanded)
   ═══════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

.footer-grid-full {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--text-3);
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-3);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
    color: var(--text-1);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-2);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--text-3);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-1);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width:768px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-item:nth-child(even) .feature-img {
        order: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .hero-stats {
        gap: 24px;
    }

    .compare-table {
        font-size: 0.75rem;
    }

    .compare-table thead th,
    .compare-table tbody td {
        padding: 8px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .trust-items {
        gap: 10px;
    }

    .trust-items span {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .footer-grid-full {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile menu */
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 105;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-1);
    }
}