/* assets/css/style.css */
:root {
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    --bg-gray: #ffffff70;
    --text-primary: #d1d5db;
    --text-secondary: #9ca3af;
    --text-dark-primary: #1f2937;
    --text-dark-secondary: #4b5563;
    --accent-color: #f97316;
    --accent-hover: #ea580c;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Montserrat', sans-serif;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border-color);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}
.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 500ms ease-in-out;
}
.logo:hover .logo-img {
    transform: rotate(350deg);
}
.desktop-nav {
    display: none;
    align-items: center;
    gap: 3rem;
    position: relative;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.nav-item { position: relative; }
.nav-button, .nav-link {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 200ms ease-in-out;
    position: relative;
    padding-bottom: 4px;
}
.nav-button:hover, .nav-link:hover { color: var(--accent-color); }
.nav-button::after, .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 200ms ease-in-out;
}
.nav-button:hover::after, .nav-link:hover::after { width: 100%; }
.nav-button svg { width: 1rem; height: 1rem; margin-left: 4px; transition: transform 200ms ease; }
.nav-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega-menu-container {
    position: absolute;
    top: calc(100% + 42px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1152px;
    pointer-events: none;
}
.mega-menu {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms;
    transform: translateY(-1.25rem);
    position: absolute;
    width: 100%;
}
.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
.mega-menu-grid:not(:last-child) { margin-bottom: 2.5rem; }
.mega-menu h3 { color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 2rem; }
.mega-menu ul { list-style: none; }
.mega-menu ul li { margin-bottom: 1rem; }
.mega-menu ul a { color: var(--text-primary); text-decoration: none; font-size: 0.875rem; transition: color 200ms ease; }
.mega-menu ul a:hover { color: var(--accent-color); }
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: block; } }
.btn {
    display: inline-block;
    font-weight: 600;
    padding: 0.rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 300ms ease;
    transform-origin: center;
    cursor: pointer;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.2), 0 4px 6px -4px rgba(249, 115, 22, 0.2);
}
.btn-outline {
    border: 1px solid #4b5563;
    background-color: rgba(0,0,0,0.2);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background-color: #374151;
    color: #fff;
}
.mobile-menu-button {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
@media (min-width: 1024px) { .mobile-menu-button { display: none; } }
.mobile-menu-button svg { width: 1.5rem; height: 1.5rem; color: var(--text-primary); }
.hidden { display: none; }
.mobile-nav {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
}
.mobile-nav.active { display: block; }
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 200ms ease, color 200ms ease;
}
.mobile-nav-link:hover {
    background-color: var(--bg-secondary);
    color: var(--accent-color);
}
.mobile-cta-container { padding-top: 0.5rem; }
.btn-full { width: 100%; text-align: center; }
.main-content { padding-top: 100px; }

/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #1a112a, #111111, #111111);
    opacity: 0.95;
}
.hero-content-container {
    position: relative;
    z-index: 10;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hero-icon-wrapper {
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-color);
}
.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.text-accent { color: var(--accent-color); }
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* Scrolling References */
.scrolling-references {
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}
@media (min-width: 768px) { .scrolling-references { padding-bottom: 4rem; } }
.scroller {
    margin: auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
.scroller__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
}
.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    animation: scroll 60s linear infinite;
}
.scroller:hover .scroller__inner {
    animation-play-state: paused;
}
.scroller img {
    height: 60px;
    width: 150px;
    object-fit: contain;
    background-color: #fafafa;
    border-radius: 0.5rem;
}
@media (min-width: 768px) {
    .scroller img {
        height: 80px;
        width: 200px;
    }
}
@keyframes scroll {
  to {
    transform: translate(-50%);
  }
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}
@media (min-width: 768px) { .content-section { padding: 6rem 0; } }
.section-gray {
    background-color: var(--bg-gray);
}
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .content-grid {
        flex-direction: row;
    }
    .content-grid.reverse {
        flex-direction: row-reverse;
    }
    .content-grid > .content-text-col,
    .content-grid > .content-image-col {
        flex: 1;
        min-width: 0;
    }
}
.content-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}
.content-image {
    width: 100%;
    height: auto;
    max-width: 28rem;
    object-fit: contain;
}
.small-image { max-width: 24rem; }
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.section-gray .section-title {
    color: var(--text-dark-primary);
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-paragraph {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.section-gray .section-paragraph {
    color: var(--text-dark-secondary);
}
.checklist {
    list-style: none;
    margin: 1rem 0;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.section-gray .checklist li {
    color: var(--text-dark-secondary);
}
.checklist svg {
    color: var(--accent-color);
    flex-shrink: 0;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
}
.link-arrow:hover { color: var(--accent-hover); }
.link-arrow svg { margin-left: 0.5rem; }

/* Footer Styles */
.main-footer {
    position: relative;
    background: linear-gradient(to bottom right, #0a0a0a, #111111, #1a1a1a);
    border-top: 1px solid var(--border-color);
}
.footer-content { position: relative; z-index: 10; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-col-1 { grid-column: span 1 / span 1; }
@media (min-width: 1024px) { .footer-col-1 { grid-column: span 4 / span 4; } }
.footer-col-2 {
    grid-column: span 1 / span 1;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .footer-col-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-col-2 { grid-column: span 8 / span 8; grid-template-columns: repeat(4, 1fr); } }
.logo-container { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-logo-img { width: 48px; height: 48px; object-fit: contain; }
.footer-logo-text { font-size: 1.5rem; font-weight: 700; color: #fff; }
.company-info p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.newsletter-box {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}
.newsletter-box h3 { color: #fff; font-weight: 600; font-size: 1.125rem; margin-bottom: 0.75rem; }
.newsletter-box p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    color: #fff;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.newsletter-form input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-color); }
.newsletter-form button {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    cursor: pointer;
    transition: background-color 300ms ease, transform 300ms ease;
}
.newsletter-form button:hover { background-color: var(--accent-hover); transform: scale(1.05); }
.newsletter-form button svg { width: 1rem; height: 1rem; }
.newsletter-success { display: flex; align-items: center; color: #4ade80; font-weight: 500; margin-top: 1rem; }
.newsletter-success svg { width: 1.25rem; height: 1.25rem; margin-right: 0.5rem; }
.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--accent-color);
}
.footer-col-2 ul { list-style: none; }
.footer-col-2 ul li { margin-bottom: 0.75rem; }
.footer-col-2 ul a, .footer-col-2 ul span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 200ms ease;
}
.footer-col-2 ul a:hover { color: var(--accent-color); }
.footer-bottom-bar {
    border-top: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}
.footer-bottom-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
}
@media (min-width: 768px) { .footer-bottom-container { flex-direction: row; } }
.copyright-text { color: var(--text-secondary); font-size: 0.875rem; }
.social-links { display: flex; align-items: center; gap: 1rem; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 300ms ease;
}
.social-links a:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
    border-color: var(--accent-color);
}
