/* ==========================================================================
   Pysar Technologies — Modern Fintech Site
   ========================================================================== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --success: #10b981;
    --warning: #f59e0b;

    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-text: linear-gradient(135deg, #818cf8 0%, #06b6d4 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.35);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; display: block; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ==========================================================================
   Animated Background
   ========================================================================== */

.bg-animation {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #06b6d4, transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    top: 40%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Logo (CSS-only)
   ========================================================================== */

.logo-wrapper { display: inline-block; line-height: 0; }

/* Pysar Financial Technologies brand logo image
   The PNG has significant internal whitespace around the actual mark+wordmark,
   so we render it large and use negative margins to "trim" the empty padding,
   keeping the navbar compact while making the logo visually prominent. */
.logo-wrapper { overflow: visible; }

/* Render the logo image large (prominent visible mark + wordmark)
   while collapsing its layout box with negative margins so the navbar
   stays a compact ~70-80px tall. The image's transparent padding
   overflows above/below the layout box harmlessly. */
.brand-logo {
   
    width: auto;
    display: block;
  
    filter: invert(1) hue-rotate(180deg) brightness(1.15) saturate(1.3);
    transition: transform var(--transition), filter var(--transition);
    transform-origin: left center;
}

.logo-wrapper:hover .brand-logo {
    transform: scale(1.04);
    filter: invert(1) hue-rotate(180deg) brightness(1.3) saturate(1.5) drop-shadow(0 4px 18px rgba(99, 102, 241, 0.45));
}

.brand-logo.footer-logo {
    height: 300px;
    margin: -105px -70px -90px -70px;
}

@media (max-width: 768px) {
    .brand-logo { height: 200px; margin: -72px -50px -72px -50px; }
    .brand-logo.footer-logo { height: 220px; margin: -78px -52px -65px -52px; }
}

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

.logo-mark {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: transform var(--transition);
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.logo-wrapper:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-wrapper:hover .logo-mark::before {
    transform: translateX(100%);
}

.logo-letter {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    z-index: 1;
}

/* Financial growth bars inside the logo mark */
.logo-bars {
    position: absolute;
    bottom: 6px;
    right: 6px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    z-index: 1;
}

.logo-bars span {
    width: 3px;
    background: #ffffff;
    border-radius: 1px;
    opacity: 0.95;
    box-shadow: 0 0 6px rgba(6, 182, 212, 0.6);
}

.logo-bars span:nth-child(1) {
    height: 5px;
    animation: bar-pulse 2.4s ease-in-out infinite;
}

.logo-bars span:nth-child(2) {
    height: 9px;
    animation: bar-pulse 2.4s ease-in-out 0.2s infinite;
}

.logo-bars span:nth-child(3) {
    height: 14px;
    background: linear-gradient(180deg, #06b6d4, #ffffff);
    animation: bar-pulse 2.4s ease-in-out 0.4s infinite;
}

@keyframes bar-pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.9; }
    50% { transform: scaleY(1.15); opacity: 1; }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tag {
    font-size: 0.55rem;
    letter-spacing: 0.28em;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
}

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

.btn-ghost {
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--bg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeUp 0.8s 0.1s ease-out backwards;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.gradient-text-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
    animation: fadeUp 0.8s 0.2s ease-out backwards;
}

.hero-subtitle strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeUp 0.8s 0.3s ease-out backwards;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeUp 0.8s 0.4s ease-out backwards;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
    white-space: nowrap;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 8px;
    white-space: nowrap;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 520px;
    animation: fadeUp 1s 0.5s ease-out backwards;
}

.hero-shape {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.3), transparent, rgba(6, 182, 212, 0.3), transparent);
    animation: rotate 20s linear infinite;
    position: relative;
}

.shape-circle::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: var(--bg);
}

.shape-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-card {
    position: absolute;
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float-card 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: -4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.accent-icon {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
}

.success-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.card-title {
    font-weight: 600;
    font-size: 0.92rem;
}

.card-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--text-muted));
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */

section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 70px;
}

.section-header.center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

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

.feature-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.stats-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.progress-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
}

.progress-label span:last-child {
    color: var(--primary-light);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card.animate .progress-fill {
    width: var(--w);
}

/* ==========================================================================
   Products — FactorAvenue
   ========================================================================== */

.products {
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.03), transparent);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-mockup {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform var(--transition-slow);
}

.product-mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3f3f46;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.mockup-body {
    padding: 32px;
}

.mockup-brand {
    margin-bottom: 24px;
}

.fa-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* FactorAvenue logo image — fa.png is wide-canvas with the mark on the left */
.fa-mark {
    height: 36px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(6, 182, 212, 0.35));
    transition: transform var(--transition);
}

.fa-mark:hover {
    transform: scale(1.04);
}

.fa-mark.large {
    height: 64px;
    max-width: 200px;
}

.fa-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fa-name-large {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.fa-tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.mockup-heading {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.mockup-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mock-metric {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
}

.mock-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.mock-value {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text);
}

.mock-trend {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.mock-trend.up { color: var(--success); }

.mock-chart {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--accent) 0%, var(--success) 100%);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    animation: bar-grow 1.5s ease-out backwards;
}

.chart-bar:nth-child(1) { animation-delay: 0s; }
.chart-bar:nth-child(2) { animation-delay: 0.08s; }
.chart-bar:nth-child(3) { animation-delay: 0.16s; }
.chart-bar:nth-child(4) { animation-delay: 0.24s; }
.chart-bar:nth-child(5) { animation-delay: 0.32s; }
.chart-bar:nth-child(6) { animation-delay: 0.4s; }
.chart-bar:nth-child(7) { animation-delay: 0.48s; }

@keyframes bar-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

/* Product details */
.product-logo-large {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.product-features li strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.product-features li span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.product-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: attr(data-index);
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.6;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: transform var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.1);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Expertise Timeline
   ========================================================================== */

.expertise {
    position: relative;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary) 15%, var(--accent) 85%, transparent);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-year {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-elevated);
    padding: 8px 16px;
    border-radius: 100px;
    border: 2px solid var(--border-strong);
    margin-bottom: 24px;
    transition: var(--transition);
}

.timeline-item.highlight .timeline-year {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.timeline-item:hover .timeline-year {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.timeline-card {
    padding: 22px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    width: 100%;
    min-height: 140px;
    backdrop-filter: blur(20px);
}

.timeline-item:hover .timeline-card {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.timeline-item.highlight .timeline-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}

.timeline-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

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

@media (max-width: 1024px) {
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .timeline::before { display: none; }
}

@media (max-width: 600px) {
    .timeline {
        grid-template-columns: 1fr;
    }
    .timeline-card { min-height: auto; }
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    position: relative;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
}

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

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-card h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
}

.info-card a {
    color: inherit;
    transition: color var(--transition);
}

.info-card a:hover {
    color: var(--primary-light);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group select option {
    background: var(--bg-elevated);
}

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

.form-success {
    margin-top: 20px;
    padding: 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeUp 0.4s ease-out;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.6);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0 24px;
    font-size: 0.95rem;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a, .footer-col li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: color var(--transition);
}

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

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

.footer-legal {
    display: flex;
    gap: 24px;
}

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

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .hero .container,
    .about-grid,
    .product-showcase,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual {
        height: 420px;
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    section { padding: 80px 0; }

    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: flex; }

    .navbar.menu-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
    }

    .navbar.menu-open .nav-links li {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .navbar.menu-open .nav-links li:last-child { border-bottom: none; }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-number { font-size: 1.8rem; }
    .stat-suffix { font-size: 1.2rem; }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .cta-content {
        padding: 50px 24px;
    }

    .contact-form {
        padding: 28px;
    }

    .scroll-indicator { display: none; }

    .floating-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .card-icon { width: 34px; height: 34px; }
    .card-title { font-size: 0.82rem; }
    .card-meta { font-size: 0.7rem; }

    .shape-circle { width: 280px; height: 280px; }

    .hero-visual {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .logo-text { display: none; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        flex: 1;
        min-width: 90px;
    }

    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }

    .product-logo-large { flex-direction: column; align-items: flex-start; gap: 12px; }
}
