/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;
  
    /*========== Colors ==========*/
    --first-color: #D4AFB9;
    --first-color-rgb: 212, 175, 185;
    --first-color-alt: #C39A9D;
    --first-color-light: #E1C4CB;
    --first-color-lighten: hsl(355, 100%, 97%);
    --title-color: #F7F7F7;
    --text-color: #D3D3D3;
    --text-color-light: hsl(228, 4%, 55%);
    --border-color: rgba(255, 255, 255, 0.08);
    --container-color: #141414;
    --body-color: #000000;

    /*========== Aurora ==========*/
    --aurora-blue: #1a6bff;
    --aurora-blue-rgb: 26, 107, 255;
  
    /*========== Font and typography ==========*/
    --body-font: "Poppins", sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 0.9rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
  
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }
  
  /*========== Font Imports ==========*/
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap");

/*========== Responsive typography ==========*/
  @media screen and (min-width: 1150px) {
    :root {
      --biggest-font-size: 4rem;
      --h1-font-size: 2.25rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 0.9rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
  }

html{
    scroll-behavior: smooth;
}

body{
    margin: 0; /* Ensure no default margin */
    padding: 0;
    background-color: var(--body-color);
}

.global-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(var(--aurora-blue-rgb), 0.18) 0%, rgba(var(--aurora-blue-rgb), 0.06) 40%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 50% 0%, rgba(var(--aurora-blue-rgb), 0.25) 0%, transparent 60%);
    z-index: -1; /* Between bg-animation (-2) and glass panels (0) */
    pointer-events: none;
}



.main{
    /* overflow:hidden breaks position:sticky — use clip instead.
       clip is Safari 16+, so add a fallback that keeps sticky working
       by clipping on <html> rather than on a mid-tree ancestor. */
    overflow: clip;
}
@supports not (overflow: clip) {
    .main { overflow: visible; }
    html { overflow-x: hidden; }
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER extracted to css/header.css */

/* Hero section styles */
.hero-section{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Video container in hero section */
.hero-vid{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-main-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 0 50px;
    height: 100%;
}

.hero-text-content {
    color: var(--title-color);
    max-width: 500px;
}

.hero-app-name {
    font-family: 'Playfair Display', serif;
    font-size: 5rem; /* 80px */
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    color: var(--title-color);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.hero-description {
    font-size: 1.125rem; /* 18px */
    color: var(--text-color);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.hero-advert-text-wrapper {
    height: 40px; /* Adjust to fit one line of text */
    overflow: hidden;
}

.hero-advert-text-slider {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
}

.hero-advert-text {
    font-size: 1.5rem; /* 24px */
    font-weight: 500;
    height: 40px; /* Match wrapper height */
    margin: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, var(--first-color-light), var(--first-color));
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 3s linear infinite;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

/* Make the image slideshow a flex item */
/* ── Phone Frame ─────────────────────────────────────────────────── */
.phone-frame {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 620px;
    border-radius: 44px;
    background: linear-gradient(145deg, #1a1a1e 0%, #0d0d0f 100%);
    border: 2.5px solid rgba(255,255,255,0.12);
    box-shadow:
        0 25px 80px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 60px rgba(155,109,255,0.08);
    padding: 10px;
    z-index: 1;
    animation: phoneFloat 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
               phoneHover 4s ease-in-out 1.5s infinite;
    transform: rotate(-4deg) perspective(800px) rotateY(8deg);
}

@keyframes phoneFloat {
    0% {
        opacity: 0;
        transform: translateY(120px) rotate(12deg) scale(0.85) perspective(800px) rotateY(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-4deg) scale(1) perspective(800px) rotateY(8deg);
    }
}

@keyframes phoneHover {
    0%, 100% {
        transform: translateY(0) rotate(-4deg) perspective(800px) rotateY(8deg);
    }
    50% {
        transform: translateY(-15px) rotate(-2deg) perspective(800px) rotateY(5deg);
    }
}

/* Dynamic Island notch */
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.04);
}

/* Home indicator */
.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    z-index: 10;
}

/* Slideshow inside the phone */
.image-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    z-index: 1;
}

@media screen and (max-width: 992px) {
    .hero-app-name {
        font-size: 4rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-advert-text {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .hero-vid {
        position: relative;
        min-height: 100vh;
    }

    .hero-main-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
        padding: calc(var(--header-height) + 2rem) 1.2rem 3rem;
        min-height: 100vh;
    }

    .hero-text-content {
        order: 2;
        max-width: 100%;
    }

    .hero-app-name {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons-container .download-store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons-container .store-btn {
        width: 100%;
        max-width: 240px;
        justify-content: center;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .hero-buttons-container .beta-section-pill {
        align-self: center !important;
    }

    .phone-frame {
        order: 1;
        width: 180px;
        height: 380px;
        border-radius: 32px;
        padding: 7px;
        animation: phoneFloatMobile 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
                   phoneHoverMobile 4s ease-in-out 1.5s infinite;
        transform: rotate(-3deg) perspective(600px) rotateY(6deg);
    }

    @keyframes phoneFloatMobile {
        0% {
            opacity: 0;
            transform: translateY(100px) rotate(10deg) scale(0.85) perspective(600px) rotateY(-12deg);
        }
        100% {
            opacity: 1;
            transform: translateY(0) rotate(-3deg) scale(1) perspective(600px) rotateY(6deg);
        }
    }

    @keyframes phoneHoverMobile {
        0%, 100% {
            transform: translateY(0) rotate(-3deg) perspective(600px) rotateY(6deg);
        }
        50% {
            transform: translateY(-10px) rotate(-1deg) perspective(600px) rotateY(3deg);
        }
    }

    .phone-notch {
        width: 70px;
        height: 20px;
        top: 8px;
    }
    .image-slideshow {
        border-radius: 26px;
    }

    .beta-section-pill {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}

.image-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    opacity: 0;
    transform: scale(1.05); /* Start slightly zoomed in */
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-slideshow img.active {
    opacity: 1;
    transform: scale(1); /* Zoom out to normal size */
    z-index: 1; /* Make sure the active image is on top */
}

/* Styling for the hero video element */
.hero-video{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly darken video for better text contrast */
    flex-shrink: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 50% 35% at 50% 0%, rgba(var(--aurora-blue-rgb), 0.22) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, transparent 30%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.card .overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
}
/* Hero section information content */
.hero-info{
    z-index: 1;
    position: absolute;
    top: 180px;
    right: 50px;
    padding-top: 50px; /* Add padding to avoid overlap with the logo */
    text-align: right;
}

/* Hero info heading */
.hero-info h1{
    font-size: 120px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: normal;
    margin-top: 30px;
    margin-bottom: 20px;
    color: white;
}
/* Hero info paragraph */
.hero-info p{
    color: white;
    max-width: 210px;
}



.btn {
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-button {
    background-color: rgba(var(--first-color-rgb), 0.2);
    border: 1px solid rgba(var(--first-color-rgb), 0.3);
    color: var(--title-color);
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 18px 40px;
    border-radius: 50px;
}

.hero-button:hover {
    background-color: rgba(var(--first-color-rgb), 0.4);
    border-color: rgba(var(--first-color-rgb), 0.5);
    color: var(--title-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px); /* Keep the hover effect from the base .btn class */
}



@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}


/* Chat Search Container */
/* Chat styles moved to css/chat.css */

.language-switcher {
    display: none; /* Hide old switcher */
}

/* Nav Dropdown */
/* Nav Dropdown */
.nav__item.dropdown {
    position: relative;
    cursor: pointer;
    perspective: 1000px; /* For 3D transitions */
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem); /* Slight gap */
    right: 0;
    
    /* Styles for "Cooler" Look */
    background: rgba(30, 30, 35, 0.85); /* Darker, sleek base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    /* Animation Properties */
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy spring effect */
    
    list-style: none;
    display: flex; /* Always flex, visibility handles hide/show */
    flex-direction: column;
    min-width: 150px;
    z-index: 1002;
}

/* Show State */
.nav__item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu::before {
    /* Little triangle pointer */
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: var(--title-color);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--first-color);
    transform: translateX(5px);
}

/* Active language indication could go here if managed by JS */





.intro-text-wrapper {
    position: absolute;
    bottom: 150px;
    right: 20px;
    overflow: hidden;
    height: 100px; /* Adjust to fit the text size */
    z-index: 2;
}

.intro-text-slider {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
}

.intro-text {
    font-size: 60px;
    font-family: 'Playfair Display', serif;
    margin: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    background: linear-gradient(to right, #e0e0e0, #d6d6d6, #bfbfbf, #a8a8a8, #d6d6d6, #e0e0e0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center; /* Center buttons horizontally */
    margin-top: 2rem; /* Add space above the buttons */
}

.about-section{
    width: 100%;
    padding-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: relative;
    z-index: 5;
}

.creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image-container {
    position: relative;
    width: 100%;
}

/* Image container in about section */
.image-box{
    width: 100vw;
    height: 510px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
}
/* About section paragraph */
.about-section p{
    font-size: 12px;
}

.about-section h1{
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size:80px;
    max-width: 1150px;
    text-align: center;
    margin: 25px 0;
    text-transform: uppercase;
    background: linear-gradient(to right, #e0e0e0, #d6d6d6, #bfbfbf, #a8a8a8, #d6d6d6, #e0e0e0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

/* Keyframes for the gradient animation */
@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

.about-section h5{
    margin-top: 5px;
    color: gray;
    max-width: 425px;
    text-align: center;
    line-height: 25px;
    opacity: 0.8;
}

.creator-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 28px;
    width: 80%;
    max-width: 800px;
}

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

.creator-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #333;
    flex-shrink: 0;
}

.creator-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.creator-text p {
    color: var(--text-color);
    line-height: 1.6;
}

.autoFlyIn {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-out;
}

.autoFlyIn.in-view {
    opacity: 1;
    transform: translateY(0);
}


.drones-img {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    z-index: 3;
}


.services-section{
    display: flex;
    flex-direction: column;
    align-items: center;   /* explicit horizontal centering — Safari-safe */
    position: relative;
    width: 100%;
    padding-top: 100px;
    text-align: center;
}

.services-section .container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.services-section h3{
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin: 0 0 14px;
    text-align: center;
    background: linear-gradient(to right, #e0e0e0, #d6d6d6, #bfbfbf, #a8a8a8, #d6d6d6, #e0e0e0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

.services-section p{
    margin-top: 5px;
    color: gray;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
}
.info-cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 1180px;
    margin: 56px auto 0;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ── Feature card — glass morph, image-top layout ──────────── */
.card{
    --accent-1: #c084fc;
    --accent-2: #f472b6;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.018) 100%);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow:
        0 14px 40px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    isolation: isolate;
}

.card[data-accent="purple"]{ --accent-1:#c084fc; --accent-2:#a855f7; }
.card[data-accent="pink"]  { --accent-1:#f472b6; --accent-2:#ec4899; }
.card[data-accent="blue"]  { --accent-1:#60a5fa; --accent-2:#6366f1; }

.card:hover{
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--accent-1) 55%, transparent);
    box-shadow:
        0 26px 64px rgba(0,0,0,0.5),
        0 0 48px color-mix(in srgb, var(--accent-1) 18%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.14);
}

/* Accent glow ring that appears on hover */
.card::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-1), transparent 45%, var(--accent-2));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 3;
}
.card:hover::after{ opacity: 0.9; }

/* Visual header — image + fade + floating icon */
.card-visual{
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex: 0 0 auto;
}

.card-visual img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    will-change: transform;
}

.card:hover .card-visual img{
    transform: scale(1.06);
}

.card-visual-fade{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10,10,14,0.1) 0%,
        rgba(10,10,14,0.35) 45%,
        rgba(10,10,14,0.95) 100%);
    pointer-events: none;
}

.card-visual-icon{
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: #fff;
    font-size: 1.25rem;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.card-visual-icon i{
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Body — title, description, CTA */
.card-body{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 26px 28px;
    flex: 1 1 auto;
    z-index: 2;
}

.card-body h1{
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
    text-transform: none;
}

.card-body .card-description{
    font-size: 0.92rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
    margin: 0 0 22px;
    flex: 1 1 auto;
}

.btn-card{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 11px 20px 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent-1) 22%, transparent),
        color-mix(in srgb, var(--accent-2) 16%, transparent));
    border: 1px solid color-mix(in srgb, var(--accent-1) 40%, transparent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-card i{
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-card:hover{
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent-1) 38%, transparent),
        color-mix(in srgb, var(--accent-2) 26%, transparent));
    border-color: color-mix(in srgb, var(--accent-1) 65%, transparent);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-1) 25%, transparent);
}

.btn-card:hover i{
    transform: translate(2px, -2px);
}

/* Safari / older browser fallback when color-mix isn't supported */
@supports not (color: color-mix(in srgb, red, blue)){
    .card:hover{
        border-color: rgba(192,132,252,0.55);
        box-shadow:
            0 26px 64px rgba(0,0,0,0.5),
            0 0 48px rgba(192,132,252,0.18),
            inset 0 1px 0 rgba(255,255,255,0.14);
    }
    .btn-card{
        background: linear-gradient(135deg, rgba(192,132,252,0.22), rgba(244,114,182,0.16));
        border-color: rgba(192,132,252,0.4);
    }
    .btn-card:hover{
        background: linear-gradient(135deg, rgba(192,132,252,0.38), rgba(244,114,182,0.26));
        border-color: rgba(192,132,252,0.65);
        box-shadow: 0 12px 30px rgba(192,132,252,0.25);
    }
}

.pricing-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.pricing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 80px;
    max-width: 1150px;
    text-align: center;
    margin: 25px auto 20px auto;
    text-transform: uppercase;
    background: linear-gradient(to right, #e0e0e0, #d6d6d6, #bfbfbf, #a8a8a8, #d6d6d6, #e0e0e0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

/* ── Pricing Cards Grid ────────────────────────────────────── */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 3rem;
    align-items: stretch;
}

/* ── Base Card ─────────────────────────────────────────────── */
.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2.5rem 2rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.4s;
    z-index: 1;
    overflow: hidden;
}

/* Subtle inner glow */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 10;
}

/* ── Featured Card ─────────────────────────────────────────── */
.pricing-card--featured {
    border-color: rgba(212, 175, 185, 0.35);
    background: linear-gradient(165deg, rgba(212,175,185,0.1) 0%, rgba(255,255,255,0.03) 50%, rgba(192,132,252,0.06) 100%);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.25),
        0 0 60px rgba(212, 175, 185, 0.08);
    transform: scale(1.04);
    padding-top: 3.5rem;
}

.pricing-card--featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(212,175,185,0.3), transparent 40%, transparent 60%, rgba(192,132,252,0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
    pointer-events: none;
}

.pricing-card--featured:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(212, 175, 185, 0.12);
}

/* ── Badge ─────────────────────────────────────────────────── */
.pc-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #D4AFB9, #c084fc);
    color: #0a0a0a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 0 0 14px 14px;
}

.pc-badge--pro {
    background: linear-gradient(135deg, #a8a8a8, #e0e0e0);
}

/* ── Card Header ───────────────────────────────────────────── */
.pc-header {
    margin-bottom: 1.5rem;
}

.pc-tier {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 0.5rem;
}

.pc-credits {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.pc-credits-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    display: block;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card--featured .pc-credits-num {
    background: linear-gradient(135deg, #D4AFB9, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Price ──────────────────────────────────────────────────── */
.pc-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.pc-per {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pc-save {
    display: inline-block;
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* ── Features List ─────────────────────────────────────────── */
.pc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    width: 100%;
    text-align: left;
}

.pc-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pc-features li:last-child {
    border-bottom: none;
}

.pc-features li i {
    color: #34d399;
    font-size: 1rem;
    flex-shrink: 0;
}

.pc-features li i.ri-star-fill {
    color: #D4AFB9;
}

.pc-features li i.ri-vip-crown-fill {
    color: #fbbf24;
}

/* ── Button ────────────────────────────────────────────────── */
.pc-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: var(--first-color);
    background: transparent;
    border: 1.5px solid rgba(212, 175, 185, 0.3);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    margin-top: auto;
}

.pc-btn:hover {
    background: rgba(212, 175, 185, 0.12);
    border-color: rgba(212, 175, 185, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 185, 0.15);
}

.pc-btn--featured {
    background: linear-gradient(135deg, rgba(212,175,185,0.2), rgba(192,132,252,0.15));
    border-color: rgba(212, 175, 185, 0.4);
    color: #ffffff;
}

.pc-btn--featured:hover {
    background: linear-gradient(135deg, rgba(212,175,185,0.35), rgba(192,132,252,0.25));
    border-color: rgba(212, 175, 185, 0.6);
    box-shadow: 0 8px 30px rgba(212, 175, 185, 0.2);
}

/* ── Responsive ────────────────────────────────────────────── */
@media screen and (max-width: 900px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card--featured {
        transform: scale(1);
    }
    .pricing-card--featured:hover {
        transform: translateY(-8px);
    }
}

.location-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--container-color);
}

.location-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-color-light);
    margin-bottom: 10px;
}

.location-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--title-color);
    text-transform: uppercase;
    background: linear-gradient(to right, #e0e0e0, #d6d6d6, #bfbfbf, #a8a8a8, #d6d6d6, #e0e0e0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

/*==================== LOCATION ====================*/
.map-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px var(--first-color-alt);
    border-color: var(--first-color);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
    opacity: 0.7;
}

.map-container:hover .map-image {
    opacity: 1;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--first-color);
    border-radius: 50%;
    border: 3px solid var(--first-color-lighten);
    transform: translate(-50%, -50%);
    animation: pulse-marker 2s infinite ease-in-out;
    box-shadow: 0 0 15px var(--first-color);
}

@keyframes pulse-marker {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.location-name {
    position: absolute;
    bottom: -50px; /* Start hidden */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--title-color);
    padding: 8px 15px;
    border-radius: 10px;
    font-family: 'Kiona', sans-serif;
    font-size: var(--normal-font-size);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-container:hover .location-name {
    bottom: 20px; /* Move up on hover */
    opacity: 1;
}



.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.contact-images-left, .contact-images-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Stacked image cards ───────────────────────────────────── */
.contact-stack {
    position: relative;
    width: 220px;
    height: 360px;
}

.contact-stack .stack-card {
    position: absolute;
    width: 180px;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--si) * 0.15s);
    filter: saturate(0.85) brightness(0.9);
}

/* Left stack — fly in from left, fan out with rotation */
.contact-stack--left .stack-card {
    transform: translateX(-160px) rotate(-20deg) scale(0.8);
}

.contact-stack--left .stack-card:nth-child(1) {
    top: 0; left: 0;
    z-index: 3;
}
.contact-stack--left .stack-card:nth-child(2) {
    top: 30px; left: 20px;
    z-index: 2;
}
.contact-stack--left .stack-card:nth-child(3) {
    top: 60px; left: 40px;
    z-index: 1;
}

/* Right stack — fly in from right, fan opposite */
.contact-stack--right .stack-card {
    transform: translateX(160px) rotate(20deg) scale(0.8);
}

.contact-stack--right .stack-card:nth-child(1) {
    top: 0; right: 0;
    z-index: 3;
}
.contact-stack--right .stack-card:nth-child(2) {
    top: 30px; right: 20px;
    z-index: 2;
}
.contact-stack--right .stack-card:nth-child(3) {
    top: 60px; right: 40px;
    z-index: 1;
}

/* In-view: cards land in stacked fan */
.contact-container.in-view .contact-stack--left .stack-card:nth-child(1) {
    opacity: 1;
    transform: translateX(0) rotate(-6deg) scale(1);
}
.contact-container.in-view .contact-stack--left .stack-card:nth-child(2) {
    opacity: 0.85;
    transform: translateX(10px) rotate(-1deg) scale(0.96);
}
.contact-container.in-view .contact-stack--left .stack-card:nth-child(3) {
    opacity: 0.7;
    transform: translateX(20px) rotate(4deg) scale(0.92);
}

.contact-container.in-view .contact-stack--right .stack-card:nth-child(1) {
    opacity: 1;
    transform: translateX(0) rotate(6deg) scale(1);
}
.contact-container.in-view .contact-stack--right .stack-card:nth-child(2) {
    opacity: 0.85;
    transform: translateX(-10px) rotate(1deg) scale(0.96);
}
.contact-container.in-view .contact-stack--right .stack-card:nth-child(3) {
    opacity: 0.7;
    transform: translateX(-20px) rotate(-4deg) scale(0.92);
}

/* Hover — spread the stack */
.contact-stack:hover .stack-card:nth-child(2) {
    transform: translateY(10px) rotate(0deg) scale(0.98) !important;
    opacity: 0.95 !important;
}
.contact-stack:hover .stack-card:nth-child(3) {
    transform: translateY(20px) rotate(0deg) scale(0.95) !important;
    opacity: 0.85 !important;
}


.contact-section h1{
    font-family: 'Playfair Display', serif;
    font-size: 65px;
    max-width: 550px;
    background: linear-gradient(to right, #e0e0e0, #d6d6d6, #bfbfbf, #a8a8a8, #d6d6d6, #e0e0e0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-section p{
    margin-bottom: 20px;
}
.btn-contact {
    background-color: var(--first-color);
    border-color: var(--first-color);
    color: black;
    font-family: 'Playfair Display', serif;
}

.btn-contact:hover {
    background-color: transparent;
    border-color: var(--first-color);
    color: var(--first-color);
}

.clickable-text {
    cursor: pointer;
    color: white;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s;
}

.clickable-text:hover {
    color: var(--first-color);
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-animation img {
    position: absolute;
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    animation-name: fly-by;
    animation-timing-function: ease-in-out; /* Smoother animation */
    animation-iteration-count: infinite;
    opacity: 0; /* Start invisible */
}

@keyframes fly-by {
    0% {
        transform: translateX(-150%) translateY(calc(var(--y-start) * 1px)) rotate(-20deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3; /* Fade in */
    }
    90% {
        opacity: 0.3; /* Stay visible */
    }
    100% {
        transform: translateX(100vw) translateY(calc(var(--y-end) * 1px)) rotate(20deg);
        opacity: 0; /* Fade out */
    }
}

.background-animation img:nth-child(1) {
    --y-start: 100;
    --y-end: 200;
    animation-duration: 15s;
    animation-delay: 0s;
}

.background-animation img:nth-child(2) {
    --y-start: 300;
    --y-end: 100;
    animation-duration: 20s;
    animation-delay: 3s;
}

.background-animation img:nth-child(3) {
    --y-start: 500;
    --y-end: 600;
    animation-duration: 18s;
    animation-delay: 5s;
}

.background-animation img:nth-child(4) {
    --y-start: 700;
    --y-end: 400;
    animation-duration: 22s;
    animation-delay: 8s;
}

.background-animation img:nth-child(5) {
    --y-start: 0;
    --y-end: 800;
    animation-duration: 25s;
    animation-delay: 10s;
}

.background-animation img:nth-child(6) {
    --y-start: 800;
    --y-end: 0;
    animation-duration: 17s;
    animation-delay: 12s;
}

.background-animation img:nth-child(7) {
    --y-start: 400;
    --y-end: 700;
    animation-duration: 19s;
    animation-delay: 14s;
}

.background-animation img:nth-child(8) {
    --y-start: 600;
    --y-end: 300;
    animation-duration: 21s;
    animation-delay: 16s;
}

/* ═══ Floating Glass Panels ═══ */
.floating-glasses {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    transform-origin: center center;
}

.glass-panel {
    position: absolute;
    left: var(--gx, 10%);
    top: var(--gy, 10%);
    width: var(--gw, 200px);
    height: var(--gh, 280px);
    border-radius: 18px;
    overflow: hidden;

    /* Glassmorphism */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        rgba(255, 255, 255, 0.005) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);

    /* Initial rotation from --gr */
    transform: rotate(var(--gr, 0deg));

    /* Fade-in on load — only controls opacity, JS handles transform */
    animation: glass-fade-in 1.8s ease forwards;
    animation-delay: var(--gdelay, 0s);

    /* Smooth transform updates from JS */
    will-change: transform;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Top edge light reflection */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    z-index: 3;
}

/* Subtle inner glow / light refraction */
.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse 70% 50% at 30% 20%,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

.glass-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.55;
    filter: saturate(0.8) brightness(0.9);
    transition: opacity 0.5s ease, filter 0.5s ease;
}

@keyframes glass-fade-in {
    0%   { opacity: 0; }
    100% { opacity: 0.85; }
}

/* ── Glass panel responsive ──────────────────────────────────── */
@media screen and (max-width: 768px) {
    .glass-panel {
        --gw: 120px !important;
        --gh: 170px !important;
    }
    .floating-glasses {
        opacity: 0.5;
    }
}

@media screen and (max-width: 480px) {
    .floating-glasses {
        opacity: 0.35;
    }
}

/* Footer extracted to css/footer.css */


/* BLUR EFFECT */

.autoBlur {
    filter: blur(40px);
    opacity: 0;
    transform: translateY(-200px);
    transition: all 1s ease;
}

.autoBlur.in-view {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
}

.autoTakeFull {
    width: 300px;
    height: 200px;
    border-radius: 20px;
    background: #ccc;
    margin: 0 auto;
    margin-bottom: 0;
    transition: all 1s ease;
  }
  
  .autoTakeFull.in-view {
    width: 100% !important;
    height: 100vh !important;
    border-radius: 0 !important;
    margin-bottom: 100px !important;
  }

  .autoDisplay {
    opacity: 0;
    transform: translateY(200px) scale(0.3);
    transition: all 1s ease;
  }

  .autoDisplay.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Cards override generic autoDisplay completely */
  .info-cards.autoDisplay,
  .info-cards.autoDisplay.in-view {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .card.autoDisplay {
    opacity: 0 !important;
    transform: translateY(60px) !important;
    transition: opacity 0.7s ease, transform 0.7s ease !important;
    scale: unset !important;
  }
  .card.autoDisplay:nth-child(2) { transition-delay: 0.15s !important; }
  .card.autoDisplay:nth-child(3) { transition-delay: 0.3s !important; }

  .card.autoDisplay.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

/* SCROLL UP */
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    background-color: var(--container-color);
    border-radius: .25rem;
    padding: .45rem;
    opacity: 9;
    z-index: 10;
    transition: .4s;
}
    
.scrollup:hover {
    background-color: var(--black-color);
    opacity: 1;
}

.scrollup__icon {
    color: var(--white-color);
    font-size: 1.35rem;
}

/* Media query for smaller screens */
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 50px;
    }
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 36px;
        margin: 15px auto 10px;
    }
    .pricing-section {
        padding: 60px 0;
    }
    .pricing-container {
        padding: 0 1rem;
    }
    .pc-credits-num {
        font-size: 2.2rem;
    }
    .pc-price {
        font-size: 2.2rem;
    }
    .beta-section {
        padding: 60px 1rem;
    }
    .beta-section-title {
        font-size: 1.6rem;
    }
    .beta-cta-cards {
        grid-template-columns: 1fr;
    }
    .contact-section {
        padding: 60px 0;
    }
    .contact-section h1 {
        font-size: 28px;
    }
    .download-section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-left, .footer-center, .footer-right {
        align-items: center;
    }
    .footer-center .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-right .social-links {
        justify-content: center;
    }
    .legal-links {
        justify-content: center;
    }
    .creator-container {
    flex-direction: column;
    text-align: center;
    }   

    .creator-image {
        margin: 0 auto 20px auto;
    }
}

@media screen and (max-width: 650px){
    header{
        padding: 0 5px;
    }
    .header {
        padding: 0 1rem;
    }
    .nav {
        padding: 0 0.5rem;
    }
    .nav__logo img {
        width: 42px;
    }
    .scroll-header .nav__logo {
        top: .25rem;
        left: 1rem;
    }
    .intro-text-wrapper{
        height: 60px;
    }
    .intro-text{
        font-size: 30px;
        height: 60px;
    }
    .hero-section h1{
        font-size: 40px;
    }
    .about-section {
        padding-top: 100px;
    }
    .about-section h1{
        font-size: 32px;
        padding: 0 1rem;
    }
    .about-section p, .about-section h4 {
        padding: 0 1rem;
        font-size: 0.85rem;
    }
    .image-box{
        width: 100%;
        height: 350px;
    }
    .creator-section {
        width: 92%;
        padding: 24px;
    }
    .creator-text h2 {
        font-size: 24px;
    }
    .creator-text p {
        font-size: 0.85rem;
    }
    .services-section {
        padding-top: 60px;
    }
    .services-section h3 {
        padding: 0 1rem;
    }
    .services-section p {
        padding: 0 1rem;
        font-size: 0.95rem;
    }
    .about-section h4, .about-section h5{
        max-width: 350px;
        text-align: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .contact-section h1 {
        font-size: 40px;
    }
    .contact-stack {
        width: 140px;
        height: 240px;
        margin: 0 auto;
    }
    .contact-stack .stack-card {
        width: 120px;
        height: 180px;
    }
    .info-cards {
      grid-template-columns: 1fr;
      padding: 0 1.1rem;
      gap: 18px;
      margin-top: 32px;
    }
    .card {
      border-radius: 22px;
    }
    .card-visual {
      aspect-ratio: 16 / 10;
    }
    .card-body {
      padding: 20px 22px 24px;
    }
    .card-body h1 {
      font-size: 1.35rem;
    }
    .card-body .card-description {
      font-size: 0.87rem;
      margin-bottom: 18px;
    }
    .btn-card {
      padding: 9px 18px;
      font-size: 0.8rem;
    }
}
/* Fade Transition for Language Switch */
.fade-transition {
    opacity: 0 !important;
    transition: opacity 0.3s ease-in-out;
}

body {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

/* Ask AI Button */
/* Ask AI Button */
.btn-ask-ai {
    background: transparent;
    color: var(--first-color);
    border: 2px solid var(--first-color); /* Match btn-secondary border thickness */
    padding: 15px 40px; /* Match btn-secondary padding */
    border-radius: 30px; /* Match btn-secondary radius */
    cursor: pointer;
    font-weight: bold; /* Match btn-secondary weight */
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    width: auto; /* Default to auto width */
    display: inline-flex; /* Use flex for icon alignment */
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
    font-family: inherit; /* inherit or match header font */
    -webkit-appearance: none; /* iOS Safari fix */
    appearance: none;
    vertical-align: middle;
}

.btn-ask-ai:hover {
    background: var(--first-color);
    color: var(--body-color); /* Match btn-secondary hover text color */
    box-shadow: none; /* Reset shadow if not in btn-secondary, or match it */
}

/* Specific for Pricing Card in Index to stack properly */
.pricing-card .btn-ask-ai {
    width: 100%;
}

/* Ensure secondary buttons (Contact) also have spacing if stacked */
.btn-secondary {
    width: 100%;
    margin-top: 20px; /* Separation from list */
}
