@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@400;600;700&display=swap');

:root {
    --primary: #0F172A;
    /* Deep Navy */
    --secondary: #1E293B;
    /* Slate */
    --accent: #38BDF8;
    /* Light Blue / Cyblux Logo Blue */
    --accent-glow: rgba(56, 189, 248, 0.3);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.hero-title {
    font-family: 'Sora', sans-serif;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--white);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(30, 41, 59, 0.5);
    padding: 0.3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    background: var(--accent);
    color: var(--primary);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 1rem;
    }
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--primary), transparent);
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    text-align: left;
}

/* Floating Cards */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.feature-card,
.solution-card {
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(even),
.solution-card:nth-child(even) {
    animation-delay: 1s;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--accent);
    border-radius: 2rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Why Cyblux / About */
.about-section {
    background-color: #161E31;
}

.why-us {
    background-color: #0F172A;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-glow);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    color: var(--text-muted);
}

/* Solutions */
.solutions {
    background-color: #161E31;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    height: 100%;
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.1;
}

/* Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
}

/* Stats & Partners */
/* Stats & Partners */
.stats {
    background-color: #0F172A;
}

.process-section {
    background-color: #161E31;
}

.testimonials {
    background-color: #0F172A;
}

.trust {
    background-color: #161E31;
}

.contact-section {
    background-color: #0F172A;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Sora', sans-serif;
    text-shadow: 0 0 20px var(--accent-glow);
}

.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
    transition: var(--transition);
}

.partners-row:hover {
    opacity: 0.8;
    filter: grayscale(0.5);
}

.partner-img {
    height: 105px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: var(--transition);
}

.partner-img:hover {
    filter: brightness(0) invert(1) opacity(1);
}

.partner-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--secondary);
    padding: 4rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: var(--primary);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 0.5rem;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    background: #080C14;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Sora', sans-serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.brand-col .logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.contact-list svg {
    width: 18px;
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

[data-aos].aos-init {
    opacity: 1;
    transform: translateY(0);
}

.hero-content [data-aos]:nth-child(1) {
    transition-delay: 0.1s;
}

.hero-content [data-aos]:nth-child(2) {
    transition-delay: 0.2s;
}

.hero-content [data-aos]:nth-child(3) {
    transition-delay: 0.3s;
}

.hero-content [data-aos]:nth-child(4) {
    transition-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1.5rem;
    }

    .hero-btns .btn {
        width: 100% !important;
        text-align: center;
    }

    .contact-container {
        padding: 2rem 1.5rem !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .hero .container {
        padding: 0 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }
}