/* ===================================
   RUNO TECHNOLOGIES - PORTFOLIO STYLES
   Modern, animated, Framer-inspired
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Dark theme with teal primary and purple/amber accents */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a26;
    --bg-card: rgba(26, 26, 38, 0.6);
    --bg-card-hover: rgba(38, 38, 54, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    --accent-teal: #00D4AA;
    --accent-teal-dim: rgba(0, 212, 170, 0.15);
    --accent-purple: #7B61FF;
    --accent-purple-dim: rgba(123, 97, 255, 0.15);
    --accent-amber: #FFB547;
    --accent-amber-dim: rgba(255, 181, 71, 0.15);
    --accent-rose: #FF6B9D;
    --accent-rose-dim: rgba(255, 107, 157, 0.15);
    
    --gradient-primary: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
    --gradient-glow: radial-gradient(circle at center, var(--accent-teal-dim) 0%, transparent 70%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.12);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --container-width: 1280px;
    --section-padding: 120px;
    --card-radius: 20px;
    --btn-radius: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Background */
.bg-gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-teal);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-amber);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.05); }
    50% { transform: translate(0, 50px) scale(0.95); }
    75% { transform: translate(-50px, -25px) scale(1.02); }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.4);
}

.btn-primary svg {
    transition: transform var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-teal);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

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

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

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link:hover {
    color: var(--text-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

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

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float-card 6s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
}

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

.floating-card .card-icon.purple {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
}

.floating-card .card-icon.amber {
    background: var(--accent-amber-dim);
    color: var(--accent-amber);
}

.floating-card .card-icon.rose {
    background: var(--accent-rose-dim);
    color: var(--accent-rose);
}

.floating-card .card-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

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

.card-1 {
    top: 50px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 120px;
    right: 20px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 140px;
    left: -20px;
    animation-delay: -4s;
}

.card-4 {
    bottom: 60px;
    right: 40px;
    animation-delay: -3s;
}

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

.hero-dashboard {
    position: absolute;
    top: 80px;
    left: 60px;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.dashboard-dots span:first-child { background: #FF5F57; }
.dashboard-dots span:nth-child(2) { background: #FEBC2E; }
.dashboard-dots span:nth-child(3) { background: #28C840; }

.dashboard-title {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-content {
    display: flex;
    height: calc(100% - 52px);
}

.dashboard-sidebar {
    width: 60px;
    padding: 16px 12px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-tertiary);
}

.sidebar-item.active {
    background: var(--accent-teal-dim);
    border: 1px solid var(--accent-teal);
}

.dashboard-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-area {
    flex: 1;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100%;
}

.chart-bars .bar {
    flex: 1;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: 6px 6px 0 0;
    animation: grow-bar 1s ease-out forwards;
    animation-delay: calc(var(--height) * 0.01s);
}

@keyframes grow-bar {
    from { height: 0; }
    to { height: var(--height); }
}

.metrics-row {
    display: flex;
    gap: 12px;
}

.metric-card {
    flex: 1;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Trusted Section */
.trusted-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-label {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Services Section */
.services-section {
    padding: var(--section-padding) 0;
}

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

.service-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    transition: all var(--transition-slow);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
    margin-bottom: 24px;
    transition: transform var(--transition-bounce);
}

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

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

.service-icon.purple {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
}

.service-icon.amber {
    background: var(--accent-amber-dim);
    color: var(--accent-amber);
}

.service-icon.rose {
    background: var(--accent-rose-dim);
    color: var(--accent-rose);
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
}

/* Process Section */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    transition: all var(--transition-slow);
}

.process-step:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
}

.process-step:hover .step-number {
    opacity: 1;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-visual {
    width: 64px;
    height: 64px;
}

.visual-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
    transition: transform var(--transition-bounce);
}

.process-step:hover .visual-icon {
    transform: rotate(10deg) scale(1.1);
}

.visual-icon svg {
    width: 28px;
    height: 28px;
}

.visual-icon.purple {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
}

.visual-icon.amber {
    background: var(--accent-amber-dim);
    color: var(--accent-amber);
}

.visual-icon.rose {
    background: var(--accent-rose-dim);
    color: var(--accent-rose);
}

.process-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--border-color) 0%, transparent 100%);
    margin-left: 80px;
}

/* Work Section */
.work-section {
    padding: var(--section-padding) 0;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-light);
}

.work-card.large {
    grid-row: span 2;
}

.work-image {
    height: 280px;
    overflow: hidden;
}

.work-card.large .work-image {
    height: 100%;
    min-height: 480px;
}

.work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.work-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-10%, -10%); }
    50% { transform: translate(10%, 10%); }
}

.work-placeholder.gradient-1 {
    background: linear-gradient(135deg, #0a1a1f 0%, #0f2a35 50%, #153545 100%);
}

.work-placeholder.gradient-2 {
    background: linear-gradient(135deg, #1a0f2a 0%, #2a1540 50%, #351a50 100%);
}

.work-placeholder.gradient-3 {
    background: linear-gradient(135deg, #1a1f0a 0%, #2a350f 50%, #354515 100%);
}

.app-mockup {
    width: 100%;
    max-width: 280px;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-mockup.small {
    max-width: 200px;
}

.mockup-header {
    height: 24px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.mockup-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-card {
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.mockup-chart {
    height: 120px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.mockup-grid {
    height: 120px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
}

/* Phone Mockup */
.phone-mockup {
    width: 220px;
    height: 440px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-mockup.small {
    width: 180px;
    height: 360px;
    border-radius: 28px;
    padding: 6px;
}

.phone-notch {
    width: 80px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-notch.small {
    width: 60px;
    height: 18px;
    border-radius: 0 0 12px 12px;
    top: 6px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f0f1a;
    border-radius: 28px;
    overflow: hidden;
}

.phone-mockup.small .phone-screen {
    border-radius: 22px;
}

.phone-home-indicator {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-mockup.small .phone-home-indicator {
    width: 80px;
    bottom: 10px;
}

/* FinTech App Mockup */
.fintech-app {
    padding: 40px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.fintech-greeting {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.fintech-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
}

.fintech-balance-card {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(123, 97, 255, 0.15));
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.balance-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.balance-amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.balance-amount span {
    font-size: 14px;
    opacity: 0.7;
}

.balance-change {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.balance-change.positive {
    color: var(--accent-teal);
}

.fintech-chart {
    height: 60px;
    margin-bottom: 16px;
}

.line-chart {
    width: 100%;
    height: 100%;
}

.fintech-transactions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.transaction-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.transaction-icon.green {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-teal);
}

.transaction-icon.red {
    background: rgba(255, 107, 157, 0.15);
    color: var(--accent-rose);
}

.transaction-details {
    flex: 1;
}

.transaction-name {
    font-size: 11px;
    font-weight: 500;
    color: white;
}

.transaction-date {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
}

.transaction-amount {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.transaction-amount.positive {
    color: var(--accent-teal);
}

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    max-width: 280px;
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #0f0f1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.browser-dots span:first-child { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
    flex: 1;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

.browser-content {
    padding: 12px;
    min-height: 180px;
}

/* Healthcare Dashboard */
.health-dashboard {
    display: flex;
    gap: 10px;
    height: 100%;
}

.health-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-icon.active {
    background: var(--accent-purple-dim);
    border: 1px solid var(--accent-purple);
}

.health-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.health-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.patient-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.patient-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-rose));
}

.patient-info-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.info-line.long { width: 80%; }
.info-line.short { width: 50%; }

.vitals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.vital-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.vital-icon {
    width: 16px;
    height: 16px;
    margin: 0 auto 4px;
    border-radius: 4px;
}

.vital-icon.heart {
    background: rgba(255, 107, 157, 0.2);
    position: relative;
}

.vital-icon.heart::after {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: var(--accent-rose);
}

.vital-icon.temp {
    background: rgba(255, 181, 71, 0.2);
    position: relative;
}

.vital-icon.temp::after {
    content: '°';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--accent-amber);
}

.vital-value {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.vital-label {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.ai-diagnosis {
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
}

.ai-badge {
    font-size: 8px;
    color: var(--accent-purple);
    margin-bottom: 6px;
    font-weight: 600;
}

.diagnosis-bar {
    height: 4px;
    background: rgba(123, 97, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.diagnosis-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 75%;
    background: var(--accent-purple);
    border-radius: 2px;
    animation: diagnosis-load 2s ease-out infinite;
}

.diagnosis-bar.short {
    width: 60%;
}

.diagnosis-bar.short::after {
    width: 60%;
    animation-delay: 0.3s;
}

@keyframes diagnosis-load {
    0% { width: 0; }
    50%, 100% { width: 75%; }
}

/* AP Dashboard Mockup */
.ap-dashboard {
    display: flex;
    gap: 10px;
    height: 100%;
}

.ap-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ap-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.ap-stat-box.highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.05));
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.ap-stat-value {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.ap-stat-box.highlight .ap-stat-value {
    color: var(--accent-teal);
}

.ap-stat-label {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ap-invoices {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ap-invoice-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.invoice-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.invoice-status.approved {
    background: var(--accent-teal);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}

.invoice-status.pending {
    background: var(--accent-amber);
    box-shadow: 0 0 8px rgba(255, 181, 71, 0.5);
}

.invoice-status.flagged {
    background: var(--accent-rose);
    box-shadow: 0 0 8px rgba(255, 107, 157, 0.5);
    animation: pulse-alert 1.5s ease-in-out infinite;
}

@keyframes pulse-alert {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.invoice-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.invoice-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: 100%;
}

.invoice-line.short {
    width: 60%;
}

.invoice-amount {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.ai-fraud-alert {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(123, 97, 255, 0.1));
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 8px;
    padding: 8px;
}

.ai-fraud-alert .ai-badge {
    color: var(--accent-teal);
    margin-bottom: 6px;
}

.fraud-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fraud-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 212, 170, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.fraud-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 99.9%;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
    border-radius: 2px;
    animation: fraud-scan 3s ease-in-out infinite;
}

@keyframes fraud-scan {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.fraud-status {
    font-size: 8px;
    font-weight: 600;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* E-commerce App Mockup */
.ecommerce-app {
    padding: 30px 10px 10px;
    height: 100%;
}

.ecom-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ecom-search {
    flex: 1;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.ecom-cart {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: var(--accent-amber);
    border-radius: 50%;
    font-size: 8px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecom-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.category-pill {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 9px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.category-pill.active {
    background: var(--accent-amber-dim);
    color: var(--accent-amber);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.product-image {
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 181, 71, 0.2), rgba(255, 107, 157, 0.2));
}

.product-image.img-1 {
    background: linear-gradient(135deg, #2d4a3e, #1a3a2e);
}

.product-image.img-2 {
    background: linear-gradient(135deg, #4a3d2d, #3a2e1a);
}

.product-image.img-3 {
    background: linear-gradient(135deg, #3d2d4a, #2e1a3a);
}

.product-image.img-4 {
    background: linear-gradient(135deg, #2d3d4a, #1a2e3a);
}

.product-price {
    padding: 6px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.work-info {
    padding: 24px;
}

.work-category {
    font-size: 13px;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.work-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.work-info p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: 24px;
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-teal);
    margin-bottom: 16px;
    opacity: 0.5;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.author-avatar.purple {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
}

.author-avatar.amber {
    background: var(--accent-amber-dim);
    color: var(--accent-amber);
}

.author-info strong {
    display: block;
    font-size: 15px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.cta-content {
    padding: 60px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 17px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px var(--accent-teal-dim);
}

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

.cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-decoration {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    animation: ring-pulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation-delay: -1s;
}

.ring-3 {
    width: 320px;
    height: 320px;
    animation-delay: -2s;
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.decoration-center {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    animation: float-card 4s ease-in-out infinite;
}

.decoration-center svg {
    width: 40px;
    height: 40px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
}

.footer-brand .logo {
    margin-bottom: 20px;
    justify-content: center;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.footer-links {
    display: contents;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a,
.footer-column span {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-teal);
}

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

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card.large {
        grid-row: span 1;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
    }
    
    .cta-visual {
        display: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .step-visual {
        display: none;
    }
    
    .step-number {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .process-step {
        padding: 24px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
}

