@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #00d2ff;
    --secondary: #3a7bd5;
    --indigo: #6366f1;
    --accent: #ffd700;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8f9fa;
    --gray: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --surface: #0b1325;
    --text-main: #f8f9fa;
    --text-muted: #94a3b8;
}

@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

html {
    overflow-x: clip;
}

img, svg, video, canvas, iframe {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* --- Glassmorphism --- */
.glass {
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, transparent, var(--glass-border), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.sticky {
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 98px;
    filter: brightness(1.2);
}

.footer-logo {
    height: 120px;
    /* margin-bottom: 10px; */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover {
    opacity: 1;
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- Dropdown Menu --- */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

nav ul li.dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray);
    font-size: 0.88rem;
    font-weight: 400;
    opacity: 1;
    transition: all 0.2s ease;
    white-space: nowrap;
}

nav ul li.dropdown .dropdown-menu a::after {
    display: none;
}

nav ul li.dropdown .dropdown-menu a:hover {
    color: var(--primary);
    background: rgba(0, 210, 255, 0.05);
    padding-left: 25px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(45deg, var(--darker), var(--dark), var(--indigo), var(--darker));
    background-size: 400% 400%;
    animation: aurora 20s ease infinite;
    overflow: hidden;
}

.hero-secondary-btn {
    margin-left: 15px;
    color: var(--primary);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--dark) 100%);
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--indigo));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, var(--indigo), var(--primary));
}

/* --- Service Grid --- */
.services-section {
    background-color: var(--darker);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

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

.service-card {
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .btn-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Partners Section --- */
.partners-section {
    padding: 60px 0;
    background: var(--dark);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.8;
}

.partner-item img {
    height: 100px;
    width: 100%;
    filter: grayscale(100%) brightness(1.5);
    transition: var(--transition);
}

.partners-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    --partners-marquee-duration: 80s;
    animation: partners-scroll var(--partners-marquee-duration) linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partners-marquee--reduced-motion .partners-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 24px;
}

.partners-track .partner-item {
    flex: 0 0 auto;
}

.partners-track .partner-item img {
    height: 86px;
    filter: none;
    opacity: 1;
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.partner-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* --- Sub Pages --- */
.sub-hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(10, 14, 23, 0.8), var(--darker));
    text-align: center;
}

.sub-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* --- Professional Footer --- */
.pro-footer {
    background: var(--darker);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.header-action {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border: 1px solid var(--glass-border);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--text-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

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

.footer-links li a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-item {
    text-align: center;
    padding: 40px;
}

.process-count {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 25px;
    border: 1px solid var(--glass-border);
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form__feedback {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.contact-form__feedback--success {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.contact-form__feedback--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

.contact-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form {
    position: relative;
}

.contact-form__spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: -0.15em;
    margin-right: 6px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Additions for Hyper-Premium Look --- */
.cursor-follower {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
    filter: blur(40px);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--indigo));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Reveal Animations Upgrade --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinning {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .cursor-follower { display: none; }
    .hero h1 { font-size: 2.4rem; }
    .section-title h2 { font-size: 2rem; }
    .section-padding { padding: 70px 0; }
    .sub-hero { padding: 120px 0 70px; }
    .sub-hero h1 { font-size: 2.2rem; }
    .content-section { padding: 60px 0; }
    .content-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero { min-height: 90vh; height: auto; padding-top: 120px; padding-bottom: 60px; }
    .hero-secondary-btn { margin-left: 0; margin-top: 12px; }
    .hero-btns .btn { display: block; width: 100%; text-align: center; }
    .btn { max-width: 100%; }
    .btn + .btn { margin-left: 0 !important; margin-top: 12px; }
    .service-grid { grid-template-columns: 1fr !important; }
    .service-card { padding: 32px 24px; }
    .process-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-container { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 34px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .partners-track { gap: 42px; animation-duration: 16s; }
    .partners-track .partner-item img { height: 66px; }
    .header-action .btn { padding: 10px 18px; }
    nav ul {
        position: absolute;
        top: 74px;
        right: 20px;
        width: min(300px, calc(100vw - 40px));
        flex-direction: column;
        gap: 12px;
        background: var(--surface);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 14px;
        display: none;
    }
    nav ul.is-open {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    nav ul li.dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 6px 0 0 10px;
        min-width: 0;
    }
}

@media (hover: none) {
    .cursor-follower { display: none; }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
