/* ============================================
   IOI+ MAIN STYLESHEET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Gradient Background */
.animated-gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, 
        #0a1628 0%, 
        #001a33 25%, 
        #00334d 50%, 
        #006680 75%, 
        #0a1628 100%);
    background-size: 200% 200%;
    animation: animated-gradient-flow 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes animated-gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 5%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

header.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    height: 60px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

header.scrolled .logo-img {
    height: 40px;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #00ffff, #00ccff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
}

header.scrolled .company-name {
    opacity: 0;
    transform: scale(0);
    width: 0;
    overflow: hidden;
}

/* Navigation */
nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.nav-login-btn {
    padding: 0.5rem 1.5rem !important;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: #0a1628 !important;
    border-radius: 50px;
    font-weight: 700 !important;
}

.nav-login-btn::after {
    display: none;
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

/* User Menu */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00ffff;
    object-fit: cover;
}

.user-name {
    color: #00ffff;
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 180px;
    display: none;
    z-index: 1001;
}

.user-menu:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #b0e0e6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.dropdown-menu a::after {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #00ffff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00ffff, #00ccff, #0099ff, #00ffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    text-transform: uppercase;
    letter-spacing: 3px;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero h1 span {
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 4rem;
    background-color: #00ffff;
    margin-left: 8px;
    animation: blink 1s infinite;
    vertical-align: middle;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #b0e0e6;
    line-height: 1.8;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: #0a1628;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(0, 255, 255, 0.7);
}

/* Google One Tap */
.google-one-tap {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1002;
}

/* Partners Section */
.partners-section {
    padding: 4rem 5%;
    background: rgba(10, 22, 40, 0.7);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scroll 40s linear infinite;
}

.partner-item {
    position: relative;
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.partner-item:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.partner-name {
    position: absolute;
    bottom: 7px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.partner-item:hover .partner-name {
    opacity: 1;
    transform: translateY(0);
}

.partner-item i {
    font-size: 3rem;
    color: #00ffff;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 8 - 3rem * 8)); }
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

/* Projects Counter */
.projects-counter {
    padding: 4rem 5%;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 30, 50, 0.9), rgba(10, 22, 40, 0.9));
}

.projects-counter h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.counter-item {
    text-align: center;
    padding: 2rem;
}

.counter-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.counter-label {
    font-size: 1.2rem;
    color: #b0e0e6;
}

/* Features Section */
.features {
    position: relative;
    z-index: 10;
    padding: 6rem 5%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.8), rgba(15, 30, 50, 0.9));
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(0, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.feature-card p {
    color: #b0e0e6;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    position: relative;
    z-index: 10;
    padding: 6rem 5%;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact p {
    font-size: 1.2rem;
    color: #b0e0e6;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 3rem 5% 2rem;
    background: rgba(10, 22, 40, 0.95);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #00ffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #00ffff;
}

.footer-section p {
    color: #b0e0e6;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #b0e0e6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #00ffff;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #00ffff;
    color: #0a1628;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    color: #b0e0e6;
}

/* Coming Soon Modal */
.coming-soon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.coming-soon-content {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(15, 30, 50, 0.98));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: modalAppear 0.5s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.coming-soon-content h2 {
    color: #00ffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.coming-soon-content p {
    color: #b0e0e6;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.close-modal {
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: #0a1628;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.close-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(0, 255, 255, 0.3);
        z-index: 1001;
    }

    nav.active {
        right: 0;
    }

    .menu-overlay.active {
        display: block;
    }

    .company-name {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 2.5rem;
        min-height: 80px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features h2, .contact h2, .partners-section h2, .projects-counter h2 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cursor {
        height: 2.5rem;
    }

    .counter-container {
        gap: 2rem;
    }

    .counter-number {
        font-size: 3rem;
    }
    
    .google-one-tap {
        top: 70px;
        right: 10px;
    }
    
    .google-one-tap iframe {
        transform: scale(0.9);
        transform-origin: top right;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero h1 {
        font-size: 2rem;
        min-height: 60px;
    }

    .cursor {
        height: 2rem;
    }
    
    .google-one-tap iframe {
        transform: scale(0.8);
    }
}