:root {
    --primary: #00f2ff;
    --primary-dark: #00d1db;
    --secondary: #7000ff;
    --bg-dark: #050b1a;
    --bg-darker: #020610;
    --text-light: #f0f4f8;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

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

.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 11, 26, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn-primary, .btn-primary-lg {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-darker);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn-primary-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }

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

.btn-secondary-lg {
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    background: var(--glass);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary-lg:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

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

.animated-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 242, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(112, 0, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta { display: flex; gap: 1rem; }

.image-wrapper.glass {
    padding: 1rem;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Common Section styles */
section { padding: 8rem 0; }
.section-tag {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
h2 { font-size: 2.75rem; margin-bottom: 1.5rem; line-height: 1.2; }

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-stats { display: flex; flex-direction: column; gap: 2rem; }
.stat-card {
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(5px);
    text-align: center;
}
.stat-card h3 { font-size: 3rem; color: var(--primary); margin-bottom: 0.5rem; }
.stat-card p { font-weight: 600; color: var(--text-muted); }

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

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

.service-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-icon i { width: 32px; height: 32px; }
.img-icon { width: 40px; height: 40px; }

.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Rutex Section */
.rutex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    border-radius: 32px;
}

.rutex-info .feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.feature-list i { color: var(--primary); width: 20px; }

/* Mockup UI */
.mockup-container {
    width: 100%;
    aspect-ratio: 4/3;
    background: #111;
    border-radius: 12px;
    border: 8px solid #222;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mockup-header {
    background: #222;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.dots { display: flex; gap: 5px; margin-right: 15px; }
.dots span { width: 8px; height: 8px; background: #444; border-radius: 50%; }
.address-bar {
    background: #333;
    color: #666;
    font-size: 0.7rem;
    padding: 4px 15px;
    border-radius: 4px;
    width: 100%;
}

.mockup-body {
    height: 100%;
    background: #1a1a1a;
    position: relative;
}

.mockup-map {
    height: 100%;
    background: repeating-linear-gradient(45deg, #111, #111 10px, #1a1a1a 10px, #1a1a1a 20px);
    opacity: 0.3;
}

.mockup-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.unit-card {
    background: #222;
    border: 1px solid var(--primary);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.unit-card strong { display: block; font-size: 0.9rem; }
.unit-card span { font-size: 0.75rem; color: #888; }
.unit-card i { color: var(--primary); }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card { perspective: 1000px; }
.feature-inner {
    padding: 3rem 2rem;
    border-radius: 24px;
    height: 100%;
}
.feature-inner i { color: var(--primary); margin-bottom: 2rem; width: 40px; height: 40px; }
.feature-inner h4 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-inner p { color: var(--text-muted); }

/* CTA Box */
.cta-box {
    padding: 6rem 4rem;
    border-radius: 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05), rgba(112, 0, 255, 0.05));
}

.cta-actions { display: flex; gap: 1.5rem; justify-content: center; margin-top: 3rem; }

.btn-outline-lg {
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links { display: flex; gap: 1.5rem; }
.social-links a { color: var(--text-muted); transition: var(--transition); }
.social-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero .container, .about-grid, .rutex-grid { grid-template-columns: 1fr; gap: 3rem; }
    .rutex-grid { padding: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 3rem; }
    section { padding: 5rem 0; }
    .cta-actions { flex-direction: column; }
}
