:root {
    --bg-dark: #050508;
    --text-main: #f0f0f5;
    --text-dim: #9aa0a6;
    --accent-cyan: #00f0ff;
    --accent-purple: #8a2be2;
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Glow */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.glow-top {
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 70%);
}

.glow-bottom-left {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
}

/* Typography elements */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

p {
    color: var(--text-dim);
}

/* Layout Utilities */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-inline: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.align-center {
    align-items: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 5rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 8, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #000;
    border: 1px solid var(--accent-cyan);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 6rem);
    padding-bottom: 6rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.subtitle {
    font-size: 1.25rem;
    max-width: 760px;
    margin-bottom: 3rem;
    color: #bbb;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Hero Slogan Additions */
.hero h1 {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.slogan-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent-purple);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-purple);
    margin-bottom: 2rem;
    background: rgba(138, 43, 226, 0.1);
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.lang-switch {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.lang-switch:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--accent-cyan);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.glass-panel {
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

/* Specific Sections */
/* Philosophy */
.stat-card {
    border-left: 4px solid var(--accent-purple);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.label {
    width: 140px;
    font-size: 0.9rem;
    color: #fff;
}

.bar-container {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.bar {
    height: 100%;
    border-radius: 5px;
}

.bar-old {
    width: 90%;
    background: #444;
}

.bar-new {
    width: 6%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    box-shadow: 0 0 10px var(--accent-purple);
}

.value {
    width: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: right;
}

.value.accent {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

/* Tech */
.tech-icon {
    font-size: 2.8rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--glass-border);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.tech-card:hover .tech-icon {
    -webkit-text-stroke: 1.5px var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Solutions */
.ip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.ip-tag {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    transition: var(--transition);
    cursor: default;
}

.ip-tag:hover {
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.highlight-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.highlight-corner {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-purple);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1.5rem;
    text-transform: uppercase;
    border-bottom-left-radius: 12px;
}

.compare-box {
    margin: 2.5rem 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.compare-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.compare-item:last-child {
    margin-bottom: 0;
}

.old-val {
    color: var(--text-dim);
    text-decoration: line-through;
}

.new-val {
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.benifit-list {
    list-style: none;
}

.benifit-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.benifit-list li::before {
    content: '→';
    color: var(--accent-cyan);
    font-weight: bold;
}

.benifit-list strong {
    color: #fff;
    font-size: 1.1rem;
}

/* Team */
.team-grid {
    margin-top: 2rem;
}

.team-card {
    text-align: center;
}

.role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.experience {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.desc {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.detail {
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* Small Cards for Roadmap */
.small-card {
    padding: 2rem 1.5rem;
}

.small-card h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.small-card p {
    font-size: 0.95rem;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 0;
}

.cta-section {
    margin-bottom: 4rem;
}

.footer-bottom {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Animations - Initial state for intersection observer */
.fade-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation active state */
.is-visible {
    opacity: 1;
    transform: translate(0) scale(1) !important;
}

/* Delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .value {
        text-align: left;
    }

    .hero-content {
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}