/* COGNIGMA Landing Page Styles */

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

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation Menu */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.navigation.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 35px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo-img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #512BDD;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('images/homepage_bg@2x.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

@media (max-width: 1440px) {
    .hero-section {
        background-image: url('images/homepage_bg.jpg');
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.logo-container {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.logo-image {
    max-width: 200px;
    height: auto;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: 4px;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.cta-button {
    background: #CEE622;
    color: #333;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(206, 230, 34, 0.3);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #b8d01f;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(206, 230, 34, 0.4);
    color: #333;
    text-decoration: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid #512BDD;
    border-bottom: 3px solid #512BDD;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* WHAT WE DO SECTION */
.what-we-do-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    background: #f8f9fa;
}

.left-panel {
    width: 33.333%;
    background: #383838;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.right-panel {
    width: 66.667%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    padding: 60px 80px;
}

.left-title {
    color: #f8f9fa;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 2px;
}

.description-text {
    margin-bottom: 60px;
}

.description-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    flex: 1;
    align-content: center;
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(4829%) hue-rotate(251deg) brightness(95%) contrast(95%);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

/* PARALLAX SEPARATOR */
.parallax-separator {
    position: relative;
    width: 100vw;
    height: 40vh;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.4)
    ), url('images/footer_bg@2x.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

@media (max-width: 1440px) {
    .parallax-separator {
        background-image: linear-gradient(
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)
        ), url('images/footer_bg.jpg');
    }
}

.parallax-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.parallax-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* CONTACT & FORM SECTION */
.contact-section {
    width: 100vw;
    height: 60vh;
    display: flex;
}

.contact-left {
    width: 33.333%;
    background: white;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-right {
    width: 66.667%;
    background: #383838;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-intro h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-intro p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(4829%) hue-rotate(251deg) brightness(95%) contrast(95%);
}

.contact-details h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.contact-details p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.contact-details a {
    color: #512BDD;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* BETA FORM STYLING */
.beta-form-container h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.beta-form-container .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #CEE622;
    box-shadow: 0 0 0 2px rgba(206, 230, 34, 0.1);
}

.form-group select {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
}

.submit-btn {
    background: #CEE622;
    color: #333;
    padding: 8px 25px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 15px auto 0;
    box-shadow: 0 2px 8px rgba(206, 230, 34, 0.3);
}

.submit-btn:hover {
    background: #b8d01f;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(206, 230, 34, 0.4);
}

/* FOOTER SECTION */
.footer-section {
    width: 100vw;
    background: url('images/footer_bg@2x.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px 0;
    color: white;
    text-align: center;
    position: relative;
}

@media (max-width: 1440px) {
    .footer-section {
        background-image: url('images/footer_bg.jpg');
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-bottom p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.microsoft-badge {
    color: white;
    font-size: 0.85rem;
    margin-top: 5px;
}

.scroll-up-indicator {
    position: absolute;
    top: -25px;
    right: 40px;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-up-indicator:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.scroll-up-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid #512BDD;
    border-bottom: 3px solid #512BDD;
    transform: rotate(-135deg);
}

/* Success/Error Messages */
.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.85rem;
    display: none;
}

.form-message.success {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    display: block;
}

.form-message.error {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    display: block;
}

/* Animation delays for feature items */
.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.3s; }
.feature-item:nth-child(4) { transition-delay: 0.4s; }
.feature-item:nth-child(5) { transition-delay: 0.5s; }
.feature-item:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .right-panel {
        padding: 40px 60px;
    }

    .left-title {
        font-size: 4rem;
    }

    .features-grid {
        gap: 30px;
    }

    .contact-left,
    .contact-right {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .logo-image {
        max-width: 150px;
    }

    .logo-container {
        top: 40px;
    }

    .what-we-do-section {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .left-panel {
        width: 100%;
        height: 30vh;
        padding: 20px;
    }

    .right-panel {
        width: 100%;
        padding: 40px 30px;
    }

    .left-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .parallax-separator {
        height: 30vh;
        background-attachment: scroll;
    }

    .contact-section {
        flex-direction: column;
        height: auto;
        min-height: 70vh;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .parallax-content h3 {
        font-size: 1.6rem;
    }

    .parallax-content h4 {
        font-size: 1.4rem;
    }

    .footer-section {
        background-attachment: scroll;
    }

    .scroll-up-indicator {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .contact-left,
    .contact-right {
        padding: 30px 20px;
    }

    .form-container {
        padding: 20px;
    }

    .contact-intro h2,
    .beta-form-container h2 {
        font-size: 1.8rem;
    }

    .logo-image {
        max-width: 120px;
    }

    .logo-container {
        top: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .description-text {
        margin-bottom: 40px;
    }

    .description-text p {
        font-size: 1rem;
    }
}