/* ============================================
    FONTS
    ============================================ */
@font-face {
    font-family: "Century Gothic Pro";
    src: url("assets/font/CenturyGothic-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic Pro";
    src: url("assets/font/CenturyGothic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
    RESET & GLOBAL STYLES
    ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Century Gothic Pro", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: var(--surprise-purple);
}

:root {
    --surprise-purple: #270047;
    --bubble-gum: #935AD8;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to bottom, rgba(39, 0, 71, 0) 0%, var(--surprise-purple) 100%);
    z-index: 0;
    pointer-events: none;
}

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

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__logo {
    max-width: 1200px;
    width: 90%;
    height: auto;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   SCROLL HINT
   ============================================ */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
}

.scroll-hint__dot {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: slideUpHint 5s ease-in-out infinite;
}

@keyframes slideUpHint {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.3);
    }
    8% {
        opacity: 1;
        transform: translateY(10px) scale(1);
    }
    32% {
        opacity: 1;
        transform: translateY(-150px) scale(1);
    }
    40% {
        opacity: 0;
        transform: translateY(-180px) scale(0.3);
    }
    100% {
        opacity: 0;
        transform: translateY(-180px) scale(0.3);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .scroll-hint {
        bottom: 30px;
    }
    
    .scroll-hint__dot {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   CLIENT LOGOS SECTION
   ============================================ */
.logos-section {
    width: 100%;
    background: #fff;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.logos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    height: 120px;
}

.logos-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.logos-group.active {
    opacity: 1;
}

.logo-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .logos-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .logos-section {
        padding: 60px 0;
    }
    
    .logos-container {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .logos-section {
        padding: 40px 0;
    }
    
    .logos-container {
        padding: 0 20px;
        height: 80px;
    }
}

/* ============================================
   COPYRIGHT FOOTER
   ============================================ */
.copyright {
    width: 100%;
    background: #fff;
    padding: 30px 20px;
    text-align: center;
}

.copyright p {
    font-size: 12px;
    color: #666;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ============================================
   TICKER SECTION
   ============================================ */
.ticker-area {
    position: relative;
    background: #fff;
    /* padding: 8rem 0 6rem; */
    overflow: visible;
}

.ticker-section {
    position: relative;
    width: 100%;
    /* background: #f0f0f0; */
}

.ticker-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    /* background: rgba(0, 0, 0, 0.05);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

.ticker {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.ticker--reversed {
    animation: scroll 30s linear infinite;
    animation-delay: -1s;
}

.ticker--reversed .ticker-item {
    font-size: 86.67px;
}

.ticker-group {
    display: flex;
}

.ticker-item {
    flex-shrink: 0;
    font-size: 130px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0 40px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    color: var(--surprise-purple);
    text-align: center;
    font-family: "Century Gothic Pro", Arial, sans-serif;
    font-style: normal;
    line-height: normal;
}

.ticker-section--outline .ticker-item {
    color: transparent;
    -webkit-text-stroke: 1px var(--surprise-purple);
    text-stroke: 1px var(--surprise-purple);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   SURPRISE COPY SECTION
   ============================================ */
.surprise-section {
    width: 100%;
    min-height: 50vh;
    background: var(--surprise-purple);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: visible;
    padding-bottom: 260px;
}

.surprise-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
}

.surprise-section__content {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.surprise-section__title {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.25;
}

/* Letter Rotation Reveal Effect */
.surprise-section__title.letter-reveal .line {
    display: block;
    overflow: hidden;
}

.surprise-section__title.letter-reveal .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotate(8deg);
}

.surprise-section__title.letter-reveal.animate .letter {
    animation: letterReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.surprise-section__text {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    max-width: 760px;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.surprise-section__text.fade-in {
    opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    width: 100%;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: absolute;
    bottom: 60px;
    left: 0;
    z-index: 20;
}

.contact__container {
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: bold;
    color: #fff;
}

/* Contact Title Letter Reveal Effect */
.contact__title.letter-reveal .line {
    display: block;
    overflow: hidden;
}

.contact__title.letter-reveal .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotate(8deg);
}

.contact__title.letter-reveal.animate .letter {
    animation: letterReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact__button {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background: var(--bubble-gum);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(147, 90, 216, 0.35),
        0 0 0 0 rgba(147, 90, 216, 0);
    cursor: pointer;
    align-self: center;
    opacity: 0;
    transform: scale(0.8);
    position: relative;
    overflow: hidden;
}

.contact__button.fade-in {
    opacity: 1;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.contact__button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.contact__button:hover::before {
    left: 100%;
}

.contact__button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(147, 90, 216, 0.6),
        0 0 40px rgba(147, 90, 216, 0.4),
        0 0 60px rgba(147, 90, 216, 0.2);
    filter: brightness(1.1);
}

.contact__button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 4px 20px rgba(147, 90, 216, 0.5),
        0 0 20px rgba(147, 90, 216, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Extra Large Monitors (3840px+ / 4K) */
@media (min-width: 3840px) {
    .hero__logo {
        max-width: 2400px;
    }

    .surprise-section {
        padding: 0 4rem;
        padding-bottom: 400px;
    }

    .surprise-section__title {
        font-size: 9rem;
        max-width: 2800px;
        line-height: 1.2;
    }

    .surprise-section__text {
        font-size: 2.8rem;
        max-width: 2200px;
        line-height: 1.8;
    }

    .contact__title {
        font-size: 4.5rem;
    }

    .contact__button {
        padding: 1.4rem 2.8rem;
        font-size: 1.6rem;
        border-radius: 80px;
    }

    .ticker-item {
        font-size: 260px;
        padding: 0 80px;
    }

    .ticker--reversed .ticker-item {
        font-size: 173px;
    }
}

/* Extra Large Monitors (2560px+ / 2K) */
@media (min-width: 2560px) and (max-width: 3839px) {
    .hero__logo {
        max-width: 1800px;
    }

    .surprise-section {
        padding: 0 3rem;
        padding-bottom: 300px;
    }

    .surprise-section__title {
        font-size: 7rem;
        max-width: 2200px;
        line-height: 1.2;
    }

    .surprise-section__text {
        font-size: 2.2rem;
        max-width: 1700px;
        line-height: 1.8;
    }

    .contact__title {
        font-size: 3.7rem;
    }

    .contact__button {
        padding: 1.3rem 2.6rem;
        font-size: 1.5rem;
        border-radius: 70px;
    }

    .ticker-item {
        font-size: 200px;
        padding: 0 60px;
    }

    .ticker--reversed .ticker-item {
        font-size: 133px;
    }
}

/* Large Monitors (1920px - 2559px / Full HD+) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .hero__logo {
        max-width: 1500px;
    }

    .surprise-section {
        padding: 0 2.5rem;
        padding-bottom: 250px;
    }

    .surprise-section__title {
        font-size: 6rem;
        max-width: 1800px;
        line-height: 1.2;
    }

    .surprise-section__text {
        font-size: 1.8rem;
        max-width: 1400px;
        line-height: 1.75;
    }

    .contact__title {
        font-size: 3.3rem;
    }

    .contact__button {
        padding: 1.2rem 2.4rem;
        font-size: 1.4rem;
        border-radius: 60px;
    }

    .ticker-item {
        font-size: 170px;
        padding: 0 50px;
    }

    .ticker--reversed .ticker-item {
        font-size: 113px;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .animated-text__container {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .text-row {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }

    .hero__logo {
        max-width: 600px;
    }

    .animated-text {
        min-height: 50vh;
    }

    .animated-text__container {
        gap: 1rem;
        padding: 1rem;
    }

    .text-row {
        font-size: clamp(1rem, 5vw, 2rem);
    }

    .contact {
        padding: 2rem 1rem;
    }

    .contact__title {
        font-size: 1.8rem;
    }

    .contact__button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .ticker-item {
        font-size: 44px;
        padding: 0 20px;
    }
}

/* Small phones (< 480px) */
@media (max-width: 480px) {
    .hero__logo {
        max-width: 400px;
    }

    .text-row {
        font-size: clamp(0.8rem, 4vw, 1.5rem);
    }

    .contact {
        padding: 1.5rem 1rem;
    }
}
