/* ========================================
   NOVAFRAME - PREMIUM TRIANGULAR LANDING
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #020208;
    --bg-secondary: #0a0b14;
    --bg-tertiary: #12131e;
    
    --cyan: #00e0ff;
    --purple: #5d5cff;
    --magenta: #b66dff;
    --blue: #2d7cff;
    
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   BACK TO LIAM DESIGNS BUTTON
   ======================================== */
.back-to-liam {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 14px 16px;
    background: linear-gradient(135deg, #28bfff 0%, #0891b2 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 50px 50px 0;
    box-shadow: 0 4px 20px rgba(40, 191, 255, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.back-to-liam:hover {
    padding-left: 20px;
    padding-right: 24px;
    box-shadow: 0 6px 28px rgba(40, 191, 255, 0.5);
}

.back-to-liam svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.back-to-liam:hover svg {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .back-to-liam {
        padding: 12px;
        border-radius: 0 12px 12px 0;
    }
    
    .back-to-liam span {
        display: none;
    }
}

/* ========================================
   GLOBAL RESET
   ======================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', 'Inter', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   ANIMATED BACKGROUND (CSS-ONLY)
   ======================================== */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 224, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(93, 92, 255, 0.08), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(182, 109, 255, 0.06), transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.4;
    }
    33% { 
        transform: translate(-2%, 2%) scale(1.05); 
        opacity: 0.5;
    }
    66% { 
        transform: translate(2%, -2%) scale(0.95); 
        opacity: 0.45;
    }
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(2, 2, 8, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s var(--transition-smooth);
}

.header.scrolled {
    background: rgba(2, 2, 8, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 48px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s var(--transition-smooth);
}

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

.logo-tri {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width 0.3s var(--transition-smooth);
}

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

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--bg-primary);
    box-shadow: 0 8px 32px rgba(0, 224, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(0, 224, 255, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--cyan);
    background: rgba(0, 224, 255, 0.05);
}

.cta-btn {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--bg-primary);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 224, 255, 0.4);
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ========================================
   TRIANGULAR SECTIONS
   ======================================== */

.tri-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.tri-clipper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Downward Triangle Clip */
.tri-clipper-down {
    clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0 100%);
}

/* Upward Triangle Clip */
.tri-clipper-up {
    clip-path: polygon(0 0%, 100% 8%, 100% 100%, 0 92%);
}

/* Background Gradients for Each Section */
.tri-bg-1 {
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 224, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(93, 92, 255, 0.15), transparent 50%),
        linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.tri-bg-2 {
    background: 
        radial-gradient(circle at 70% 20%, rgba(182, 109, 255, 0.12), transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(0, 224, 255, 0.12), transparent 50%),
        var(--bg-secondary);
}

.tri-bg-3 {
    background: 
        radial-gradient(circle at 50% 50%, rgba(93, 92, 255, 0.18), transparent 60%),
        linear-gradient(165deg, var(--bg-tertiary), var(--bg-secondary));
}

.tri-bg-4 {
    background: 
        radial-gradient(circle at 40% 40%, rgba(0, 224, 255, 0.14), transparent 55%),
        radial-gradient(circle at 60% 60%, rgba(182, 109, 255, 0.14), transparent 55%),
        var(--bg-secondary);
}

.tri-bg-5 {
    background: 
        radial-gradient(circle at 80% 20%, rgba(93, 92, 255, 0.16), transparent 50%),
        linear-gradient(150deg, var(--bg-tertiary), var(--bg-primary));
}

.tri-bg-6 {
    background: 
        radial-gradient(circle at 30% 70%, rgba(182, 109, 255, 0.15), transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(0, 224, 255, 0.15), transparent 60%),
        var(--bg-secondary);
}

.tri-bg-footer {
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 224, 255, 0.2), transparent 50%),
        linear-gradient(180deg, var(--bg-tertiary), var(--bg-primary));
}

.tri-bg {
    position: absolute;
    inset: 0;
    /* Removed heavy animation for performance */
}

/* ========================================
   SECTION HEADER
   ======================================== */

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

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--purple), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========================================
   HERO SECTION
   ======================================== */

#hero {
    padding-top: 180px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

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

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 224, 255, 0.05);
    border: 1px solid rgba(0, 224, 255, 0.2);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.label-icon {
    opacity: 0.8;
}

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

.hero-subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
}

.dashboard-mockup {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 40px;
    background: #0f1117;
    border: 2px solid rgba(0, 224, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 224, 255, 0.2);
    backdrop-filter: blur(20px);
    opacity: 1;
}

.dashboard-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}

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

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

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.dash-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(40, 200, 64, 0.1);
    color: #28c840;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-body {
    padding: 24px 20px;
}

/* Triangular Environment Grid */
.env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.env-tri {
    position: relative;
    padding: 20px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.env-tri:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 224, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.env-tri::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    opacity: 0.3;
}

.env-tri-prod::before {
    background: linear-gradient(135deg, #28c840, #00e0ff);
}

.env-tri-stage::before {
    background: linear-gradient(135deg, #ffbd2e, #ff9500);
}

.env-tri-dev::before {
    background: linear-gradient(135deg, #5d5cff, #b66dff);
}

.env-icon {
    font-size: 24px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.env-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 4px;
}

.env-status {
    font-size: 11px;
    color: #00e0ff !important;
}

.env-tri-prod .env-status {
    color: #28c840 !important;
}

.env-tri-stage .env-status {
    color: #ffbd2e !important;
}

.env-tri-dev .env-status {
    color: #5d5cff !important;
}

.dash-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

.deploy-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 2px;
}

.deploy-time {
    font-size: 11px;
    color: #a0aec0 !important;
}

.metric-label {
    font-size: 11px;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Live Metrics */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.metric-box {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.metric-data {
    margin-bottom: 12px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-graph {
    height: 30px;
}

.metric-graph svg {
    width: 100%;
    height: 100%;
}

/* Recent Deployments */
.deploy-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deploy-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.deploy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.deploy-success .deploy-dot {
    background: #28c840;
    box-shadow: 0 0 8px rgba(40, 200, 64, 0.5);
}

.deploy-progress .deploy-dot {
    background: #ffbd2e;
    box-shadow: 0 0 8px rgba(255, 189, 46, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.deploy-info {
    flex: 1;
}

.deploy-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.deploy-time {
    font-size: 11px;
    color: var(--text-muted);
}

.deploy-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.deploy-success .deploy-badge {
    background: rgba(40, 200, 64, 0.15);
    color: #28c840;
}

.deploy-progress .deploy-badge {
    background: rgba(255, 189, 46, 0.15);
    color: #ffbd2e;
}

.cube-face {
    display: none;
}

.tri-pattern {
    display: none;
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    padding: 24px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 224, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 224, 255, 0.2);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    position: relative;
    padding: 40px 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 224, 255, 0.3);
    box-shadow: 0 16px 48px rgba(0, 224, 255, 0.2);
}

.feature-tri {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 160px;
    height: 160px;
    opacity: 0.15;
    transition: all 0.4s var(--transition-smooth);
}

.feature-card:hover .feature-tri {
    opacity: 0.3;
    transform: rotate(15deg) scale(1.1);
}

.feature-tri-1 {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.feature-tri-2 {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
}

.feature-tri-3 {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--magenta), var(--cyan));
}

.feature-tri-4 {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--cyan);
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(0, 224, 255, 0.5));
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

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

.about-content h2 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.large-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-stat {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Founder Card */
.founder-card {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.founder-tri-bg {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.15), rgba(182, 109, 255, 0.15));
    /* Removed heavy animation for performance */
}

.founder-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 8px 24px rgba(0, 224, 255, 0.3));
    position: relative;
    z-index: 1;
}

.founder-info {
    text-align: center;
    position: relative;
    z-index: 1;
}

.founder-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.founder-quote {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   PLATFORM SECTION
   ======================================== */

.platform-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.platform-visual {
    position: relative;
    perspective: 1000px;
}

.terminal-window {
    position: relative;
    border-radius: 12px;
    background: rgba(10, 11, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.terminal-title {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
}

.terminal-body {
    padding: 24px;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 4px;
}

.code-comment {
    color: #6B7280;
}

.code-key {
    color: var(--cyan);
}

.code-value {
    color: var(--magenta);
}

.code-indent {
    padding-left: 24px;
}

.platform-tri-shape {
    position: absolute;
    opacity: 0.15;
    /* Removed heavy animation for performance */
}

.platform-tri-1 {
    top: -10%;
    right: -15%;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    animation-delay: 0s;
}

.platform-tri-2 {
    bottom: -15%;
    left: -10%;
    width: 180px;
    height: 180px;
    clip-path: polygon(50% 100%, 100% 0%, 0% 0%);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    animation-delay: 1s;
}

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

.platform-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s var(--transition-smooth);
}

.platform-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 224, 255, 0.3);
    transform: translateX(8px);
}

.platform-feature-icon {
    font-size: 24px;
    color: var(--cyan);
    font-weight: 700;
}

.platform-feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.platform-feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   PRICING SECTION
   ======================================== */

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

.pricing-card {
    position: relative;
    padding: 48px 36px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 224, 255, 0.3);
}

.pricing-card-featured {
    border-color: rgba(0, 224, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 224, 255, 0.2);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.pricing-tri-bg {
    position: absolute;
    opacity: 0.1;
    transition: all 0.4s var(--transition-smooth);
}

.pricing-card:hover .pricing-tri-bg {
    opacity: 0.2;
    transform: scale(1.1) rotate(10deg);
}

.pricing-tri-standard {
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.pricing-tri-featured {
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    opacity: 0.25;
}

.pricing-tri-enterprise {
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.pricing-amount {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.currency {
    font-size: 32px;
}

.period {
    font-size: 20px;
    color: var(--text-muted);
}

.pricing-custom {
    font-size: 36px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.check {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

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

.testimonial-card {
    position: relative;
    padding: 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 224, 255, 0.3);
    box-shadow: 0 16px 48px rgba(0, 224, 255, 0.15);
}

.testimonial-tri {
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 180px;
    height: 180px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.15), rgba(182, 109, 255, 0.15));
    opacity: 0.3;
    transition: all 0.4s var(--transition-smooth);
}

.testimonial-card:hover .testimonial-tri {
    opacity: 0.5;
    transform: rotate(15deg) scale(1.1);
}

.testimonial-quote {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.2), rgba(182, 109, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    position: relative;
    padding-top: var(--section-padding);
}

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

.footer-brand {
    max-width: 400px;
}

.footer-tagline {
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition-smooth);
}

.footer-social a:hover {
    background: rgba(0, 224, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-4px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   ANIMATION CLASSES
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 0.8s var(--transition-smooth) forwards;
    animation-delay: var(--delay, 0s);
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .header-container {
        padding: 16px 24px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .hero-grid,
    .about-grid,
    .platform-layout,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .pricing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .header-container {
        gap: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan), var(--purple));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--purple), var(--magenta));
}
