:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-section: #0f0f0f;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #56c2c6;
    --accent-glow: rgba(86, 194, 198, 0.3);
    --border-color: #2a2a2a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.narrow {
    max-width: 800px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-delayed {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-glow);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 4px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.btn-nav {
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 4px;
    color: #fff !important;
}

.btn-nav:hover {
    border-color: var(--accent);
    background: rgba(86, 194, 198, 0.1);
}

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

/* Shop Link Styling */
.nav-shop:hover {
    color: var(--accent) !important;
    opacity: 1 !important;
}

.nav-shop::after {
    content: 'Coming Soon';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: var(--accent);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.nav-shop:hover::after {
    opacity: 1;
    bottom: -30px;
}

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

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: contrast(110%);
    /* Prepare for JS animation */
    transition: transform 0.1s linear;
    /* Smooth linear transition for scroll */
    transform: scale(1.0);
    /* Initial scale */
    transform-origin: center center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 60px;
}

.eyebrow {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: linear-gradient(120deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(86, 194, 198, 0.2);
}

.btn-primary i {
    margin-left: 8px;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Floating Particles (Antigravity) */
.floating-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.p1 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.p2 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 25%;
    animation: float-delayed 8s ease-in-out infinite;
}

.p3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 10%;
    animation: float 5s ease-in-out infinite reverse;
}


/* Sections General */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* Center the underline for centered headings */
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

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

/* Technologies */
.dark-bg {
    background: var(--bg-section);
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.tech-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-list li:last-child {
    border-bottom: none;
}

.check {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.tech-list strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.tech-list .detail {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tech-visual {
    height: 400px;
    width: 100%;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 70%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-shape {
    position: absolute;
    border: 1px solid rgba(86, 194, 198, 0.2);
}

.shape-1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: 20%;
    left: 20%;
    animation: float 8s infinite alternate;
}

.shape-2 {
    width: 100px;
    height: 100px;
    transform: rotate(45deg);
    bottom: 20%;
    right: 20%;
    border-color: rgba(255, 255, 255, 0.1);
    animation: float-delayed 10s infinite alternate;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* Industries */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-item {
    background: var(--bg-card);
    padding: 30px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.industry-item:hover {
    border-color: var(--accent);
    background: rgba(86, 194, 198, 0.05);
}

.industry-item i {
    font-size: 2rem;
    color: var(--accent);
    display: block;
    margin-bottom: 15px;
}

.industry-item span {
    font-weight: 500;
    color: #fff;
}

/* About */
.grey-bg {
    background: #111;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 300;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: left;
}

/* Contact */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bg-dark), var(--accent), var(--bg-dark));
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
}

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

.contact-item {
    display: inline-block;
    margin-bottom: 40px;
}

.contact-item a {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

.contact-form {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    padding: 14px;
    color: #fff;
    font-family: var(--font-body);
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    background: #050505;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.8rem;
}

/* Utilities for JS */
.fade-up,
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-up.active,
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        padding: 20px;
        border-bottom: 1px solid #222;
        animation: fadeIn 0.3s ease;
    }

    .mobile-toggle {
        display: block;
        color: #fff;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cta-box {
        padding: 30px;
    }
}