* {
    margin: 0;
    padding: 0;
}
html, body { font-family: 'UniChat', sans-serif; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.header {
    position: fixed;
    top: 0;
    width: calc(100% - 4rem);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 999;
    transition: background 0.3s ease;
    backdrop-filter: blur(0px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: flex-end;
}

.logo-img {
    height: 43px;
    width: auto;
}

.logo-text {
    font-size: 3rem;
    line-height: 2.1rem;
    font-weight: 700;
    margin-left: 2px;
    font-family: 'UniChat', sans-serif;
    color: #000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-size: 1.3rem;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #0038ff;
}

.menu-icon {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

.menu-icon span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    left: 0;
    transition: all 0.4s ease;
    border-radius: 3px;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.menu-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    background: #fff;
}

.menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
    background: #fff;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 998;
}

.mobile-menu img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    z-index: 1;
}

.mobile-menu ul li {
    margin: 1.5rem 0;
}

.mobile-menu ul li a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: #0038ff;
}

.mobile-menu.open {
    transform: translateY(0%);
}


.hero-section {
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    background: url('../assets/ambassador-bg.jpg') no-repeat center center;
    background-size: cover;
}

.content-container {
    max-width: 800px;
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-family: 'UniChat', sans-serif;
    font-size: clamp(4rem, 6vw, 7rem);
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 20px;
    animation: slideInDown 1.2s ease-out 0.3s both;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #333;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 56, 255, 0.12), 0 1px 0 #fff;
    animation: slideInUp 1.2s ease-out 0.6s both;
}

.signup-button {
    position: absolute;
    bottom: 40px;
    background: var(--blue);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out 0.9s both;
    border: 1px solid var(--blue);
}

.signup-button:hover {
    background: transparent;
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

.phones-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.phone-group {
    position: absolute;
    width: 100%;
    height: 100%;
}

.phone-group.left {
    left: -10%;
    transform: rotate(-3deg);
    animation: slideInLeft 1.5s ease-out 0.3s both;
}

.phone-group.right {
    right: -10%;
    transform: rotate(3deg);
    animation: slideInRight 1.5s ease-out 0.3s both;
}

.phone {
    position: absolute;
    width: 180px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Phone positions */
.phone-1 {
    top: 15%;
    left: 5%;
    animation: float 3s ease-in-out infinite;
}

.phone-2 {
    top: 25%;
    left: 15%;
    animation: float 3s ease-in-out infinite 0.5s;
}

.phone-3 {
    top: 35%;
    left: 25%;
    animation: float 3s ease-in-out infinite 1s;
}

.phone-4 {
    top: 20%;
    right: 5%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.phone-5 {
    top: 30%;
    right: 15%;
    animation: float 3s ease-in-out infinite 2s;
}

.phone-6 {
    top: 40%;
    right: 25%;
    animation: float 3s ease-in-out infinite 2.5s;
}

.features {
    height: 100vh;
    width: calc(100% - 4rem);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.images-container {
    position: relative;
    width: 60%;
    min-width: 60%;
    height: 100%;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.images-container > img {
    width: 200px;
    border-radius: 50px;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
    position: absolute;
    left: calc(50% - 100px);
    top: calc(50% - 205px);
    transform: translate(0, 0);
}

.images-container[type="move"] > img[img="1"] {
    z-index: 0;
    animation: slide1 1s ease forwards;
}

.images-container[type="move"] > img[img="2"] {
    z-index: 0;
    animation: slide2 1s ease forwards;
}

.images-container[type="move"] > img[img="3"] {
    z-index: 1;
    animation: slide3 1s ease forwards;
}  

@keyframes slide1 {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, 25px); }
}

@keyframes slide2 {
    from { transform: translate(0, 0); }
    to { transform: translate(125px, 0px); }
}

@keyframes slide3 {
    from { transform: translate(0, 0); }
    to { transform: translate(0px, 180px); }
}

.cta-text {
    display: flex; flex-direction: column; max-width: 40%;
}

/* ───────────── Info Section ───────────── */
.info-section{
    padding:120px 20px 100px;
    background:#fff;
}
.info-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr)); /* always 2‑up */
    gap:65px 40px;
    max-width:1200px;
    margin:0 auto;
}
.info-card{
    opacity:0;                      /* start hidden for scroll‑in */
    transform:translateY(40px);
    transition:all .6s ease-out;
}
.info-card.visible{
    opacity:1;
    transform:none;
}
.info-icon{
    width:64px;height:64px;
    display:inline-block;
    margin-bottom:20px;
    background-size:contain;
    background-repeat:no-repeat;
}
.info-icon.mission  {background-image:url('../assets/icon-mission.png');}
.info-icon.looking  {
    background-image:url('../assets/icon-search.png');
    border-radius:50%;
}
.info-icon.paid     {
    background-image:url('../assets/icon-pound.png');
    border-radius:50%;
}
.info-icon.promote  {background-image:url('../assets/icon-megaphone.png');}

.info-title{
    font-size:clamp(1.6rem,2.8vw,2.2rem);
    font-weight:700;color:var(--blue);
    margin-bottom:10px;
}
.info-text{
    font-size:clamp(1rem,2.2vw,1.25rem);
    font-weight:500;line-height:1.45;
}

/* stack to one column on small screens */
@media(max-width:600px){
    .info-grid{ grid-template-columns:1fr; }
}
  
  

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        padding: 4rem 0.5rem;
        width: calc(100% - 1rem);
    }
    
    .cta-text {
        display: flex; flex-direction: column; max-width: 100%;
    }

    .images-container {
        width: 100%;
        max-width: 100%;
        height: 280px;
    }

    .images-container > img {
        height: 230px;
        width: 180px;
        border-radius: 50px;
        box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
        position: absolute;
        left: calc(50% - 90px);
        top: unset;
        bottom: -30px;
        transform: translate(0, 0);
    }

    @keyframes slide1 {
        from { transform: translate(0, 0); }
        to { transform: translate(-190px, 0px); }
    }
    
    @keyframes slide2 {
        from { transform: translate(0, 0); }
        to { transform: translate(190px, 0px); }
    }
    
    @keyframes slide3 {
        from { transform: translate(0, 0); }
        to { transform: translate(0px, 0px); }
    }  

    .phone {
        width: 140px;
        height: 270px;
        position: absolute !important;
    }

    .phone-group.left {
        position: absolute;
        left: 0;
        transform: rotate(0deg);
        width: 100%;
    }

    .phone-group.right {
        position: absolute;
        right: 0;
        transform: rotate(0deg);
        width: 100%;
    }

    .phone-1 {
        top: 115px;
        left: 50px;
    }

    .phone-2 {
        top: 32px;
        left: calc(50% - 70px);
    }

    .phone-3 {
        top: 85px;
        left: unset;
        right: 60px;
        transform: translateX(-50%);
    }

    .phone-4 {
        top: unset;
        bottom: 80px;
        left: 112px;
    }

    .phone-5 {
        top: unset;
        bottom: 30px;
        right: calc(50% - 104px);
    }

    .phone-6 {
        top: unset;
        bottom: 60px;
        right: 53px;
        transform: translateX(-50%);
    }

    .phones-container {
        position: absolute;
        height: 100%;
        width: 100%;
        z-index: 0;
        opacity: 0.5;
    }

    .nav-links {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .phone-4 {
        left: 42px;
    }
    .phone-5 {
        right: calc(50% - 34px);
    }
    .phone-6 {
        right: 38px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }
}