/* Variables & Theme */
:root {
    --color-bg: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-text: #1e293b;
    --color-text-muted: #64748b;

    /* Brand Colors extracted from Logo */
    --color-primary: #FF5722;
    /* Orange from logo */
    --color-primary-dark: #E64A19;
    --color-accent: #1e293b;
    /* Dark/Black from logo */

    --color-gradient-start: #FF5722;
    --color-gradient-end: #FF8A65;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(255, 87, 34, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 87, 34, 0.4);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn--outline:hover {
    background: var(--color-text);
    color: white;
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover {
    color: var(--color-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav__link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.mobile-cta {
    display: none;
    /* Hidden by default on desktop */
}

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #fff5f2, #ffffff);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
}

.hero__image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    max-height: 500px;
    object-fit: contain;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features */
.features {
    background-color: white;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: #fff5f2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.feature-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card__text {
    color: var(--color-text-muted);
}

/* NeuralTrak */
.neuraltrak {
    background-color: var(--color-bg-secondary);
    position: relative;
}

.neuraltrak__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.2);
}

.neuraltrak__subtitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.neuraltrak__text {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.neuraltrak__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
}

.neuraltrak__list i {
    color: var(--color-primary);
    width: 24px;
    height: 24px;
}

.neuraltrak__img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Contact */
.contact {
    background-color: white;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--color-bg-secondary);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.contact__text {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--color-text);
    transition: var(--transition);
    font-weight: 500;
}

.contact__method:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-body);
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
    background-color: white;
}

.footer__container {
    text-align: center;
}

.footer__brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .header__cta {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero__container,
    .neuraltrak__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle,
    .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image-wrapper {
        order: -1;
    }

    .neuraltrak__image {
        order: -1;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* Mobile Menu Active State */
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        gap: 1.5rem;
        animation: slideDown 0.3s ease-out;
        z-index: 999;
    }

    .nav.active .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }

    .nav.active .nav__item {
        width: 100%;
        text-align: center;
    }

    .nav.active .nav__link {
        display: block;
        padding: 0.5rem;
    }

    /* Show CTA in mobile menu when active */
    .nav.active .mobile-cta {
        display: block;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}