:root {
    --ocean-deep: #0a1128;
    --ocean-dark: #001f54;
    --ocean-mid: #034078;
    --ocean-light: #1282a2;
    --ocean-foam: #4fa8c5;
    --text-primary: #e8f1f5;
    --text-secondary: #7a9fb8;
    --border-color: #1a3a52;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--ocean-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated ocean waves background */
body::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, transparent, var(--ocean-dark));
    z-index: 0;
}

/* Wave animations container */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23034078' fill-opacity='0.4'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    background-repeat: repeat-x;
    animation: wave1 15s linear infinite;
    z-index: 1;
    pointer-events: none;
}

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

/* Grain texture overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 1000;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background: rgba(10, 17, 40, 0.7);
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--ocean-foam), var(--ocean-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(79, 168, 197, 0.3);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-light);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--ocean-light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 4rem 6rem;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(18, 130, 162, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.2; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.4; 
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(18, 130, 162, 0.2);
    border: 1px solid var(--ocean-light);
    color: var(--ocean-foam);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: blink 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 130, 162, 0.3);
}

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

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.glitch {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--ocean-foam), var(--ocean-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(79, 168, 197, 0.4));
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ocean-foam), var(--ocean-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    animation: glitch-1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    animation: glitch-2 3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, -2px); }
    66% { transform: translate(-2px, 2px); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn::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.5s, height 0.5s;
}

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

.btn-primary {
    background: var(--ocean-light);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(18, 130, 162, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(18, 130, 162, 0.6);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--ocean-light);
    box-shadow: 0 0 20px rgba(18, 130, 162, 0.3);
}

/* Hero Visual Cards */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

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

.visual-card {
    background: rgba(0, 31, 84, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.visual-card:hover {
    border-color: var(--ocean-light);
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(18, 130, 162, 0.3);
}

.card-1 { animation-delay: 0.2s; }
.card-2 { animation-delay: 0.4s; margin-left: 2rem; }
.card-3 { animation-delay: 0.6s; margin-left: 4rem; }

.card-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px var(--ocean-light));
}

.card-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Platforms Section */
.platforms {
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.platform-card {
    background: rgba(0, 31, 84, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-light), var(--ocean-foam));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    box-shadow: 0 0 15px var(--ocean-light);
}

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

.platform-card:hover {
    border-color: var(--ocean-light);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(18, 130, 162, 0.3);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header svg {
    opacity: 0.8;
    filter: drop-shadow(0 0 10px var(--ocean-light));
}

.platform-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.platform-link {
    color: var(--ocean-foam);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.platform-link:hover {
    transform: translateX(5px);
    text-shadow: 0 0 10px var(--ocean-light);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    background: rgba(10, 17, 40, 0.7);
    backdrop-filter: blur(10px);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--ocean-foam);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        padding: 1.5rem 2rem;
    }
    
    .hero {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        width: 100%;
    }
    
    .card-2, .card-3 {
        margin-left: 0;
    }
    
    .platforms {
        padding: 4rem 2rem;
        grid-template-columns: 1fr;
    }
    
    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .visual-card {
        padding: 1.5rem;
    }
    
    .platform-card {
        padding: 2rem;
    }
}
