/* Base Styles using variables.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 0 30px;
    /* neu-flat style is applied via class in HTML, we just add specific layout here */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 15px;
    border-radius: 12px;
}

.nav-item:hover {
    color: var(--primary-color);
    background: var(--bg-color);
    box-shadow:
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    color: var(--primary-color);
}

.btn-primary:hover {
    color: var(--primary-hover);
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

.btn-primary:active {
    box-shadow: inset 6px 6px 10px var(--shadow-dark),
        inset -6px -6px 10px var(--shadow-light);
    transform: translateY(1px);
}

.mobile-menu-toggle {
    display: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Space for fixed header */
main {
    padding-top: 120px;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    color: var(--text-main);
}

.btn-secondary:hover {
    color: var(--primary-color);
    box-shadow:
        9px 9px 16px var(--shadow-dark),
        -9px -9px 16px var(--shadow-light);
    transform: translateY(-2px);
    background: var(--bg-color);
}

/* Hero Visual Animation Area */
.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neu-circle-big {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.neu-circle-inner {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.floating-card {
    position: absolute;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    animation: float 5s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 0;
    animation-delay: 2.5s;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 968px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.menu-card {
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}


/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 65px;
    /* Adjust based on circle size */
    left: 50px;
    right: 50px;
    height: 4px;
    background: var(--bg-color);
    box-shadow: inset 2px 2px 4px var(--shadow-dark),
        inset -2px -2px 4px var(--shadow-light);
    z-index: 0;
    border-radius: 4px;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.step-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-color);
}

.process-step h4 {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-steps::before {
        width: 4px;
        height: calc(100% - 100px);
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Tech Grid */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-item {
    padding: 15px 30px;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 50px;
    /* pill shape */
    transition: all 0.3s ease;
}

.tech-item:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-text .highlight {
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-card {
    padding: 20px;
    text-align: center;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.about-visual {
    border-radius: var(--border-radius);
    padding: 20px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-info .highlight {
    color: var(--primary-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    font-weight: 500;
    color: var(--text-main);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form-wrapper {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    outline: none;
    font-family: var(--font-main);
    color: var(--text-main);
    /* neu-pressed style already applied via class, just need reset */
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light),
        0 0 5px rgba(59, 130, 246, 0.2);
}

@media (max-width: 968px) {

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-cards {
        text-align: left;
        /* Keep cards readable */
    }

    .contact-item {
        justify-content: center;
    }
}

.footer {
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
    /* offset for bottom spacing if needed */
    width: 90%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

/* Gateway Page Styles */
.gateway-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
}

.gateway-header {
    text-align: center;
    margin-bottom: 60px;
}

.gateway-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.gateway-header .subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
}

.gateway-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.gateway-card {
    width: 320px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    transition: all 0.4s ease;
    border-radius: 30px;
    text-decoration: none;
}

.gateway-card:hover {
    transform: translateY(-15px);
    color: var(--primary-color);
}

.gateway-icon-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.gateway-icon {
    font-size: 5rem;
    color: var(--primary-color);
}

.gateway-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.gateway-card:hover .gateway-title {
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .gateway-header h1 {
        font-size: 2.5rem;
    }

    .gateway-grid {
        flex-direction: column;
        align-items: center;
    }

    .gateway-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 40px 20px;
    }
}