/* KRYOS - Unique Futuristic Design System */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00F5FF;
    --blue: #3A8DFF;
    --dark: #1E1E2F;
    --light: #F9F9FB;
    --glass-bg: rgba(30, 30, 47, 0.7);
    --glass-border: rgba(0, 245, 255, 0.2);
}

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

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* ===== NAVIGATION - Glassmorphic ===== */
.nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

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

/* ===== HERO SECTION - DIAGONAL ASYMMETRIC ===== */
.hero-diagonal {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    overflow: hidden;
}

/* Diagonal Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: rotate(-15deg) scale(1.5);
    overflow: hidden;
}

.grid-line {
    position: absolute;
    width: 1px;
    height: 200%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 245, 255, 0.1) 20%,
        rgba(58, 141, 255, 0.15) 50%,
        rgba(0, 245, 255, 0.1) 80%,
        transparent 100%
    );
    animation: gridPulse 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.grid-line:nth-child(1) { left: 20%; }
.grid-line:nth-child(2) { left: 40%; }
.grid-line:nth-child(3) { left: 60%; }
.grid-line:nth-child(4) { left: 80%; }

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-20px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Hero Text Block */
.hero-text-block {
    animation: fadeInUp 1s ease;
}

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

.badge-floating {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cyan);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

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

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(120deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.outline-text {
    -webkit-text-stroke: 2px var(--cyan);
    -webkit-text-fill-color: transparent;
    text-stroke: 2px var(--cyan);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(249, 249, 251, 0.7);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--cyan);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(58, 141, 255, 0.1);
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(58, 141, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(58, 141, 255, 0.2);
    border-color: var(--cyan);
    transform: translateY(-3px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--cyan);
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Hero Visual - Device Illustration */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s ease 0.3s both;
}

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

.device-container {
    position: relative;
    width: 400px;
    height: 500px;
}

.device-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 60px rgba(0, 245, 255, 0.3));
}

.device-card {
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.nfc-wave {
    animation: waveExpand 2s ease-in-out infinite;
}

@keyframes waveExpand {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; transform: scale(1.1); }
}

.particle {
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate(var(--x), var(--y));
        opacity: 0.8;
    }
}

/* Floating Stat Cards */
.stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(30, 30, 47, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    animation: statFloat 4s ease-in-out infinite;
}

.stat-card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.stat-card-2 {
    top: 40%;
    right: -15%;
    animation-delay: 1s;
}

.stat-card-3 {
    bottom: 15%;
    left: -8%;
    animation-delay: 2s;
}

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

.stat-icon {
    font-size: 2rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(249, 249, 251, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan);
    font-family: 'Space Grotesk', sans-serif;
}

/* Animated Gradient Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbMove 20s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cyan), transparent);
    top: -10%;
    left: 10%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blue), transparent);
    bottom: -5%;
    right: 15%;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--cyan), transparent);
    top: 50%;
    right: -5%;
    animation-delay: 10s;
}

@keyframes orbMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ===== FEATURES SECTION - ASYMMETRIC GRID ===== */
.features-asymmetric {
    padding: 8rem 3rem;
    position: relative;
}

.section-header-diagonal {
    max-width: 1400px;
    margin: 0 auto 4rem;
    transform: skewY(-2deg);
    animation: fadeInUp 0.8s ease;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 245, 255, 0.1);
    border-left: 3px solid var(--cyan);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header-diagonal h2 {
    font-size: 3.5rem;
    line-height: 1.2;
}

/* Unique Asymmetric Grid Layout */
.features-grid-unique {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.2);
}

/* Unique Grid Positioning */
.feature-large {
    grid-column: span 4;
    grid-row: span 2;
    animation-delay: 0.1s;
}

.feature-wide {
    grid-column: span 6;
    animation-delay: 0.4s;
}

.feature-card:nth-child(2) {
    grid-column: span 2;
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    grid-column: span 2;
    animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
    grid-column: span 3;
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    grid-column: span 3;
    animation-delay: 0.6s;
}

.feature-icon-container {
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: iconRotate 10s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-card:hover .feature-icon-container {
    animation-play-state: paused;
}

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

.feature-card p {
    color: rgba(249, 249, 251, 0.7);
    line-height: 1.7;
    font-size: 1rem;
}

.feature-highlight {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* ===== CTA SECTION - SKEWED DESIGN ===== */
.cta-skewed {
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-skewed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(58, 141, 255, 0.05));
    transform: skewY(-3deg);
    z-index: -1;
}

.cta-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.cta-visual-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-icon-large {
    width: 300px;
    height: 300px;
    animation: rotateY 8s linear infinite;
}

@keyframes rotateY {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.cta-text-side h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-text-side p {
    font-size: 1.15rem;
    color: rgba(249, 249, 251, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* ===== FOOTER ===== */
.footer-glass {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    padding: 4rem 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    color: rgba(249, 249, 251, 0.6);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--cyan);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a {
    color: rgba(249, 249, 251, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(249, 249, 251, 0.5);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.75rem !important;
    font-style: italic;
    max-width: 600px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid-unique {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .feature-large {
        grid-column: span 4;
    }
    
    .feature-wide {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-diagonal {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid-unique {
        grid-template-columns: 1fr;
    }
    
    .feature-large,
    .feature-wide,
    .feature-card {
        grid-column: span 1;
    }
    
    .cta-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
