/* ======================================================================
   SELONY — Landing Page Design System
   Dark navy-purple theme, unopim.com inspired
   ====================================================================== */

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

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --surface-1: #0f1629;
    --surface-2: #151d2e;
    --surface-3: #1c2640;

    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-glow: rgba(124, 58, 237, 0.35);
    --accent: #06d6a0;
    --accent-glow: rgba(6, 214, 160, 0.3);
    --accent-2: #3b82f6;
    --accent-3: #f59e0b;

    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(124, 58, 237, 0.3);

    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a103d 40%, #0f172a 100%);
    --gradient-card: linear-gradient(145deg, #111827, #0f172a);
    --gradient-cta: linear-gradient(135deg, #7c3aed, #3b82f6);
    --gradient-accent: linear-gradient(135deg, #06d6a0, #3b82f6);

    /* Sizes */
    --container: 1200px;
    --radius: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--primary-glow);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-glow);
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-title .highlight {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-accent {
    background: var(--accent);
    color: #0a0e1a;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ====================================================================
   NAVBAR
   ==================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    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.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.navbar-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    padding: 4px;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface-1);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
    }

    .navbar-nav.open {
        right: 0;
    }

    .navbar-nav a {
        padding: 14px 16px;
        font-size: 1rem;
        width: 100%;
        border-radius: 10px;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-actions .btn {
        display: none;
    }

    .navbar-nav .mobile-cta {
        display: block;
        margin-top: 16px;
    }
}

@media (min-width: 769px) {
    .navbar-nav .mobile-cta {
        display: none;
    }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ====================================================================
   HERO SECTION
   ==================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite reverse;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero Network Animation */
.hero-network {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-network svg {
    width: 100%;
    height: auto;
}

.network-node {
    animation: float-node 4s ease-in-out infinite;
}

.network-node:nth-child(2) {
    animation-delay: 0.5s;
}

.network-node:nth-child(3) {
    animation-delay: 1s;
}

.network-node:nth-child(4) {
    animation-delay: 1.5s;
}

.network-node:nth-child(5) {
    animation-delay: 2s;
}

@keyframes float-node {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.network-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 2s ease forwards;
}

.network-line:nth-child(2) {
    animation-delay: 0.3s;
}

.network-line:nth-child(3) {
    animation-delay: 0.6s;
}

.network-line:nth-child(4) {
    animation-delay: 0.9s;
}

.network-line:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.network-dot {
    animation: travel-dot 3s linear infinite;
}

@keyframes travel-dot {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

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

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 640px) {
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }
}

/* ====================================================================
   SECTIONS (General)
   ==================================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--surface-1);
}

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

/* ====================================================================
   CHANNELS SECTION
   ==================================================================== */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.channel-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--gradient-cta);
    opacity: 0;
    transition: opacity 0.3s;
}

.channel-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.channel-card:hover::before {
    opacity: 1;
}

.channel-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.channel-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.channel-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ====================================================================
   OMS SECTION
   ==================================================================== */
.oms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.oms-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.oms-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.oms-feature:hover {
    background: var(--surface-2);
    border-color: var(--border);
}

.oms-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(6, 214, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.oms-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.oms-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.oms-visual {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.oms-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oms-dashboard-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    background: var(--surface-2);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    animation: slide-in-row 0.5s ease both;
}

.oms-dashboard-row:nth-child(1) {
    animation-delay: 0.1s;
}

.oms-dashboard-row:nth-child(2) {
    animation-delay: 0.2s;
}

.oms-dashboard-row:nth-child(3) {
    animation-delay: 0.3s;
}

.oms-dashboard-row:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slide-in-row {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.oms-channel-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.badge-uzum {
    background: rgba(138, 43, 226, 0.15);
    color: #a78bfa;
}

.badge-yandex {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge-telegram {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-instagram {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
}

.oms-order-id {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.oms-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

.status-new {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.status-confirmed {
    background: rgba(6, 214, 160, 0.15);
    color: #06d6a0;
}

.status-shipped {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.status-delivered {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

@media (max-width: 768px) {
    .oms-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ====================================================================
   FEATURES GRID
   ==================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====================================================================
   PRICING
   ==================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: '⭐ Eng mashhur';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-cta);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin: 16px 0;
}

.pricing-price .currency {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 28px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.pricing-trial {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}

/* ====================================================================
   TESTIMONIALS
   ==================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    line-height: 0;
    vertical-align: -10px;
    margin-right: 4px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====================================================================
   CTA SECTION
   ==================================================================== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    animation: pulse-glow 5s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section .section-title {
    margin-bottom: 20px;
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer {
    background: var(--surface-1);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
   SCROLL ANIMATIONS
   ==================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ====================================================================
   PAGE-SPECIFIC: Blog, Portfolio, About, Contact
   ==================================================================== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
}

.blog-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card,
.portfolio-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s;
}

.blog-card:hover,
.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.blog-card-img,
.portfolio-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--surface-3);
}

.blog-card-body,
.portfolio-card-body {
    padding: 24px;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.blog-card h3,
.portfolio-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-card p,
.portfolio-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* About Page */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.about-stat {
    text-align: center;
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.about-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.25s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

/* ====================================================================
   REGISTER PAGE
   ==================================================================== */
.register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: var(--gradient-hero);
}

.register-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-card);
}

.register-card h1 {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.register-card .register-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.register-trial {
    text-align: center;
    padding: 12px;
    background: rgba(6, 214, 160, 0.08);
    border: 1px solid rgba(6, 214, 160, 0.2);
    border-radius: 10px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-form .btn {
    margin-top: 8px;
    width: 100%;
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.register-footer a {
    color: var(--primary-light);
    font-weight: 500;
}

/* ====================================================================
   PARTICLES (Background decoration)
   ==================================================================== */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.15;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ====================================================================
   UTILITIES
   ==================================================================== */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-3 {
    margin-bottom: 24px;
}

/* Validation errors */
.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
}