/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Animation */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Utilities */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 40px;
    height: 40px;
    transition: transform var(--transition-base);
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.btn-demo {
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-20) 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-gradient);
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-gradient);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

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

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

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

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

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.play-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.2s forwards;
}

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

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.4s forwards;
}

.dashboard-mockup {
    background: var(--bg-primary);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

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

.mockup-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.mockup-controls {
    display: flex;
    gap: var(--space-2);
}

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

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.mockup-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.mockup-content {
    padding: var(--space-8);
}

.chart-container {
    display: flex;
    align-items: end;
    gap: var(--space-4);
    height: 120px;
    margin-bottom: var(--space-8);
}

.chart-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.chart-bar {
    width: 100%;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
    animation: growUp 1s ease-out 1.8s both;
}

.chart-item span {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

@keyframes growUp {
    from { height: 0; }
    to { height: 100%; }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.metric-card {
    background: var(--bg-secondary);
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

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

.metric-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

.metric-trend {
    margin-top: var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.metric-trend.positive {
    color: #10b981;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: floatCard 4s ease-in-out infinite;
}

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

.card-2 {
    top: 60%;
    right: -25%;
    animation-delay: 1.5s;
}

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

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(0px) translateX(10px); }
    75% { transform: translateY(10px) translateX(5px); }
}

.card-icon {
    font-size: var(--font-size-lg);
}

.card-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-light);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

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

.scroll-text {
    font-size: var(--font-size-sm);
    text-align: center;
}

/* Trust Section */
.trust-section {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.trust-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    font-size: var(--font-size-lg);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.logo-item {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-light);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--text-white);
    fill: none;
    stroke-width: 2;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.benefit {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* AI Integration Section */
.ai-integration {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.ai-integration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.integration-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ai-integration .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.ai-integration .section-title {
    color: var(--text-white);
}

.ai-integration .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.integration-features {
    margin: var(--space-8) 0;
}

.integration-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-white);
    fill: none;
    stroke-width: 2;
}

.item-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.item-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* System Diagram - FIXED POSITIONING */
.system-diagram {
    position: relative;
    width: 480px;
    height: 480px;
    margin: 0 auto;
}

/* Central Network Hub */
.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: var(--font-size-sm);
    z-index: 10;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.4),
        0 0 0 0 rgba(102, 126, 234, 0.7);
    animation: networkPulse 3s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 8px 32px rgba(102, 126, 234, 0.4),
            0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 
            0 12px 40px rgba(102, 126, 234, 0.5),
            0 0 0 20px rgba(102, 126, 234, 0);
    }
}

/* Central Node Icon */
.central-node .node-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-2);
}

.central-node .node-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Connected Service Nodes */
.connected-node {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    animation: orbitalFloat 5s ease-in-out infinite;
    cursor: pointer;
}

/* Orbital floating animation */
@keyframes orbitalFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    25% { 
        transform: translateY(-8px) scale(1.02);
    }
    50% { 
        transform: translateY(0px) scale(1.05);
        box-shadow: 
            0 12px 32px rgba(102, 126, 234, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    75% { 
        transform: translateY(8px) scale(1.02);
    }
}

/* Hover effect for nodes */
.connected-node:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.6);
    transform: scale(1.1) !important;
    box-shadow: 
        0 16px 40px rgba(102, 126, 234, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.connected-node .node-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-1);
}

.connected-node .node-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* PERFECTLY SPACED HEXAGON POSITIONING */
.node-1 {
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.node-2 {
    top: 20%;
    right: 8%;
    animation-delay: 1s;
}

.node-3 {
    bottom: 20%;
    right: 8%;
    animation-delay: 2s;
}

.node-4 {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

/* Add 5th node for better distribution */
.connected-node.node-5 {
    top: 20%;
    left: 8%;
    animation-delay: 4s;
}

/* WIRELESS SIGNAL WAVES */
.system-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: signalWave1 4s ease-in-out infinite;
    z-index: 1;
}

.system-diagram::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    animation: signalWave2 4s ease-in-out infinite 0.5s;
    z-index: 1;
}

@keyframes signalWave1 {
    0%, 100% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes signalWave2 {
    0%, 100% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    50% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Network Status Indicator */
.system-diagram .network-status {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: statusBlink 2s ease-in-out infinite;
    z-index: 15;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Connection Lines - REMOVED (as requested) */
.connection-line {
    display: none;
}

/* Solutions Section */
.solutions-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.solutions-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--text-white);
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.solution-text h3 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.solution-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.solution-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.solution-features li {
    padding: var(--space-2) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--space-6);
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.solution-stats {
    display: flex;
    gap: var(--space-8);
}

.stat {
    text-align: center;
}

.stat .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
}

.stat .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.solution-visual {
    background: var(--bg-primary);
    border-radius: var(--border-radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.visual-container {
    height: 300px;
    position: relative;
    overflow: hidden;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    margin-bottom: var(--space-4);
}

.star {
    color: #fbbf24;
    font-size: var(--font-size-lg);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    font-size: var(--font-size-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-medium);
    border-radius: var(--border-radius-full);
    transition: var(--transition-base);
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: var(--bg-primary);
    border-radius: 50%;
    transition: var(--transition-base);
}

.toggle-switch input:checked + label {
    background: var(--primary-color);
}

.toggle-switch input:checked + label:before {
    transform: translateX(30px);
}

.discount {
    background: var(--secondary-gradient);
    color: var(--text-white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    margin-left: var(--space-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-gradient);
    color: var(--text-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.pricing-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-2);
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

.pricing-features {
    margin-bottom: var(--space-8);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-light);
}

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

.check-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.pricing-button {
    width: 100%;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pricing-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

/* CTA Section */
.cta-section {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

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

.cta-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-10);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.btn-primary.large, .btn-secondary.large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-lg);
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.note-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--space-20) 0 var(--space-8);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

.link-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.link-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-meta {
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .integration-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .system-diagram {
        width: 420px;
        height: 420px;
    }
    
    .central-node {
        width: 120px;
        height: 120px;
    }
    
    .connected-node {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --space-24: 4rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: var(--space-16) 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-6);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .system-diagram {
        width: 380px;
        height: 380px;
    }
    
    .central-node {
        width: 110px;
        height: 110px;
        font-size: 0.8rem;
    }
    
    .connected-node {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --space-12: 2rem;
        --space-10: 1.5rem;
        --space-8: 1.5rem;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .dashboard-mockup {
        transform: none;
    }
    
    .system-diagram {
        width: 320px;
        height: 320px;
    }
    
    .central-node {
        width: 100px;
        height: 100px;
        font-size: 0.75rem;
    }
    
    .connected-node {
        width: 70px;
        height: 70px;
        font-size: 0.6rem;
    }
    
    .hero-stats {
        gap: var(--space-4);
    }
    
    .stat-divider {
        height: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .floating-elements,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero-background {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #f5f5f5;
        --border-light: #666666;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styles */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
}