* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow-400: #fbbf24;
    --yellow-500: #f59e0b;
    --yellow-600: #d97706;
    --black: #000000;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--black);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-icon {
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow-400);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--yellow-400);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--yellow-400);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--black), var(--gray-900), var(--black));
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.orb-1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15), transparent);
}

.orb-2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent);
    animation-delay: 2s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 8rem 2rem 4rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500), var(--yellow-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 200%;
}

.hero-subtitle {
    display: block;
    color: white;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-600));
    color: var(--black);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--yellow-400);
    border: 2px solid var(--yellow-400);
}

.btn-secondary:hover {
    background: var(--yellow-400);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--yellow-400);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--yellow-400);
    border-radius: 3px;
    animation: scroll 1.5s ease-in-out infinite;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.05), rgba(245, 158, 11, 0.05));
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-600));
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--black);
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yellow-400);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-400);
    font-size: 1rem;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: var(--black);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 700px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    position: relative;
    background: linear-gradient(135deg, var(--gray-900), var(--black));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05), transparent);
    border-radius: 0 0 0 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.product-icon {
    color: var(--yellow-400);
    margin-bottom: 1.5rem;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--yellow-400);
}

.product-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
}

.product-features li {
    color: var(--gray-500);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li::before {
    content: '→';
    color: var(--yellow-400);
    font-weight: bold;
}

/* Customers Section */
.customers {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--black), var(--gray-900));
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.customer-card {
    background: linear-gradient(135deg, var(--gray-900), var(--black));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.customer-card:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
    transform: translateY(-5px);
}

.customer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 0.75rem;
    color: var(--yellow-400);
    margin-bottom: 1rem;
    stroke-width: 2;
    transition: background 0.3s ease;
}

.customer-card:hover .customer-icon {
    background: rgba(251, 191, 36, 0.2);
}

.customer-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    transition: color 0.3s ease;
}

.customer-card:hover .customer-name {
    color: var(--yellow-400);
}

.customer-location {
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info {
    animation: fadeInLeft 1s ease;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 0.75rem;
    color: var(--yellow-400);
    flex-shrink: 0;
    stroke-width: 2;
    transition: background 0.3s ease;
}

.info-card:hover .info-icon {
    background: rgba(251, 191, 36, 0.2);
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--gray-400);
    line-height: 1.6;
}

.info-content a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--yellow-400);
}

.contact-form-container {
    background: linear-gradient(135deg, var(--gray-900), var(--black));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    animation: fadeInRight 1s ease;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--black);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow-400);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-input::placeholder {
    color: var(--gray-500);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--gray-900), var(--black));
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--gray-500);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 1px solid rgba(251, 191, 36, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid,
    .customers-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }
}


/* Frontier Team Section */
.frontier-team {
    padding: 80px 0;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
    position: relative;
    overflow: hidden;
}

.frontier-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

.aptal-full-form {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 500;
}

.aptal-abbreviation {
    color: #fbbf24;
    font-weight: 700;
}

/* Team Carousel */
.team-carousel-wrapper {
    position: relative;
    margin-top: 40px;
}

.team-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-member-card {
    min-width: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    padding: 40px 35px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: grab;
}

.team-member-card:active {
    cursor: grabbing;
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.3);
}

.card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image:
        linear-gradient(90deg, rgba(251, 191, 36, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(251, 191, 36, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.member-header {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #fbbf24;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.3), 0 5px 20px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 8px;
    line-height: 1.2;
}

.member-title {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 8px;
    line-height: 1.4;
}

.member-id {
    display: inline-block;
    font-size: 0.75rem;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.member-quote {
    position: relative;
    padding: 20px 25px;
    background: rgba(251, 191, 36, 0.05);
    border-left: 3px solid #fbbf24;
    border-radius: 8px;
    margin-top: 20px;
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    color: rgba(251, 191, 36, 0.15);
    line-height: 1;
}

.member-quote p {
    font-size: 1rem;
    color: #ddd;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-arrow {
    width: 45px;
    height: 45px;
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    transform: scale(1.1);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #fbbf24;
    fill: none;
    stroke-width: 2.5;
}

/* Scroll Indicators */
.scroll-indicator-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: #fbbf24;
    width: 24px;
    border-radius: 4px;
}

/* Responsive for Frontier Team */
@media (max-width: 768px) {
    .team-member-card {
        min-width: 320px;
    }

    .member-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
    }
}