@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-bg: #050a14;
    --accent-cyan: #00f2ff;
    --accent-purple: #9d00ff;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-shadow-cyan: 0 0 15px rgba(0, 242, 255, 0.5);
    --neon-shadow-purple: 0 0 15px rgba(157, 0, 255, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --top-bar-height: 40px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Animation Classes */
.animate-fade,
.animate-slide-left,
.animate-slide-right {
    opacity: 0;
    transition: opacity 0.3s;
}

.active.animate-fade {
    animation: fadeInUp 0.8s forwards;
}

.active.animate-slide-left {
    animation: slideLeft 0.8s forwards;
}

.active.animate-slide-right {
    animation: slideRight 0.8s forwards;
}

/* Staggering Delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}


/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Bar */
.top-bar {
    height: var(--top-bar-height);
    background: #02050a;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.top-bar-contact strong {
    color: var(--text-primary);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: var(--top-bar-height);
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    top: 0;
    /* Cover top bar when scrolling */
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-image {
        display: none;
    }
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Button System */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-shadow-cyan);
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-tag {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

h1,
h2,
h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + var(--top-bar-height));
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 400px;
    max-width: 40%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.9;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    padding: 3rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sector Solutions */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.sector-card {
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.02);
}

.sector-card:hover {
    border-color: var(--accent-purple);
    background: rgba(157, 0, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--neon-shadow-purple);
}

.sector-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.sector-card ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sector-card li {
    margin-bottom: 0.5rem;
}

/* Form Styles */
.lead-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: var(--neon-shadow-cyan);
}

/* Trusted By Ticker */
.trusted-by {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    animation: scroll-infinite 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.ticker-item:hover {
    opacity: 1;
    color: #fff;
    text-shadow: var(--neon-shadow-cyan);
}

/* Multi-column Footer */
.footer {
    padding: 5rem 0 2rem;
    background: #02050a;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col p,
.footer-col ul,
.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    /* WhatsApp color */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: pulse-glow 2s infinite;
    transition: var(--transition-smooth);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    background: #1ebc5a;
}

.fab-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    header {
        top: 0;
    }

    header.scrolled {
        top: 0;
    }

    .hero {
        padding-top: var(--header-height);
        text-align: center;
    }

    .lead-form {
        padding: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .hero-content {
        margin: 0 auto;
    }

    .section-tag {
        text-align: center !important;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero div[style*="gap: 1rem"] {
        justify-content: center;
    }

    .fab-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .fab-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}