/* ========================================
   NoPhones - Landing Page
   Design System: Sky & Clouds
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    --sky-blue: #BFDDF6;
    --sky-blue-light: #D7EBFA;
    --cloud-white: #F7F5F2;
    --true-black: #111111;
    --soft-gray: #8E8E93;
    --divider-gray: #E5E5EA;
    --streak-amber: #F59E0B;
}

/* ========== 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: var(--sky-blue);
    color: var(--true-black);
    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(191, 221, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 17, 17, 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;
    border-radius: 10px;
}

.header-brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--true-black);
}

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

.header-nav a {
    color: var(--true-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--soft-gray);
}

.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;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--sky-blue) 0%, var(--sky-blue-light) 100%);
}

.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-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--true-black);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
    color: var(--true-black);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

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

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

.hero-buttons a {
    display: inline-flex;
    align-items: center;
}

/* ========== Feature Badge ========== */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--cloud-white);
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(17, 17, 17, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--true-black);
}

.feature-badge-icon {
    display: flex;
    align-items: center;
    color: var(--streak-amber);
}

.feature-badge-text {
    white-space: nowrap;
}

.feature-badge-divider {
    width: 4px;
    height: 4px;
    background: var(--soft-gray);
    border-radius: 50%;
}

/* ========== Features List ========== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--true-black);
    opacity: 0.9;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--cloud-white);
    border-radius: 10px;
    color: var(--true-black);
    flex-shrink: 0;
}

/* ========== Phone Mockup ========== */
.phone-mockup-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: var(--cloud-white);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(17, 17, 17, 0.15);
    transform: rotate(3deg);
    transition: transform 0.4s ease;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--sky-blue);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
}

.placeholder-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.1);
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--true-black);
    opacity: 0.5;
}

/* ========== Floating Clouds (CSS-only) ========== */
.cloud {
    position: absolute;
    background: var(--cloud-white);
    border-radius: 100px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: var(--cloud-white);
    border-radius: 50%;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 15%;
    left: 5%;
    animation: float-1 25s ease-in-out infinite;
}

.cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.cloud-1::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 80px;
}

.cloud-2 {
    width: 160px;
    height: 50px;
    top: 20%;
    right: 10%;
    animation: float-2 20s ease-in-out infinite;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud-2::after {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 60px;
}

.cloud-3 {
    width: 180px;
    height: 55px;
    bottom: 25%;
    left: 8%;
    animation: float-3 22s ease-in-out infinite;
}

.cloud-3::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 25px;
}

.cloud-3::after {
    width: 90px;
    height: 90px;
    top: -45px;
    left: 70px;
}

.cloud-4 {
    width: 140px;
    height: 45px;
    bottom: 20%;
    right: 5%;
    animation: float-4 18s ease-in-out infinite;
}

.cloud-4::before {
    width: 55px;
    height: 55px;
    top: -28px;
    left: 15px;
}

.cloud-4::after {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 50px;
}

.cloud-5 {
    width: 120px;
    height: 40px;
    top: 40%;
    right: 25%;
    opacity: 0.4;
    animation: float-5 30s ease-in-out infinite;
}

.cloud-5::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-5::after {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 45px;
}

@keyframes float-1 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(15px);
    }
}

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

@keyframes float-3 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(20px);
    }
}

@keyframes float-4 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(-15px);
    }
}

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

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

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

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

.footer-company-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--true-black);
    margin-bottom: 0.25rem;
}

.footer-location {
    font-size: 0.95rem;
    color: var(--soft-gray);
    font-weight: 600;
}

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

.footer-links a {
    color: var(--soft-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--true-black);
}

.footer-copy {
    color: var(--soft-gray);
    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-badges a {
        height: 36px;
    }

    .hero-content {
        gap: 3rem;
    }

    .phone-mockup {
        width: 250px;
        height: 520px;
    }

    .cloud {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

@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-buttons {
        justify-content: center;
    }

    .feature-badge {
        flex-wrap: wrap;
        justify-content: center;
    }

    .features-list {
        align-items: center;
    }

    .feature-item {
        text-align: left;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .cloud {
        opacity: 0.3;
        transform: scale(0.6);
    }
}

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

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

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

    .cloud {
        opacity: 0.2;
        transform: scale(0.5);
    }

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

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

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

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

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

    .phone-mockup {
        width: 200px;
        height: 420px;
        transform: rotate(0deg);
    }

    .placeholder-icon {
        width: 80px;
        height: 80px;
    }

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

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