/* ========================================
   Nosabo - Minimalist Landing Page
   ======================================== */

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F4EFE6;
    color: #2A2A2A;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== Fixed Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 239, 230, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 2rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2A2A2A;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.header-nav a {
    color: #2A2A2A;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #7B68EE;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-badges a {
    height: 40px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-badges a:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.header-store-badge {
    height: 40px !important;
    width: auto;
    object-fit: contain;
}

.header-store-badge.google-play {
    height: 57px !important;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    z-index: 10;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.hero-brand-name {
    font-size: 1.75rem;
    font-weight: 900;
    color: #2A2A2A;
    margin: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #2A2A2A;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.store-badge {
    height: 54px !important;
    width: auto;
    transition: all 0.3s ease;
    display: inline-block;
}

.store-badge.google-play {
    height: 78px !important;
}

.store-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Ensure both badges display properly */
.hero-buttons a {
    display: inline-flex;
    align-items: center;
}

/* Legacy button styles (if needed) */
.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-block;
    background: #7B68EE;
    color: #FFFFFF;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.3);
    background: #6A57DD;
}

.btn-hero-secondary {
    background: transparent;
    color: #7B68EE;
    border: 2px solid #7B68EE;
}

.btn-hero-secondary:hover {
    background: rgba(123, 104, 238, 0.1);
}

/* ========== Social Proof Badge ========== */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #FFFFFF;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    font-weight: 600;
    color: #2A2A2A;
}

.social-proof-avatars {
    display: flex;
    margin-left: -4px;
}

.social-proof-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    margin-left: -8px;
    object-fit: cover;
}

.social-proof-avatar:first-child {
    margin-left: 0;
}

.social-proof-text {
    white-space: nowrap;
}

.social-proof-star {
    color: #FFB800;
    font-size: 1.1rem;
}

/* ========== Phone Mockups ========== */
.phone-mockups {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: absolute;
    max-width: 280px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.phone-mockup:hover {
    transform: scale(1.02);
}

.phone-mockup-1 {
    left: 0;
    transform: rotate(-5deg);
    z-index: 2;
}

.phone-mockup-2 {
    right: 0;
    transform: rotate(5deg) translateY(40px);
    z-index: 1;
}

/* Connector removed per user request */

/* ========== Floating Characters ========== */
.float-char {
    position: absolute;
    width: 250px;
    height: 250px;
    object-fit: contain;
    opacity: 0.15;
    filter: blur(1px) grayscale(30%);
    pointer-events: none;
    z-index: 1;
}

.char-1 {
    top: 8%;
    left: 5%;
    animation: float-1 20s ease-in-out infinite;
}

.char-2 {
    top: 12%;
    right: 3%;
    animation: float-2 18s ease-in-out infinite;
}

.char-3 {
    bottom: 10%;
    left: 3%;
    animation: float-3 22s ease-in-out infinite;
}

.char-4 {
    bottom: 8%;
    right: 5%;
    animation: float-4 19s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-40px) rotate(-5deg);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-35px) rotate(3deg);
    }
}

@keyframes float-4 {
    0%, 100% {
        transform: translateY(0) rotate(4deg);
    }
    50% {
        transform: translateY(-25px) rotate(-4deg);
    }
}

/* ========== Footer ========== */
.footer {
    position: relative;
    padding: 3rem 2rem 2rem;
    text-align: center;
    z-index: 10;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-social a {
    color: #6A6A6A;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #7B68EE;
    transform: translateY(-2px);
}

.footer-company {
    margin-bottom: 0.5rem;
}

.footer-company-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: #2A2A2A;
    margin-bottom: 0.25rem;
}

.footer-location {
    font-size: 0.95rem;
    color: #6A6A6A;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6A6A6A;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #7B68EE;
}

.footer-copy {
    color: #9A9A9A;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .header {
        padding: 0.75rem 1.5rem;
    }

    .header-nav {
        gap: 1.5rem;
    }

    .header-nav a {
        font-size: 0.9rem;
    }

    .header-store-badge {
        height: 36px;
    }

    .header-store-badge.google-play {
        height: 52px;
    }

    .header-badges a {
        height: 36px;
    }

    .hero-content {
        gap: 3rem;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .float-char {
        width: 180px;
        height: 180px;
        opacity: 0.1;
    }

    .char-1 {
        top: 10%;
        left: 5%;
    }

    .char-2 {
        top: 12%;
        right: 5%;
    }

    .char-3 {
        bottom: 25%;
        left: 5%;
    }

    .char-4 {
        bottom: 25%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .header-nav {
        display: none;
    }

    .header-badges {
        display: none;
    }

    .header-icon {
        width: 36px;
        height: 36px;
    }

    .header-brand-name {
        font-size: 1.25rem;
    }

    .hero {
        min-height: auto;
        padding: 5rem 1.5rem 3rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        min-height: 500px;
        width: 100%;
    }

    .hero-brand {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-proof {
        display: inline-flex;
    }

    .phone-mockup {
        max-width: 200px;
    }

    .phone-mockup-1 {
        left: 10%;
    }

    .phone-mockup-2 {
        right: 10%;
    }

    .float-char {
        width: 140px;
        height: 140px;
        opacity: 0.08;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 4.5rem 1rem 2rem;
    }

    .hero-right {
        min-height: 450px;
    }

    .float-char {
        width: 100px;
        height: 100px;
        opacity: 0.05;
    }

    .hero-brand {
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .hero-icon {
        width: 44px;
        height: 44px;
    }

    .hero-brand-name {
        font-size: 1.5rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }

    .social-proof {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .social-proof-avatar {
        width: 24px;
        height: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .store-badge {
        height: 48px !important;
    }

    .store-badge.google-play {
        height: 70px !important;
    }

    .phone-mockup {
        max-width: 170px;
    }

    .phone-mockup-1 {
        left: 5%;
        transform: rotate(-5deg) scale(0.95);
    }

    .phone-mockup-2 {
        right: 5%;
        transform: rotate(5deg) translateY(30px) scale(0.95);
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
}
