/* OMNI - Neural Interceptor Website Styles */
/* Enhanced with Professional Design Elements */
/* Brand Colors:
   - Obsidian Black: #0A0A0A
   - Neural Blue: #1F3B73  
   - Pulse Red: #D72638
   - Spectral Silver: #C0C0C0
   - Cyan Accent: #00D9FF
*/

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

::selection {
    background: var(--color-pulse-red);
    color: white;
}

:root {
    --color-obsidian: #0A0A0A;
    --color-neural-blue: #1F3B73;
    --color-pulse-red: #D72638;
    --color-spectral-silver: #C0C0C0;
    --color-cyan-accent: #00D9FF;
    --color-bg-dark: #0d0d0d;
    --color-bg-darker: #050505;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-obsidian);
    color: var(--color-spectral-silver);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Navigation Header */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 59, 115, 0.2);
    transition: all 0.3s ease;
}

.nav-header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 217, 255, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateX(5px);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-cyan-accent), var(--color-neural-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-spectral-silver);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--color-pulse-red), #b91f2e);
    border: none;
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-spectral-silver);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle:hover span {
    background: var(--color-cyan-accent);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--color-cyan-accent);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--color-cyan-accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    letter-spacing: 0.08em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.06em;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    letter-spacing: 0.05em;
    font-weight: 600;
}

p {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(15, 15, 26, 0.75) 50%, rgba(10, 10, 10, 0.85) 100%),
        var(--bg-hero-section, url('../images/hero-bg.jpeg')) center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 217, 255, 0.08) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.omni-logo {
    width: 150px;
    height: 150px;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(31, 59, 115, 0.5));
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.75rem;
    line-height: 1.1;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, 
        var(--color-spectral-silver) 0%, 
        var(--color-cyan-accent) 50%,
        var(--color-neural-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.4)); 
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.7)); 
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.75rem);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: rgba(192, 192, 192, 0.95);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-heading);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, #D72638 0%, #b91f2e 50%, #8b0000 100%);
    color: white;
    box-shadow: 
        0 4px 15px rgba(215, 38, 56, 0.4),
        0 0 20px rgba(215, 38, 56, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(215, 38, 56, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff2d47 0%, #D72638 50%, #b91f2e 100%);
    box-shadow: 
        0 8px 30px rgba(215, 38, 56, 0.6),
        0 0 40px rgba(215, 38, 56, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(215, 38, 56, 0.5),
        0 0 20px rgba(215, 38, 56, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, 
        rgba(31, 59, 115, 0.1) 0%, 
        rgba(0, 217, 255, 0.05) 100%);
    color: var(--color-cyan-accent);
    border: 2px solid var(--color-cyan-accent);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.15) 0%, 
        rgba(31, 59, 115, 0.2) 100%);
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.4),
        0 4px 20px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--color-cyan-accent);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.35rem 3.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--color-spectral-silver);
    opacity: 0.7;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--color-pulse-red);
    border-bottom: 2px solid var(--color-pulse-red);
    transform: rotate(-45deg);
    margin: 0 auto;
}

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

/* Section Styles */
section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: var(--color-spectral-silver);
    background: linear-gradient(135deg, 
        var(--color-spectral-silver) 0%, 
        var(--color-cyan-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    max-width: 850px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: rgba(192, 192, 192, 0.95);
}

/* About Section */
.about-section {
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(15, 15, 26, 0.88) 50%, rgba(10, 10, 10, 0.92) 100%),
        var(--bg-about-section, url('../images/section-bg-1.jpeg')) center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(31, 59, 115, 0.03) 0%, 
        rgba(0, 217, 255, 0.02) 100%);
    pointer-events: none;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.attribute-card {
    background: linear-gradient(135deg, 
        rgba(31, 59, 115, 0.08) 0%, 
        rgba(0, 217, 255, 0.03) 100%);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.attribute-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-cyan-accent) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.attribute-card:hover::before {
    opacity: 1;
}

.attribute-card:hover {
    background: linear-gradient(135deg, 
        rgba(31, 59, 115, 0.15) 0%, 
        rgba(0, 217, 255, 0.08) 100%);
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 
        0 15px 40px rgba(0, 217, 255, 0.15),
        0 8px 20px rgba(31, 59, 115, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.1);
}

.attribute-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    transition: transform 0.4s ease;
}

.attribute-card:hover .attribute-icon {
    transform: scale(1.1) rotate(5deg);
}

.attribute-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
}

.attribute-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-spectral-silver);
    transition: color 0.3s ease;
}

.attribute-card:hover h3 {
    color: var(--color-cyan-accent);
}

.attribute-card p {
    color: rgba(192, 192, 192, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Capabilities Section */
.capabilities-section {
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.90) 0%, rgba(0, 0, 0, 0.85) 100%),
        var(--bg-capabilities-section, url('../images/section-bg-2.jpeg')) center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.capabilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, 
        rgba(0, 217, 255, 0.05) 0%, 
        transparent 60%);
    pointer-events: none;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.capability-card {
    position: relative;
    background: linear-gradient(135deg,
        rgba(31, 59, 115, 0.12) 0%,
        rgba(0, 217, 255, 0.05) 50%,
        rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 3rem 2.25rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.capability-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(0, 217, 255, 0.15) 0%,
        rgba(0, 217, 255, 0.05) 40%,
        transparent 70%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg,
        var(--color-cyan-accent) 0%,
        var(--color-neural-blue) 50%,
        var(--color-pulse-red) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.capability-card:hover::after {
    opacity: 0.6;
}

.capability-card:hover .capability-glow {
    opacity: 1;
}

.capability-card:hover {
    background: linear-gradient(135deg,
        rgba(31, 59, 115, 0.2) 0%,
        rgba(0, 217, 255, 0.12) 50%,
        rgba(10, 10, 10, 0.95) 100%);
    border-color: rgba(0, 217, 255, 0.5);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(0, 217, 255, 0.2),
        0 10px 25px rgba(31, 59, 115, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.15),
        0 0 60px rgba(0, 217, 255, 0.1);
}

.capability-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-card:hover .capability-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

.capability-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.2));
}

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-spectral-silver);
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.capability-card:hover h3 {
    color: var(--color-cyan-accent);
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.capability-card p {
    color: rgba(192, 192, 192, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Why OMNI Section */
.why-section {
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(15, 15, 26, 0.92) 50%, rgba(10, 10, 10, 0.88) 100%),
        var(--bg-why-section, url('../images/section-bg-3.jpeg')) center/cover no-repeat;
    background-attachment: fixed;
    padding: 8rem 0;
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(215, 38, 56, 0.03) 0%, 
        rgba(31, 59, 115, 0.04) 50%,
        rgba(0, 217, 255, 0.03) 100%);
    pointer-events: none;
}

.why-description {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 2;
    color: rgba(192, 192, 192, 0.9);
}

.tagline-container {
    text-align: center;
    padding: 3rem 0;
}

.glowing-tagline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, var(--color-pulse-red), var(--color-neural-blue), var(--color-spectral-silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: taglineGlow 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(215, 38, 56, 0.5);
}

@keyframes taglineGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(215, 38, 56, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(215, 38, 56, 0.8));
    }
}

/* CTA Section */
.cta-section {
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(26, 26, 46, 0.90) 100%),
        var(--bg-cta-section, url('../images/section-bg-1.jpeg')) center/cover no-repeat;
    background-attachment: fixed;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(215, 38, 56, 0.06) 0%, 
        rgba(0, 217, 255, 0.04) 50%,
        transparent 100%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--color-spectral-silver);
}

/* Footer */
.footer {
    background: var(--color-bg-darker);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(31, 59, 115, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--color-spectral-silver);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-pulse-red);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--color-spectral-silver);
    transition: all 0.3s ease;
}

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

.footer-social a:hover {
    color: var(--color-pulse-red);
    transform: translateY(-3px);
}

.footer-tagline {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-neural-blue);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(192, 192, 192, 0.6);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.delay-1 {
    animation-delay: 0.2s;
}

.animate-on-scroll.delay-2 {
    animation-delay: 0.4s;
}

.animate-on-scroll.delay-3 {
    animation-delay: 0.6s;
}

/* Smooth transitions for all interactive elements */
a, button, .card, .icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover lift effect for cards */
.attribute-card,
.capability-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Stagger animation for grid items */
.attributes-grid > *:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.attributes-grid > *:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.attributes-grid > *:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.capabilities-grid > *:nth-child(1) {
    animation: scaleIn 0.7s ease-out 0.1s backwards;
}

.capabilities-grid > *:nth-child(2) {
    animation: scaleIn 0.7s ease-out 0.3s backwards;
}

.capabilities-grid > *:nth-child(3) {
    animation: scaleIn 0.7s ease-out 0.5s backwards;
}

/* Responsive Design */

/* Tablet landscape and smaller desktops */
@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }
    
    .container {
        max-width: 90%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .attributes-grid,
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    :root {
        --nav-height: 65px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    /* Disable parallax on mobile for better performance */
    .hero-section,
    .about-section,
    .capabilities-section,
    .why-section,
    .cta-section {
        background-attachment: scroll !important;
    }
    
    /* Navigation mobile */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(10, 10, 10, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(0, 217, 255, 0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero adjustments */
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2.5rem;
    }
    
    .omni-logo {
        width: 120px;
        height: 120px;
    }
    
    /* Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    /* Grids */
    .attributes-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Cards */
    .attribute-card,
    .capability-card {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --nav-height: 60px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .omni-logo {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .section-description {
        font-size: 1.05rem;
        margin-bottom: 3rem;
    }
    
    .attribute-card h3,
    .capability-card h3 {
        font-size: 1.2rem;
    }
    
    .attribute-card p,
    .capability-card p {
        font-size: 0.95rem;
    }
    
    .attribute-icon,
    .capability-icon {
        width: 70px;
        height: 70px;
    }
    
    /* Reduce animations for performance */
    .attribute-card:hover,
    .capability-card:hover {
        transform: translateY(-3px) scale(1.01);
    }
}

/* Glowing Words Animation - Subtle & Crisp Version */
.glow-word {
    color: rgba(192, 192, 192, 0.95);
    font-weight: 400;
    display: inline;
    position: relative;
}

.glow-1 {
    animation: wordGlow 8s ease-in-out infinite 0s;
}

.glow-2 {
    animation: wordGlow 8s ease-in-out infinite 2s;
}

.glow-3 {
    animation: wordGlow 8s ease-in-out infinite 4s;
}

.glow-4 {
    animation: wordGlow 8s ease-in-out infinite 6s;
}

@keyframes wordGlow {
    0%, 100% {
        color: rgba(192, 192, 192, 0.95);
        text-shadow: none;
    }
    12.5% {
        color: #00D9FF;
        text-shadow: 
            0 0 20px rgba(0, 217, 255, 0.8),
            0 0 40px rgba(0, 217, 255, 0.5),
            0 0 60px rgba(0, 217, 255, 0.3);
    }
    25% {
        color: rgba(192, 192, 192, 0.95);
        text-shadow: none;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }
    
    .attribute-card,
    .capability-card {
        padding: 1.5rem 1rem;
    }
}

/* ===========================
   Coming Soon Modal Styles
   =========================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, 
        rgba(31, 59, 115, 0.25) 0%, 
        rgba(10, 10, 10, 0.95) 50%,
        rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    padding: 3.5rem 2.5rem;
    position: relative;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.15);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(215, 38, 56, 0.1);
    border: 1px solid rgba(215, 38, 56, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    color: var(--color-spectral-silver);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
}

.modal-close:hover {
    background: rgba(215, 38, 56, 0.2);
    border-color: var(--color-pulse-red);
    color: var(--color-pulse-red);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(215, 38, 56, 0.4);
}

.modal-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.7));
    }
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, 
        var(--color-cyan-accent) 0%, 
        var(--color-spectral-silver) 50%,
        var(--color-cyan-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.08em;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.modal-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(192, 192, 192, 0.9);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.modal-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.03);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 12px;
}

.modal-timeline span {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-spectral-silver);
    letter-spacing: 0.05em;
    padding: 0.75rem;
    background: rgba(31, 59, 115, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-timeline span:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--color-cyan-accent);
    transform: translateX(5px);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.modal-input {
    padding: 1.1rem 1.5rem;
    font-size: 1.05rem;
    font-family: var(--font-body);
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid rgba(0, 217, 255, 0.25);
    border-radius: 10px;
    color: var(--color-spectral-silver);
    transition: all 0.3s ease;
    outline: none;
}

.modal-input::placeholder {
    color: rgba(192, 192, 192, 0.5);
    font-style: italic;
}

.modal-input:focus {
    border-color: var(--color-cyan-accent);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 
        0 0 25px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.1);
}

.modal-button {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, 
        var(--color-pulse-red) 0%, 
        #b91f2e 50%, 
        #8b0000 100%);
    color: white;
    border: 1px solid rgba(215, 38, 56, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(215, 38, 56, 0.4),
        0 0 20px rgba(215, 38, 56, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.modal-button:hover::before {
    width: 400px;
    height: 400px;
}

.modal-button:hover {
    background: linear-gradient(135deg, 
        #ff2d47 0%, 
        var(--color-pulse-red) 50%, 
        #b91f2e 100%);
    box-shadow: 
        0 8px 30px rgba(215, 38, 56, 0.6),
        0 0 40px rgba(215, 38, 56, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.modal-button:active {
    transform: translateY(0);
}

.modal-footer {
    font-size: 0.95rem;
    color: rgba(192, 192, 192, 0.7);
    line-height: 1.6;
}

.modal-footer a {
    color: var(--color-cyan-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.modal-footer a:hover {
    border-bottom-color: var(--color-cyan-accent);
}

.success-message {
    padding: 2rem 1rem;
    animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: checkmarkDraw 0.8s ease-out;
}

@keyframes checkmarkDraw {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-message h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-cyan-accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.success-message p {
    font-size: 1.1rem;
    color: rgba(192, 192, 192, 0.9);
    line-height: 1.6;
}

.success-message strong {
    color: var(--color-spectral-silver);
    font-weight: 600;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        padding: 3rem 2rem;
        border-radius: 16px;
    }
    
    .modal-title {
        font-size: 2.2rem;
    }
    
    .modal-description {
        font-size: 1.05rem;
    }
    
    .modal-icon {
        width: 100px;
        height: 100px;
    }
    
    .modal-timeline {
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .modal-timeline span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .modal-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }
    
    .modal-timeline {
        gap: 0.5rem;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .modal-timeline span {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .modal-input {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .modal-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .modal-footer {
        font-size: 0.9rem;
    }
    
    .success-message h3 {
        font-size: 1.6rem;
    }
    
    .success-message p {
        font-size: 1rem;
    }
}
