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

:root {
    --primary-color: #f19d38;
    --secondary-color: #e87b00;
    --accent-color: #ffb766;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --light-text: #ffffff;
    --medium-text: #e0e0e0;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Futuristic elements */
.circuit-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    z-index: -1;
    background-image: 
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px),
        linear-gradient(0deg, var(--primary-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glow-effect {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.15) 0%, transparent 70%);
}

.glow-2 {
    bottom: 30%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(125, 0, 255, 0.1) 0%, transparent 70%);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(12, 14, 34, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 50px;
    background: rgba(7, 9, 20, 0.95);
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: pulse 2s infinite;
}

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

header nav {
    display: flex;
    gap: 30px;
}

header nav a {
    text-decoration: none;
    color: var(--medium-text);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.3s;
}

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

header nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1) saturate(1.2);
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: fadeInDown 1.5s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--medium-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.5s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 2s ease-out;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(0, 195, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 195, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 195, 255, 0.1);
    transform: translateY(-3px);
}

/* About Section */
#about {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

#about-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1) saturate(1.2);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-text {
    background: rgba(12, 14, 34, 0.7);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 195, 255, 0.1);
    backdrop-filter: blur(10px);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--medium-text);
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 195, 255, 0.2);
}

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



/* Solutions Section */
#solutions {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(12, 14, 34, 0.9) 0%, rgba(7, 9, 20, 0.9) 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

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

.solutions {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution {
    background: rgba(12, 14, 34, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 195, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 195, 255, 0.2);
}

.video-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1) saturate(1.2);
}

.content {
    padding: 25px;
}

.content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Motivation Section */
#motivation {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

#motivation .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1) saturate(1.2);
}

.motivation-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(12, 14, 34, 0.7);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 195, 255, 0.1);
    backdrop-filter: blur(10px);
}

#motivation h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

#motivation h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

#motivation p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--medium-text);
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.1) 0%, rgba(125, 0, 255, 0.1) 100%);
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

/* Footer */
footer {
    background-color: rgba(7, 9, 20, 0.9);
    color: var(--medium-text);
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

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

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

.footer-column ul li a {
    color: var(--medium-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 195, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s;
}

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

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Layout */
#about {
  position: relative;
  overflow: hidden;
  color: white;
}

#about-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem;
}

.about-text {
  flex: 1;
  margin-right: 2rem;
}

.about-image {
  position: relative;
  width: 400px;
  height: 250px;
  overflow: hidden;
  border-radius: 12px;
}

.about-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sci-Fi Screen effect */
.sci-fi-screen {
  border: 2px solid #0ff;
  box-shadow: 0 0 15px rgba(0,255,255,0.7), inset 0 0 20px rgba(0,255,255,0.3);
  position: relative;
}

.sci-fi-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,255,255,0.4);
  pointer-events: none;
}

/* HUD Overlay */
.hud-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0,255,255,0.15), transparent 70%);
  pointer-events: none;
}

/* Scan lines */
.scan-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0.05),
    rgba(0, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 4px
  );
  animation: scan 5s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  from { background-position-y: 0; }
  to { background-position-y: 100%; }
}

/* Matrix overlay canvas */
.matrix-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent; /* ensure canvas background is clear */
  z-index: 3;
}

/* Sci-fi glowing buttons */
.sci-fi-buttons {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.sci-fi-buttons span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: cyan;
  box-shadow: 0 0 8px cyan, 0 0 15px rgba(0,255,255,0.6);
  animation: pulse 1.5s infinite alternate;
}

.sci-fi-buttons span:nth-child(2) {
  animation-delay: 0.3s;
}
.sci-fi-buttons span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  from { opacity: 0.5; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.1); }
}

/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    header.scrolled {
        padding: 10px 20px;
    }

    header nav {
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .about-content,
    .solutions {
        grid-template-columns: 1fr;
    }

    .solution {
        max-width: 400px;
        margin: 0 auto;
    }
}