:root {
    --primary: #00f2ff;
    --primary-dark: #00c8d4;
    --secondary: #4d8dff;
    --bg: #050508;
    --bg-secondary: #0f0f1a;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 20px rgba(0, 242, 255, 0.3);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 5px;
    transition: 0.3s;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    color: var(--primary);
    font-weight: 700;
}

.divider {
    color: var(--glass-border);
    font-size: 0.8rem;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-card {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    color: #27c93f;
}

.signature-preview {
    border: 1px dashed var(--glass-border);
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.sig-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.sig-placeholder i {
    font-size: 2rem;
    color: var(--primary);
}

.sig-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
}

.text-success {
    color: #27c93f;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.tm-coverflow {
    position: relative;
    height: 360px;
    perspective: 1000px;
}

.tm-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.tm-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52%;
    height: 80%;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease, opacity 0.6s ease;
}

.tm-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
}

.tm-prev {
    left: 10px;
}

.tm-next {
    right: 10px;
}

.tm-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--primary);
}

.tm-pos-0 {
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    z-index: 3;
    filter: none;
    opacity: 1;
}

.tm-pos-1 {
    transform: translate(calc(-50% + 240px), -50%) scale(0.86) rotateY(-12deg);
    z-index: 2;
    filter: saturate(0.9) brightness(0.95);
    opacity: 0.95;
}

.tm-pos--1 {
    transform: translate(calc(-50% - 240px), -50%) scale(0.86) rotateY(12deg);
    z-index: 2;
    filter: saturate(0.9) brightness(0.95);
    opacity: 0.95;
}

.tm-pos-2 {
    transform: translate(calc(-50% + 420px), -50%) scale(0.72) rotateY(-18deg);
    z-index: 1;
    filter: grayscale(0.2) blur(1px) brightness(0.9);
    opacity: 0.75;
}

.tm-pos--2 {
    transform: translate(calc(-50% - 420px), -50%) scale(0.72) rotateY(18deg);
    z-index: 1;
    filter: grayscale(0.2) blur(1px) brightness(0.9);
    opacity: 0.75;
}

.tm-gallery {
    display: flex;
    gap: 20px;
    align-items: center;
}

.tm-item {
    flex: 1;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    box-shadow: var(--glow);
    position: relative;
    transition: flex 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease, opacity 0.45s ease;
}

.tm-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-gallery:hover .tm-item {
    filter: grayscale(1) saturate(0.8) brightness(0.9);
    opacity: 0.85;
}

.tm-gallery .tm-item:hover {
    flex: 2.4;
    transform: scale(1.03);
    filter: none;
    opacity: 1;
    z-index: 2;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Spotlight Section */
.spotlight {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg), var(--bg-secondary));
    overflow: hidden;
}

.spotlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-list li i {
    color: var(--primary);
    margin-top: 3px;
}

.tech-circle {
    width: 400px;
    height: 400px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 4s infinite;
}

.circle-inner {
    width: 150px;
    height: 150px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    box-shadow: var(--glow);
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--glow);
}

.item-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbit 10s linear infinite;
    transform-origin: 0 200px;
}

.item-2 {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    animation: orbit 10s linear infinite -3.33s;
    transform-origin: -200px 0;
}

.item-3 {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    animation: orbit 10s linear infinite -6.66s;
    transform-origin: 0 -200px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.1);
    }

    70% {
        box-shadow: 0 0 0 50px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(200px);
    }

    to {
        transform: rotate(360deg) translateX(200px);
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text);
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary);
}

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

.social-links a {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
[data-animate] {
    opacity: 0;
    transition: 1s ease;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="zoom-in"] {
    transform: scale(0.9);
}

.active[data-animate] {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: auto;
    padding: 30px;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    animation: animatezoom 0.6s
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

.modal-content p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.modal-content strong {
    color: var(--text);
}

.close-button {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

@keyframes animatezoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tm-coverflow {
        height: 280px;
    }

    .tm-slide {
        width: 86%;
        height: 80%;
    }

    .tm-pos-1 {
        transform: translate(calc(-50% + 140px), -50%) scale(0.86) rotateY(-8deg);
    }

    .tm-pos--1 {
        transform: translate(calc(-50% - 140px), -50%) scale(0.86) rotateY(8deg);
    }

    .tm-pos-2 {
        transform: translate(calc(-50% + 260px), -50%) scale(0.72) rotateY(-12deg);
    }

    .tm-pos--2 {
        transform: translate(calc(-50% - 260px), -50%) scale(0.72) rotateY(12deg);
    }

    .tm-gallery {
        flex-direction: column;
    }

    .tm-item {
        height: 180px;
    }

    .hero-content,
    .spotlight-container,
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-card {
        display: none;
    }

    .tech-circle {
        width: 300px;
        height: 300px;
    }

    .lang-switch {
        margin-top: 20px;
        align-self: center;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
}
