/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sky-blue: #0F7ED4;
    --sky-blue-light: #3BA3F0;
    --sky-blue-dark: #0A5A9C;
    --coral: #FF6665;
    --coral-hover: #FF4F4E;
    --coral-dark: #E55554;
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(175deg, #5BB8F5 0%, var(--sky-blue) 30%, #0A6ABF 70%, #084E8C 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* ===== ANIMATED CLOUDS ===== */
.bg-clouds {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.cloud {
    position: absolute;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cloud-1 {
    width: 400px;
    height: 150px;
    top: 8%;
    left: -5%;
    animation: drift 35s ease-in-out infinite;
}

.cloud-2 {
    width: 300px;
    height: 120px;
    top: 15%;
    right: -8%;
    animation: drift 28s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.cloud-3 {
    width: 500px;
    height: 180px;
    top: 55%;
    left: 10%;
    animation: drift 40s ease-in-out infinite;
    animation-delay: -12s;
}

.cloud-4 {
    width: 250px;
    height: 100px;
    top: 75%;
    right: 5%;
    animation: drift 32s ease-in-out infinite reverse;
    animation-delay: -8s;
}

.cloud-5 {
    width: 350px;
    height: 130px;
    top: 35%;
    left: 50%;
    animation: drift 38s ease-in-out infinite;
    animation-delay: -15s;
}

@keyframes drift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(60px) translateY(-15px);
    }

    50% {
        transform: translateX(30px) translateY(10px);
    }

    75% {
        transform: translateX(-30px) translateY(-5px);
    }
}

/* ===== FLOATING PAPER PLANES ===== */
.floating-planes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.plane {
    position: absolute;
    opacity: 0.8;
}

.plane-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 8%;
    animation: float1 18s ease-in-out infinite;
}

.plane-2 {
    width: 35px;
    height: 35px;
    top: 65%;
    right: 15%;
    animation: float2 22s ease-in-out infinite;
    animation-delay: -4s;
}

.plane-3 {
    width: 45px;
    height: 45px;
    top: 35%;
    right: 5%;
    animation: float3 25s ease-in-out infinite;
    animation-delay: -8s;
}

.plane-4 {
    width: 50px;
    height: 50px;
    top: 75%;
    left: 12%;
    animation: float1 20s ease-in-out infinite reverse;
    animation-delay: -12s;
}

.plane-5 {
    width: 28px;
    height: 28px;
    top: 25%;
    left: 35%;
    animation: float2 19s ease-in-out infinite;
    animation-delay: -2s;
}

.plane-6 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    right: 30%;
    animation: float3 28s ease-in-out infinite reverse;
    animation-delay: -15s;
}

.plane-7 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 2%;
    animation: float2 30s ease-in-out infinite;
    animation-delay: -7s;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-25deg);
    }

    33% {
        transform: translate(40px, -60px) rotate(-10deg);
    }

    66% {
        transform: translate(-30px, -30px) rotate(-35deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(15deg);
    }

    33% {
        transform: translate(-35px, -45px) rotate(30deg);
    }

    66% {
        transform: translate(25px, -20px) rotate(5deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-30deg);
    }

    50% {
        transform: translate(30px, -40px) rotate(-15deg);
    }
}

/* ===== WAVE BOTTOM ===== */
.wave-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* ===== MAIN CONTAINER ===== */
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ===== LOGO ===== */
.logo-wrapper {
    margin-bottom: -60px;
    /* Aggressive negative margin to pull text super close */
    animation: fadeInDown 0.8s ease-out;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.logo-image {
    width: 100%;
    /* Make it fill the wrapper */
    max-width: 600px;
    /* Huge maximum size */
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.logo-image:hover {
    transform: scale(1.03);
}

/* ===== TAGLINE ===== */
.tagline {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== SUBTEXT ===== */
.subtext {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white-90);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
    text-wrap: balance;
    animation: fadeInUp 0.8s ease-out 0.35s both;
}

/* ===== CTA TEXT ===== */
.cta-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

/* ===== EMAIL FORM ===== */
.email-form {
    width: 100%;
    max-width: 480px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.55s both;
}

.input-group {
    display: flex;
    gap: 0;
    background: var(--white-20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 60px;
    padding: 5px;
    border: 1.5px solid var(--white-20);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--white-50);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.1);
}

.input-group input {
    flex: 1;
    border: none;
    background: none;
    padding: 14px 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    outline: none;
    min-width: 0;
}

.input-group input::placeholder {
    color: var(--white-50);
    font-weight: 400;
}

.input-group button {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 60px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(255, 102, 101, 0.35);
}

.input-group button:hover {
    background: var(--coral-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 102, 101, 0.45);
}

.input-group button:active {
    transform: translateY(0);
}

.input-group button.submitted {
    background: #22c55e;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

.btn-icon {
    font-size: 1.1rem;
    display: inline-block;
    animation: planeWiggle 2s ease-in-out infinite;
}

@keyframes planeWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg) translateX(2px);
    }

    75% {
        transform: rotate(-5deg);
    }
}

.form-message {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 12px;
    height: 20px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    color: #bbf7d0;
}

/* ===== COUNTDOWN ===== */
.countdown-section {
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.65s both;
}

.launch-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white-70);
    margin-bottom: 14px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white-10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 14px 16px 10px;
    min-width: 72px;
    border: 1px solid var(--white-10);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white-50);
    margin-top: 6px;
}

.countdown-separator {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white-50);
    animation: blink 1s ease-in-out infinite;
    padding-bottom: 16px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.launched {
    font-size: 1.3rem;
    font-weight: 800;
}

/* ===== FEATURE TEXT ===== */
.feature-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    text-wrap: balance;
    animation: fadeInUp 0.8s ease-out 0.75s both;
}

.feature-text strong {
    color: var(--white);
    font-weight: 700;
}

.go-brand {
    color: var(--coral) !important;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 102, 101, 0.3);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.85s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white-10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--white-10);
    color: var(--white-70);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--white-20);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 48px 20px 60px;
    }

    .logo-wrapper {
        margin-bottom: -40px;
    }

    .logo-image {
        max-width: 480px;
    }

    .tagline {
        font-size: 2rem;
    }

    .subtext {
        font-size: 1rem;
    }

    .countdown-item {
        min-width: 64px;
        padding: 12px 12px 8px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .cloud-1 {
        width: 300px;
        height: 120px;
    }

    .cloud-3 {
        width: 350px;
        height: 140px;
    }

    .cloud-5 {
        width: 250px;
        height: 100px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 40px 16px 50px;
    }

    .logo-wrapper {
        margin-bottom: -30px;
    }

    .logo-image {
        max-width: 380px;
    }

    .tagline {
        font-size: 1.75rem;
    }

    .subtext {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .subtext br {
        display: none;
    }

    .input-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 4px;
    }

    .input-group input {
        padding: 14px 16px;
        text-align: center;
    }

    .input-group button {
        justify-content: center;
        padding: 14px 20px;
        border-radius: 16px;
    }

    .countdown {
        gap: 4px;
    }

    .countdown-item {
        min-width: 56px;
        padding: 10px 8px 8px;
        border-radius: 12px;
    }

    .countdown-number {
        font-size: 1.3rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
        padding-bottom: 12px;
    }

    .feature-text br {
        display: none;
    }

    .plane-1 {
        width: 28px;
        height: 28px;
    }

    .plane-2 {
        width: 20px;
        height: 20px;
    }

    .plane-3 {
        display: none;
    }

    .cloud-2,
    .cloud-4 {
        display: none;
    }

    .cloud-1 {
        width: 200px;
        height: 80px;
    }

    .cloud-3 {
        width: 250px;
        height: 100px;
    }

    .cloud-5 {
        width: 180px;
        height: 70px;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    .tagline {
        font-size: 1.5rem;
    }

    .countdown-item {
        min-width: 48px;
        padding: 8px 6px 6px;
    }

    .countdown-number {
        font-size: 1.15rem;
    }
}

/* Tall screens — ensure center alignment */
@media (min-height: 900px) {
    body {
        justify-content: center;
    }
}

/* Landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .container {
        padding: 20px 24px 40px;
    }

    .logo-wrapper {
        margin-bottom: 12px;
    }

    .logo-wrapper {
        margin-bottom: -20px;
    }

    .logo-image {
        max-width: 280px;
    }

    .tagline {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .subtext {
        margin-bottom: 16px;
    }

    .countdown-section {
        margin-bottom: 16px;
    }
}

/* ===== LEGAL & COMPLIANCE ===== */
.legal-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--white-70);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.legal-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--coral);
}

.legal-consent label {
    cursor: pointer;
    user-select: none;
}

.legal-link {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-link:hover {
    color: var(--coral-hover);
}

.footer-legal {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--white-10);
    width: 100%;
    font-size: 0.8rem;
    color: var(--white-50);
    animation: fadeInUp 0.8s ease-out 0.95s both;
}

.footer-legal a {
    color: var(--white-70);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-legal .dot {
    margin: 0 8px;
    color: var(--white-20);
}

.copyright {
    margin-top: 16px;
    line-height: 1.6;
}

/* ===== IDEA SUBMISSION FORM ===== */
.idea-section {
    width: 100%;
    max-width: 480px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.65s both;
}

.idea-card {
    background: var(--white-10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--white-20);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.idea-card:focus-within {
    border-color: var(--white-40);
    transform: translateY(-2px);
}

.idea-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white-90);
    margin-bottom: 12px;
    text-align: left;
}

.idea-form textarea {
    width: 100%;
    min-height: 100px;
    background: var(--white-05);
    border: 1.5px solid var(--white-10);
    border-radius: 16px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--white);
    outline: none;
    resize: vertical;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.idea-form textarea:focus {
    background: var(--white-10);
    border-color: var(--white-30);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.idea-form textarea::placeholder {
    color: var(--white-40);
}

.idea-form button {
    width: 100%;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white-40);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.idea-form button:hover {
    background: var(--white-10);
    border-color: var(--white-70);
    transform: translateY(-1px);
}

.idea-form button:active {
    transform: translateY(0);
}

.idea-form button.submitting {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== STATUS NOTIFICATIONS ===== */
.status-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white-90);
    color: var(--sky-blue-dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.status-toast.success {
    background: #dcfce7;
    color: #166534;
}

.status-toast.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: var(--white-10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid var(--white-20);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--white-70);
    padding: 6px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--white);
    background: var(--white-10);
}

.lang-btn.active {
    background: var(--white);
    color: var(--sky-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .language-switcher {
        top: 15px;
        right: 15px;
    }

    .lang-btn {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

/* ===== NEW SECTIONS: SUBHEADING & ABOUT-GO ===== */
.subheading {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
    color: var(--white-90);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-go {
    margin: 60px auto;
    max-width: 600px;
}

.about-card {
    background: var(--white-10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--white-20);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--white-80);
    margin: 0;
}

@media (max-width: 768px) {
    .subheading {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .about-card {
        padding: 20px;
    }

    .about-card h3 {
        font-size: 1.25rem;
    }

    .about-card p {
        font-size: 1rem;
    }
}