:root {
    --primary-color: #8F00FF;
    --primary-dark: #6F00D9;
    --primary-light: #A94EFF;
    --secondary-color: #00AEEF;
    --accent-color: #8F00FF;
    --bg-dark: #0D0D0D;
    --bg-darker: #000000;
    --bg-light: #1A1A1A;
    --text-light: #FFFFFF;
    --text-muted: #BBBBBB;
    --border-color: #333333;
    --card-bg: rgba(26, 26, 26, 0.8);
    --gradient-primary: linear-gradient(135deg, #8F00FF, #00AEEF);
    --gradient-dark: linear-gradient(135deg, #0D0D0D, #000000);
    --glow-primary: 0 0 20px rgba(143, 0, 255, 0.6);
    --transition-speed: 0.3s;
    --font-main: 'Space Grotesk', 'SF Mono', 'Roboto Mono', 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAABBpJREFUaEPtmcuKFEEQhr/ZUUFvIC4KgojgQlZBEURUVlwVRFwQQbygoDdQH8EH0CfwuuKuIO6KF3RF3PUJ1AsIXt7A2zr+1U7NTFVXV3dXdQ8sZNCenpqI/DPyZ0RE34SI32aOm9kKYD2wDlgFrAZ+Ad+Bz8DXtCXn1UokIrJc0SxmtgzYDBwAdgJLgLfAG+AjMAe8B2b1u5mtBNYAW4BtwA7gK/ACeAK8Smul7G0kIrIc0V5mthY4ChwGFMQT4DHwXEEXseUcaD+wDzgg58C9jEREtm18KSVxHDgGfADuAI+AWUWojVW4pUlrLwMvgXvAs+RszUREtql1mSdHq4vTwE/gJnBLaVOr/Z0X0pppre3AaeAgcDM5/rHIRoxEZKRvZmYKXCXATeBKDtIoVEg9EcgfnQkVhDpVleFIRBLbp8VVSlysuIqMDGxARGpMLilxvAn4kCTl3T7KrVqGjSFSo8g6SaT0USp9bDqJbGHpQyQrR/rQQpPccRCRikqkndCl/SHQKnccTKQiIl3IU9n7cMiLvMvuYCIV6lQZYpfcUUSkJCKdyFP2GRPyd/iINEgQCaFZhHwQkQJl+iPPgftOQn7IiAwk0jt5DBapyIKBzVXYIlVDpEYWe7XXMCBmptLlAnDRqbXqrRoiNUTaj2A120Eik5KnoX/nTyKigqWJyETIBxGJfESC1IiIBIvO1EYkIsEiMhEREZC/yMdm+/8j+YsEJERENnnmLzJ8xQWuyVdkSIhsfuYvMgzFlBCJiEzoHzP5iyw+/kVE+v9Njr/IRCT+RYIUiX+RCfkjIhnyR0SGhUj8iwxbVECT+BeZgIjMRET6i0xEJCLSPyKqSu8DVxeNS9l1ydMQ2VLAuHTpEpecj6+I1MglQaD+5KlM7wqDl0hWjgy9YKktCPqW3WVEysi077JbTqAFAi25ozIiHXdHmpIgY8vhMiKDt9GrEHncnmg4h1wC7k5LpOkmXdNNuspEWvWR3GZwOYc81YWrxnNOIj22x/ve5Kv01p+Ku7Nn2g6MhndaV5cLfZSqcqnSnX5E9HfeSUTBL7rTKlBw8jMzc3psI0+a3mlVpY4u7vTORCF03WmVzNwI6OGzE5PukV1ejA5EoLy4kwzR21Dnt1sGzDm/3dJpPNfxfpJj1xEp3++YmaaIx+cFX+f59I35AvOoOhPVzb5rSS/UjuumrZXfA2qCqDeod4R6i1qn+Rh1y8jc9Kc+4Pom9RZVl3pqVZ9B7lTsQGT+wcVNVcf6KHi9Ys3Y1/dPpf6ZbEhqpdP5vaPVRq70M9PBVMdS0BSs2lLN6qfmn40XEzMzsxORsglrtEXTzVIDQpPdvZJGqRcRbXA9Z2kqfCpJpUFEyjT0C7bSVlGI0Q58AAAAAElFTkSuQmCC');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1000;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: white;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(143, 0, 255, 0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: white;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    color: white;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 10px rgba(143, 0, 255, 0.3);
}

.btn-primary:hover {
    background: #A94EFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(143, 0, 255, 0.4);
    color: white; /* Ensure text remains white on hover */
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(143, 0, 255, 0.1);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(143, 0, 255, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(143, 0, 255, 0.6);
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo svg {
    height: 36px;
    width: 36px;
    filter: drop-shadow(0 0 8px rgba(143, 0, 255, 0.4));
    transition: all 0.3s ease;
}

.logo:hover svg {
    filter: drop-shadow(0 0 12px rgba(143, 0, 255, 0.6));
    transform: scale(1.05);
}

/* Remove the logo-spin animation */
@keyframes logo-spin {
    0% {
        transform: scale(1.05) rotate(0deg);
    }
    100% {
        transform: scale(1.05) rotate(360deg);
    }
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
#hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #0D0D0D 100%);
}

#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 25%, rgba(143, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 50%), 
                      radial-gradient(circle at 80% 75%, rgba(143, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: -1;
}

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

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

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image .diagram {
    width: 100%;
    background: transparent;
}

.connection {
    stroke-dasharray: 10;
    filter: drop-shadow(0 0 8px rgba(143, 0, 255, 0.8));
}

.data-packet {
    filter: drop-shadow(0 0 12px currentColor);
}

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

/* Purple glow effect */
.text-glow {
    text-shadow: 0 0 15px rgba(143, 0, 255, 0.7);
}

/* Blue glow effect */
.text-glow-secondary {
    text-shadow: 0 0 15px rgba(0, 174, 239, 0.7);
}

.hero-image:before {
    display: none;
}

/* Features Section */
#features {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, rgba(143, 0, 255, 0.4) 0%, rgba(0, 0, 0, 1) 100%);
}

.dark-section {
    background-color: var(--bg-darker);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #111111;
    border-radius: 8px;
    padding: 32px;
    transition: all var(--transition-speed) ease;
    border: 1px solid #1E1E1E;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #222222;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    border-radius: 4px;
}

.feature-icon svg, .feature-icon img {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.feature-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #222222;
}

.feature-stat {
    display: flex;
    flex-direction: column;
}

.feature-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    font-feature-settings: "tnum";
}

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

/* Solutions Section */
#solutions {
    padding: 100px 0;
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.solution-image {
    height: 200px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    padding: 25px;
}

.solution-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.solution-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
}

.learn-more:hover {
    color: var(--primary-light);
}

/* Demo Section */
#demo {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#demo:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(143, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 0;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.demo-content {
    max-width: 500px;
}

.demo-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.demo-highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 6px;
    border-left: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.demo-highlight-item:hover {
    transform: translateX(5px);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 0 20px rgba(143, 0, 255, 0.2);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(143, 0, 255, 0.1);
    border-radius: 8px;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.demo-form {
    margin-top: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-family: var(--font-main);
    transition: all var(--transition-speed) ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.glow-input {
    border: 1px solid rgba(143, 0, 255, 0.3) !important;
}

.glow-input:focus {
    box-shadow: 0 0 10px rgba(143, 0, 255, 0.3);
}

.demo-visual {
    position: relative;
}

.demo-visual-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: rgba(10, 10, 10, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(143, 0, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(143, 0, 255, 0.2);
}

.demo-nodes-visualization {
    position: relative;
    width: 100%;
    height: 100%;
}

.node-connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%238F00FF' stop-opacity='0.3'/%3E%3Cstop offset='100%25' stop-color='%2300AEEF' stop-opacity='0.3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cline x1='50' y1='50' x2='250' y2='130' stroke='url(%23grad)' stroke-width='1.5'/%3E%3Cline x1='250' y1='130' x2='180' y2='260' stroke='url(%23grad)' stroke-width='1.5'/%3E%3Cline x1='250' y1='130' x2='380' y2='200' stroke='url(%23grad)' stroke-width='1.5'/%3E%3Cline x1='50' y1='50' x2='90' y2='240' stroke='url(%23grad)' stroke-width='1.5'/%3E%3Cline x1='90' y1='240' x2='180' y2='260' stroke='url(%23grad)' stroke-width='1.5'/%3E%3Cline x1='180' y1='260' x2='380' y2='200' stroke='url(%23grad)' stroke-width='1.5'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.demo-node {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid;
    border-image: linear-gradient(135deg, #8F00FF, #00AEEF) 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(143, 0, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(143, 0, 255, 0.6);
}

.demo-node:after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-node:hover:after {
    opacity: 1;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary-color);
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.node-1 {
    top: 50px;
    left: 50px;
}

.node-2 {
    top: 130px;
    left: 250px;
}

.node-3 {
    top: 260px;
    left: 180px;
}

.node-4 {
    top: 240px;
    left: 90px;
}

.node-5 {
    top: 200px;
    left: 380px;
}

.node-1 .node-pulse {
    animation-delay: 0s;
}

.node-2 .node-pulse {
    animation-delay: 0.5s;
}

.node-3 .node-pulse {
    animation-delay: 1s;
}

.node-4 .node-pulse {
    animation-delay: 1.5s;
}

.node-5 .node-pulse {
    animation-delay: 2s;
}

.demo-data-packet {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    top: 50px;
    left: 50px;
    box-shadow: 0 0 10px rgba(143, 0, 255, 0.8);
    animation: move-packet 6s infinite;
}

@keyframes move-packet {
    0% {
        top: 50px;
        left: 50px;
    }
    20% {
        top: 130px;
        left: 250px;
    }
    40% {
        top: 260px;
        left: 180px;
    }
    60% {
        top: 240px;
        left: 90px;
    }
    80% {
        top: 200px;
        left: 380px;
    }
    100% {
        top: 50px;
        left: 50px;
    }
}

.demo-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    padding: 15px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(143, 0, 255, 0.2);
}

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

.demo-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.demo-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .demo-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .demo-highlight-item {
        justify-content: center;
    }
    
    .demo-visual-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .demo-visual-wrapper {
        height: 300px;
    }
    
    .demo-highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .highlight-icon {
        margin-bottom: 10px;
    }
}

/* Pricing Section */
#pricing {
    padding: 100px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 4px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(to bottom, rgba(143, 0, 255, 0.15), rgba(0, 0, 0, 0));
    border-color: var(--accent-color);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.price {
    font-size: 1rem;
    color: var(--text-muted);
}

.price span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 25px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
}

.pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

/* CTA Section */
#cta {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%),
                url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
    text-align: center;
}

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

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
}

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

.footer-column.brand p {
    margin-top: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

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

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--text-muted);
}

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    #hero .container,
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content,
    .demo-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-container {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-image:before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Clients Section */
#clients {
    padding: 45px 0;
    position: relative;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-ribbon-static {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: transform 0.3s ease;
}

.client-item img {
    height: 30px;
    width: auto;
    max-width: 120px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.client-item:hover img {
    filter: brightness(0) invert(1);
}

/* Special style for Samsung logo which is white and hard to see */
.client-item img[alt="Samsung"] {
    filter: brightness(0) invert(1);
}

.client-item img[alt="Samsung"]:hover {
    filter: brightness(0) invert(1);
}

/* Why SyncGrid Section */
#why-syncgrid {
    padding: 120px 0;
    background-color: #000000;
    position: relative;
}

#why-syncgrid h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: white;
    letter-spacing: -1px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.why-item {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.why-icon {
    margin-bottom: 24px;
    height: 40px;
    display: flex;
    align-items: center;
}

.why-icon svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.why-item h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.5px;
}

.why-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-item {
        max-width: 100%;
    }
    
    #why-syncgrid h2 {
        margin-bottom: 40px;
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    #why-syncgrid h2 {
        font-size: 2.4rem;
    }
    
    .why-item h3 {
        font-size: 1.6rem;
    }
}

/* How It Works Section */
#how-it-works {
    padding: 120px 0;
    background-color: black;
    position: relative;
    overflow: hidden;
}

#how-it-works:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 15% 85%, rgba(143, 0, 255, 0.2) 0%, rgba(0, 0, 0, 0) 50%),
                     radial-gradient(circle at 85% 15%, rgba(0, 174, 239, 0.15) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 0;
    pointer-events: none;
}

#how-it-works h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.workflow-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
}

.workflow-step {
    display: flex;
    gap: 24px;
    margin-bottom: 10px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    opacity: 0.7;
    font-feature-settings: "tnum";
    min-width: 60px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    margin-left: 30px;
}

.workflow-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.terminal-window {
    background-color: #0D0D0D;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background-color: #1A1A1A;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
}

.terminal-buttons span:nth-child(1) {
    background-color: #FF5F56;
}

.terminal-buttons span:nth-child(2) {
    background-color: #FFBD2E;
}

.terminal-buttons span:nth-child(3) {
    background-color: #27C93F;
}

.terminal-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 15px;
    font-family: 'SF Mono', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 8px;
    white-space: nowrap;
}

.terminal-prompt {
    color: var(--accent-color);
    margin-right: 10px;
}

.terminal-success {
    color: #27C93F;
    margin-right: 10px;
}

.terminal-error {
    color: #FF5F56;
    margin-right: 10px;
}

.terminal-loading {
    color: #FFBD2E;
    margin-right: 10px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.terminal-highlight {
    color: var(--secondary-color);
    margin-right: 10px;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background-color: white;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.code-snippet {
    background-color: #0D0D0D;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: auto;
}

.code-snippet pre {
    margin: 0;
    font-family: 'SF Mono', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-comment {
    color: #666;
}

.code-keyword {
    color: var(--accent-color);
}

.code-function {
    color: var(--secondary-color);
}

.code-string {
    color: #27C93F;
}

.technology-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid #222;
    border-radius: 6px;
    padding: 24px;
    width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(143, 0, 255, 0.2);
    border-color: var(--accent-color);
}

.tech-icon {
    margin-bottom: 16px;
}

.tech-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .workflow-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .technology-showcase {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #how-it-works h2 {
        font-size: 2.8rem;
    }
    
    .technology-showcase {
        gap: 20px;
    }
    
    .tech-item {
        width: 140px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    #how-it-works h2 {
        font-size: 2.4rem;
    }
    
    .step-number {
        font-size: 2rem;
        min-width: 40px;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .tech-item {
        width: calc(50% - 10px);
    }
}

/* Ecosystem Section */
#ecosystem {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.ecosystem-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ecosystem-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.eco-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.eco-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(143, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: var(--text-white);
}

.ecosystem-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 30px;
}

.eco-stats {
    margin-top: auto;
    display: flex;
    margin-bottom: 25px;
}

.eco-stat {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.eco-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.eco-stat-text {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
    align-self: flex-start;
}

.ecosystem-spotlight {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.spotlight-content {
    padding: 50px;
}

.spotlight-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.spotlight-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
}

.spotlight-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.spotlight-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-white);
}

.spotlight-features li svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.spotlight-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0D0D0D;
    padding: 30px;
}

.code-browser {
    width: 100%;
    background-color: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.browser-header {
    padding: 12px 20px;
    background-color: #2A2A2A;
    display: flex;
    align-items: center;
}

.browser-buttons {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.browser-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: var(--color-primary);
    opacity: 0.6;
}

.browser-buttons span:nth-child(2) {
    background-color: #FFC107;
}

.browser-buttons span:nth-child(3) {
    background-color: #4CAF50;
}

.browser-title {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.browser-body {
    padding: 20px;
}

.github-activity {
    font-family: "Space Mono", monospace;
}

.commit {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2A2A2A;
}

.commit-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(143, 0, 255, 0.3);
    margin-right: 15px;
    flex-shrink: 0;
}

.commit-details {
    flex-grow: 1;
}

.commit-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 5px;
}

.commit-meta {
    font-size: 12px;
    color: var(--text-light);
}

.commit-author {
    color: var(--color-accent);
    margin-right: 10px;
}

.contribution-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #2A2A2A;
}

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

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .ecosystem-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-spotlight {
        grid-template-columns: 1fr;
    }
    
    .spotlight-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .ecosystem-container {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-card {
        padding: 25px;
    }
    
    .eco-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .eco-icon {
        margin-bottom: 15px;
    }
}

/* Technology Section */
#technology {
    padding: 100px 0;
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

#technology:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(143, 0, 255, 0.2), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.tech-architecture {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.tech-layers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-layer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.tech-layer:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(143, 0, 255, 0.1);
    transform: translateX(5px);
}

.tech-layer:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}

.tech-layer[data-layer="application"]:before {
    background: linear-gradient(to bottom, #8F00FF, #8F00FF);
}

.tech-layer[data-layer="integration"]:before {
    background: linear-gradient(to bottom, #8F00FF, #00AEEF);
}

.tech-layer[data-layer="streaming"]:before {
    background: linear-gradient(to bottom, #00AEEF, #FF7A00);
}

.tech-layer[data-layer="infrastructure"]:before {
    background: linear-gradient(to bottom, #FF7A00, #00AEEF);
}

.layer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.layer-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.layer-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.layer-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.layer-features li {
    color: var(--text-light);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.layer-features li:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-right: 10px;
}

.layer-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    min-height: 150px;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.3);
    border-radius: 4px;
}

.visualization-container {
    width: 100%;
    height: 100%;
}

.layer-svg {
    width: 100%;
    height: 100%;
    min-height: 150px;
}

.layer-svg .node {
    fill: rgba(255, 255, 255, 0.15);
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    r: 6;
}

.layer-svg .node.main-node {
    fill: var(--accent-color);
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 2;
    filter: drop-shadow(0 0 8px var(--accent-color));
    animation: pulse 3s infinite;
    r: 10;
}

.layer-svg .node.endpoint {
    fill: var(--secondary-color);
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 5px rgba(0, 174, 239, 0.5));
    animation: pulse 4s infinite;
    animation-delay: calc(var(--d, 0) * 0.5s);
    r: 5;
}

.layer-svg .node.endpoint:nth-child(3) {
    --d: 1;
}

.layer-svg .node.endpoint:nth-child(5) {
    --d: 2;
}

.layer-svg .node.endpoint:nth-child(7) {
    --d: 3;
}

.layer-svg .node.endpoint:nth-child(9) {
    --d: 4;
}

.layer-svg .node.endpoint:nth-child(11) {
    --d: 5;
}

.layer-svg .node.endpoint:nth-child(13) {
    --d: 6;
}

.layer-svg .node.endpoint:nth-child(15) {
    --d: 7;
}

.layer-svg .connection {
    stroke: var(--accent-color);
    stroke-width: 1.5;
    stroke-opacity: 0.8;
    stroke-dasharray: 5, 5;
    animation: flow 3s linear infinite;
    filter: drop-shadow(0 0 3px var(--accent-color));
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 8px currentColor);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.92);
        filter: brightness(0.8) drop-shadow(0 0 4px currentColor);
    }
}

@keyframes flow {
    to {
        stroke-dashoffset: -20;
    }
}

.visualization-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Technology metrics visualizations */
.uptime-circle {
    stroke: var(--accent-color);
    stroke-width: 4;
    fill: none;
    stroke-dasharray: 283;
    stroke-dashoffset: 3;
    transform-origin: center;
    transform: rotate(-90deg);
    /* Reducing the drop shadow to make it more subtle */
    filter: drop-shadow(0 0 3px rgba(143, 0, 255, 0.2));
}

/* Update the selector to target all circles */
.tech-metric:nth-child(1) .uptime-circle {
    stroke: var(--accent-color);
}

.tech-metric:nth-child(2) .uptime-circle {
    stroke: url(#events-gradient);
    /* Reducing the drop shadow to make it more subtle */
    filter: drop-shadow(0 0 3px rgba(0, 174, 239, 0.2));
}

.tech-metric:nth-child(3) .uptime-circle {
    stroke: url(#latency-gradient);
    /* Reducing the drop shadow to make it more subtle */
    filter: drop-shadow(0 0 3px rgba(143, 0, 255, 0.2));
}

.uptime-background {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
    fill: rgba(10, 10, 10, 0.5);
}

.uptime-text {
    font-size: 14px;
    font-weight: bold;
    fill: white;
    text-anchor: middle;
    dominant-baseline: middle;
}

.uptime-ring {
    margin: 20px auto;
    display: block;
}

.tech-layer[data-layer="streaming"] .layer-visual {
    background: rgba(10, 10, 10, 0.3);
    border: 1px solid rgba(35, 35, 35, 0.5);
    overflow: hidden;
}

.stream-data {
    filter: drop-shadow(0 0 3px var(--accent-color));
    transform-origin: center;
    transition: all 0.2s ease;
}

/* Ensure animation never restarts visibly within view */
@keyframes stream-move {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    5% {
        opacity: 1;
        transform: translateX(0px);
    }
    95% {
        opacity: 1;
        transform: translateX(260px);
    }
    100% {
        opacity: 0;
        transform: translateX(300px);
    }
}

.input-data {
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.output-triangle {
    filter: drop-shadow(0 0 3px currentColor);
}

.output-circle {
    filter: drop-shadow(0 0 3px currentColor);
}

@keyframes speed-blur {
    0%, 100% {
        filter: blur(0px);
    }
    50% {
        filter: blur(1px);
    }
}

/* Technology metrics visualizations */
.events-visualization {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    visibility: hidden; /* Hide the dots visualization */
}

.event-dots {
    width: 120px;
    height: 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px; /* Match the margin of the SVG */
}

.event-dots span {
    display: block;
    width: 4px;
    height: 4px;
    background-color: #00AEEF;
    border-radius: 50%;
    margin: 4px;
    opacity: 0.7;
}

.latency-visualization {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    visibility: hidden; /* Hide the latency visualization */
}

.latency-bar {
    width: 70px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: absolute;
    top: 80px; /* Position below the text in the ring */
    left: 50%;
    transform: translateX(-50%);
}

.latency-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, var(--accent-color), #00AEEF);
    position: absolute;
    left: 0;
    top: 0;
}

.tech-metric h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
    text-align: center;
}

.tech-metric p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    text-align: center;
}

.tech-metric-value {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.tech-innovations {
    margin-top: 80px;
}

.tech-innovations h3 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 40px;
    text-align: center;
}

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

.innovation-item {
    display: flex;
    gap: 20px;
}

.innovation-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(143, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.innovation-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

.innovation-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .tech-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .innovations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-layer {
        grid-template-columns: 1fr;
    }
    
    .layer-features {
        grid-template-columns: 1fr;
    }
    
    .tech-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .innovation-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.tech-layer[data-layer="infrastructure"] .layer-visual {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset;
}

/* Enhanced visualization for Infrastructure layer */
.tech-layer[data-layer="infrastructure"] .visualization-wrapper {
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.8));
    border-radius: 4px;
}

/* Visual indicator for active tech layers */
.tech-layer {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.tech-layer:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(143, 0, 255, 0.1);
    transform: translateX(5px);
}

.tech-layer[data-layer="infrastructure"] .node {
    fill: rgba(15, 15, 15, 0.6);
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.tech-layer[data-layer="infrastructure"] .node.main-node {
    fill: var(--accent-color);
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 8px rgba(143, 0, 255, 0.4));
    animation: container-pulse 4s infinite alternate;
}

@keyframes container-pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.animated-group-1 .stream-data {
    filter: drop-shadow(0 0 3px var(--accent-color));
}

.animated-group-2 .stream-data {
    filter: drop-shadow(0 0 3px var(--secondary-color));
}

.animated-group-3 .stream-data {
    filter: drop-shadow(0 0 3px var(--secondary-color));
}

.animated-group-4 .stream-data {
    filter: drop-shadow(0 0 3px #FF7A00);
}

/* Transformation Stories Section */
.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.transformation-card {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.transformation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.transformation-icon {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transformation-icon svg {
    filter: drop-shadow(0 0 10px rgba(143, 0, 255, 0.4));
}

.transformation-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.transformation-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.transformation-metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.transformation-metric {
    display: flex;
    flex-direction: column;
}

.transformation-metric .metric-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.transformation-metric .metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transformation-content .learn-more {
    margin-top: auto;
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

.transformation-content .learn-more:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .transformation-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 576px) {
    .transformation-grid {
        grid-template-columns: 1fr;
    }
    
    .transformation-metrics {
        flex-direction: column;
        gap: 15px;
    }
}

/* Demo Node Interactions */
.highlight-connection {
    border-color: #ff00ea !important;
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.7) !important;
}

.node-clicked {
    animation: node-click 0.5s ease;
}

@keyframes node-click {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.btn-clicked {
    animation: button-click 0.3s ease;
}

@keyframes button-click {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.demo-starting {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: fade-in 0.3s ease;
}

.demo-starting span {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 700;
    position: relative;
}

.demo-starting span:after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--primary-light);
    border-radius: 50%;
    margin-left: 5px;
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 100% {
        box-shadow: 8px 0 0 -2px var(--primary-light), 
                   16px 0 0 -2px var(--primary-light);
    }
    33% {
        box-shadow: 8px 0 0 2px var(--primary-light), 
                   16px 0 0 -2px var(--primary-light);
    }
    66% {
        box-shadow: 8px 0 0 -2px var(--primary-light), 
                   16px 0 0 2px var(--primary-light);
    }
}

.fade-out {
    animation: fade-out 0.5s ease forwards;
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Tech Metrics Layout */
.tech-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
} 