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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    z-index: 0;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    background: #fff;
    animation: float 8s ease-in-out infinite;
}

.hero-bg::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -80px;
}

.hero-bg::after {
    width: 300px;
    height: 300px;
    bottom: -60px;
    left: -60px;
    animation-delay: 4s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 80px 24px 120px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 36px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== CTA Button ===== */
.cta-button {
    display: inline-block;
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #ffffff;
    color: #1565c0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button-light {
    background: #ffffff;
    color: #1565c0;
}

/* ===== Section Title ===== */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 48px;
}

/* ===== Wave Divider ===== */
.wave-divider {
    line-height: 0;
    margin-bottom: -1px;
    background: #e8f0fe;
}

/* ===== Phone Showcase ===== */
.showcase {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #e8f0fe 100%);
}

.phones-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-top: 48px;
    perspective: 1200px;
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.phone-frame {
    position: relative;
    width: 220px;
    height: 440px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 12px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-caption {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.phone-left .phone-frame,
.phone-right .phone-frame {
    width: 190px;
    height: 380px;
}

.phone-left {
    transform: rotateY(8deg) scale(0.92);
}

.phone-right {
    transform: rotateY(-8deg) scale(0.92);
}

.phone-center .phone-frame {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15),
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: #1976d2;
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0;
    background: #1a1a2e;
    color: #aaa;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #aaa;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1976d2;
}

.footer-copy {
    font-size: 0.8rem;
    color: #666;
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== Responsive ===== */
@media (max-width: 768px) {
    .phones-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .phone-left,
    .phone-right {
        transform: none;
    }

    .phone-left .phone-frame,
    .phone-right .phone-frame {
        width: 220px;
        height: 440px;
    }

    .phone-center { order: 1; }
    .phone-left   { order: 2; }
    .phone-right  { order: 3; }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 200px !important;
        height: 400px !important;
    }
}
