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

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --medium-gray: #4a4a4a;
    --light-gray: #6a6a6a;
    --metallic-blue: #2c5aa0;
    --light-blue: #3d6bb3;
    --accent-green: #00ff88;
    --white: #ffffff;
    --text-light: #e0e0e0;
    --text-medium: #b0b0b0;
    --title-primary: #ffffff;
    --title-accent: var(--accent-green);
    --gradient-primary: linear-gradient(135deg, var(--metallic-blue), var(--light-blue));
    --gradient-title: linear-gradient(135deg, var(--white), var(--accent-green));
    --gradient-dark: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
    color: var(--title-primary);
}

h4 {
    font-weight: 600;
    color: var(--title-primary);
}

.accent {
    color: var(--accent-green);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

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

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-green);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.4)),
                url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2075&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-green);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

.btn-secondary:hover {
    background: var(--metallic-blue);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--accent-green);
    margin: 0 auto;
    border-radius: 2px;
}

/* Drivers Section */
.drivers {
    padding: 8rem 0;
    background: var(--secondary-black);
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.driver-card {
    background: var(--dark-gray);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.driver-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-green);
}

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

.driver-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.driver-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--title-primary);
}

.driver-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.driver-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--metallic-blue);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.driver-actions {
    display: flex;
    justify-content: center;
}

.btn-test {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: var(--accent-green);
    color: var(--primary-black);
    width: 100%;
}

.btn-test:hover {
    background: #00cc6a;
    transform: translateY(-2px);
}

.drivers-note {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border-left: 4px solid var(--accent-green);
}

.drivers-note p {
    color: var(--text-medium);
    margin: 0;
}

.drivers-note i {
    color: var(--accent-green);
    margin-right: 0.5rem;
}

/* Mobile Apps Section */
.mobile-apps {
    padding: 8rem 0;
    background: var(--primary-black);
    position: relative;
    overflow: hidden;
}

.mobile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    opacity: 0.8;
}

.mobile-content {
    position: relative;
    z-index: 2;
}

.mobile-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.mobile-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--title-primary);
}

.mobile-intro p {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mobile-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.benefit-card {
    background: var(--dark-gray);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-green);
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--white);
}

.benefit-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--title-primary);
}

.benefit-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefit-features {
    list-style: none;
    padding: 0;
}

.benefit-features li {
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.benefit-features li:before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.benefit-features li:last-child {
    border-bottom: none;
}

.mobile-advantages {
    margin-bottom: 4rem;
}

.mobile-advantages h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--title-primary);
}

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

.advantage-item {
    background: var(--secondary-black);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-black);
}

.advantage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--title-primary);
}

.advantage-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.mobile-cta {
    background: var(--dark-gray);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--accent-green);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--title-primary);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-mobile-contact {
    background: var(--accent-green);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-mobile-contact:hover {
    background: #00cc6a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-mobile-contact i {
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--primary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

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

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

/* Solutions Section */
.solutions {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.solutions-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)),
                url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2053&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

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

.solution-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--medium-gray);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--title-primary);
    font-weight: 600;
}

.solution-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Tech Expertise Section */
.tech-expertise {
    padding: 8rem 0;
    background: var(--primary-black);
    position: relative;
    overflow: hidden;
}

.tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 98%, var(--accent-green) 100%);
    background-size: 3px 100%;
    animation: matrix-scroll 20s linear infinite;
    opacity: 0.1;
}

.matrix-rain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, var(--accent-green) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, var(--metallic-blue) 1px, transparent 1px),
        radial-gradient(circle at 40% 20%, var(--accent-green) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, var(--metallic-blue) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px, 70px 70px;
    animation: matrix-dots 15s linear infinite;
    opacity: 0.3;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, var(--accent-green) 1px, transparent 1px),
        linear-gradient(0deg, var(--accent-green) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.05;
    animation: circuit-pulse 8s ease-in-out infinite;
}

.tech-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.code-showcase {
    position: relative;
}

.terminal-window {
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--metallic-blue));
    animation: terminal-glow 3s ease-in-out infinite;
}

.terminal-header {
    background: var(--secondary-black);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--medium-gray);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.btn-close {
    background: #ff5f57;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #28ca42;
}

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

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background: var(--primary-black);
}

.code-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.prompt {
    color: var(--accent-green);
    margin-right: 0.5rem;
    font-weight: bold;
}

.command {
    color: var(--text-light);
}

.keyword {
    color: #569cd6;
    font-weight: bold;
}

.class-name {
    color: #4ec9b0;
}

.function {
    color: #dcdcaa;
}

.comment {
    color: var(--text-medium);
    font-style: italic;
}

.indent {
    padding-left: 2rem;
}

.indent2 {
    padding-left: 4rem;
}

.typing-animation {
    overflow: hidden;
    border-right: 2px solid var(--accent-green);
    white-space: nowrap;
    animation: typing 3s steps(30, end), blink-caret 1s step-end infinite;
}

.tech-stats {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.api-info h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.api-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-green);
}

.api-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.api-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.api-item:hover::before {
    left: 100%;
}

.api-item:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.api-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.api-details h4 {
    color: var(--title-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.api-details p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tech-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 136, 0.2);
    color: var(--accent-green);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.tech-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.metric-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.metric-item:hover::before {
    transform: scaleX(1);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.metric-label {
    color: var(--text-medium);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes matrix-scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes matrix-dots {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes circuit-pulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes terminal-glow {
    0%, 100% { box-shadow: 0 0 5px var(--accent-green); }
    50% { box-shadow: 0 0 20px var(--accent-green), 0 0 30px var(--metallic-blue); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-green); }
}

/* Differentials Section */
.differentials {
    padding: 8rem 0;
    background: var(--secondary-black);
}

.differentials-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.differential-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.differential-item:hover {
    transform: translateY(-5px);
    border-color: var(--metallic-blue);
}

.differential-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.differential-text h3 {
    color: var(--title-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.differential-text p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Parallax Gallery */
.parallax-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.parallax-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.parallax-item:nth-child(odd) {
    background: var(--dark-gray);
}

.gallery-bg-1 {
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.4)),
                url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2075&q=80');
}

.gallery-bg-2 {
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.4)),
                url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2053&q=80');
}

.gallery-bg-3 {
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.4)),
                url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.gallery-bg-4 {
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.4)),
                url('https://images.unsplash.com/photo-1600607687644-c7171b42498b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2053&q=80');
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.parallax-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.parallax-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.parallax-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-whatsapp {
    display: flex;
    justify-content: center;
}

.whatsapp-card {
    background: var(--dark-gray);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid var(--medium-gray);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #25d366, #128c7e);
}

.whatsapp-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.whatsapp-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.whatsapp-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    font-weight: 600;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--metallic-blue);
    transform: translateY(-2px);
}

.contact-item i {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-text strong {
    color: var(--white);
    font-size: 1.1rem;
}

.contact-text span {
    color: var(--text-medium);
    font-size: 1rem;
}

.contact-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--secondary-black);
    border-radius: 20px;
    border: 1px solid var(--medium-gray);
    text-align: center;
}

.contact-cta h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary-black);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--medium-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--text-medium);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float .whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* CTA Overlay */
.cta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cta-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cta-content {
    background: var(--dark-gray);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--medium-gray);
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.cta-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cta-close:hover {
    color: var(--white);
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .parallax-gallery {
        grid-template-columns: 1fr;
    }
    
    .parallax-item {
        min-height: 40vh;
    }
    
    .differentials-content {
        grid-template-columns: 1fr;
    }
    
    .differential-item {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .cta-content {
        margin: 20px;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .solution-card,
    .differential-item {
        padding: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
