:root {
    --primary-color: #ff0055;
    --secondary-color: #00e5ff;
    --bg-color: #0b0b0f;
    --card-bg: #1a1a24;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --font-heading: 'Dela Gothic One', cursive;
    --font-body: 'Kanit', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background: linear-gradient(45deg, var(--primary-color), #ff5e00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 85, 0.6);
}

.btn--secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn--secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
}

.btn--white {
    background: white;
    color: var(--bg-color);
}

.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 25px 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(11, 11, 15, 0.7);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.animated-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo__icon {
    width: 28px;
    height: 28px;
    color: #ffd700; /* Gold color for lightning */
    animation: lightning-pulse 2s infinite ease-in-out;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@keyframes lightning-pulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
    }
    50% { 
        transform: scale(1.1); 
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    }
    90% {
        transform: scale(1); 
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
    }
    92% {
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
        color: #fff;
    }
    94% {
        transform: scale(1);
        color: #ffd700;
    }
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav__link:hover {
    color: var(--secondary-color);
}

.nav__link--highlight {
    color: var(--primary-color);
}

/* Dropdown */
.nav__item--dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a1a24;
    min-width: 180px;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav__item--dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__item--dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(255, 0, 85, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials__link svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.socials__link:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001; /* Ensure above nav overlay */
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 15, 0.75);
    z-index: 1;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero__text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.hero__socials {
    display: flex;
    gap: 12px;
}

.hero-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.hero-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hero-social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.3);
}

.hero__visual {
    position: relative;
    height: 400px;
}

.hero__img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.hero__img--1 {
    width: 250px;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero__img--2 {
    width: 200px;
    z-index: 2;
    top: 20%;
    left: 10%;
    transform: rotate(-10deg);
    opacity: 0.7;
}

.hero__img--3 {
    width: 200px;
    z-index: 1;
    top: 30%;
    right: 10%;
    transform: rotate(10deg);
    opacity: 0.7;
}

.hero__visual:hover .hero__img--2 {
    transform: rotate(-15deg) translate(-20px, 0);
    opacity: 1;
}

.hero__visual:hover .hero__img--3 {
    transform: rotate(15deg) translate(20px, 0);
    opacity: 1;
}

/* Description */
.description {
    padding: 100px 0;
    background: var(--card-bg);
}

.description__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.description__item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.description__item h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Philosophy */
.philosophy {
    padding: 100px 0;
}

.philosophy__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy__visual img,
.philosophy__video {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.philosophy__list li {
    margin-bottom: 30px;
}

.philosophy__list h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Numbers */
.numbers {
    padding: 80px 0;
    background: linear-gradient(to right, #111, #16161f);
}

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.number-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    transition: var(--transition);
}

.number-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
}

.number-card__val {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Advantages */
.advantages {
    padding: 100px 0;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border-top: 3px solid var(--primary-color);
}

.advantage-card__title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.advantages__action {
    text-align: center;
    margin-top: 50px;
}

/* Roadmap */
.roadmap {
    padding: 100px 0;
    background: #0f0f14;
}

.roadmap__timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.roadmap__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0.3;
}

.roadmap__item {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.roadmap__item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.roadmap__item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.roadmap__marker {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
}

.roadmap__item:nth-child(odd) .roadmap__marker {
    right: -20px;
}

.roadmap__item:nth-child(even) .roadmap__marker {
    left: -20px;
}

/* Gallery */
.gallery {
    padding: 100px 0;
    overflow: hidden;
}

.gallery__grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}

.gallery__grid::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.gallery__grid img {
    height: 300px;
    border-radius: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}

.gallery__grid img:hover {
    transform: scale(1.05);
}

/* Action Section */
.action-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/section-philosophy.jpeg') no-repeat center center/cover;
    text-align: center;
}

.action-section__content {
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.cards {
    padding: 100px 0;
}

.cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.card-item__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.card-item__icon img {
    width: 30px;
    filter: brightness(0) invert(1);
}

/* Quote */
.quote {
    padding: 80px 0;
    background: #15151b;
}

.quote__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.quote__content {
    flex: 1;
}

.quote__image {
    flex: 1;
}

.quote__image img {
    border-radius: 20px;
}

.quote__text {
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px 0;
    opacity: 0.9;
}

/* Perks */
.perks {
    padding: 100px 0;
}

.perks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.perks__title-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
}

.perks__title-card h2 {
    color: var(--bg-color);
    margin: 0;
}

.perks__item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
}

.perks__item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #08080c;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__col--info {
    max-width: 320px;
}

.footer__logo {
    margin-bottom: 25px;
    justify-content: flex-start; /* Ensure left alignment in footer info col */
}

.footer__logo .logo__icon {
    width: 34px;
    height: 34px;
}

.footer__description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
    font-family: var(--font-heading);
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer__links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer__copyright {
    opacity: 0.4;
    font-size: 0.85rem;
}

/* Nav Mobile Footer */
.nav__footer {
    display: none;
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: center;
}

.nav__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav__social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.nav__social-link svg {
    width: 20px;
    height: 20px;
}

.nav__copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer__col--info {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__socials {
        justify-content: center;
    }

    .hero__actions {
        justify-content: center;
        text-align: center;
    }

    .hero__title {
        text-align: center;
    }

    .hero__text {
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__container, .philosophy__container, .quote__container {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        order: -1;
        height: 350px;
        margin-bottom: 30px;
    }
    
    .roadmap__timeline::before {
        left: 20px;
    }
    
    .roadmap__item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
        left: 0 !important;
    }
    
    .roadmap__marker {
        left: 0 !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__text {
        font-size: 1rem;
    }

    .hero__visual {
        height: 250px;
        margin-bottom: 20px;
    }

    .hero__img--1 {
        width: 180px;
    }

    .hero__img--2, .hero__img--3 {
        width: 140px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(11, 11, 15, 0.85);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        padding: 40px 20px;
        flex-direction: column;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 40px;
    }

    .nav__link {
        font-size: 1.2rem;
    }
    
    .nav__item--dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        left: auto !important;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        width: 100%;
        display: none; /* Hidden by default on mobile, toggle with active class */
        box-shadow: none;
        border: none;
    }

    .nav__item--dropdown.active .dropdown-menu {
        display: block;
    }

    .nav__item--dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
    }

    .dropdown-menu li a:hover {
        padding-left: 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav__footer {
        display: flex;
        flex-direction: column;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer__col--info {
        grid-column: span 1;
    }

    /* Reduce padding for sections */
    .description, .philosophy, .advantages, .roadmap, .gallery, .action-section, .cards, .quote, .perks {
        padding: 60px 0;
    }

    .numbers {
        padding: 50px 0;
    }

    .description__grid, .numbers__grid, .advantages__grid, .cards__grid, .perks__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quote__container {
        gap: 30px;
    }

    .quote__image {
        display: none; /* Hide image on small screens to save space */
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .number-card__val {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 15px;
    }
}
