/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(41, 39, 28, 1) 100%);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-purple: rgba(208, 0, 255, 0.12);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--primary-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.decorative-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Decorative shapes base sizing */
.shape-vector {
    position: absolute;
    top: 0px;
    left: 0px;
    width: clamp(470px, 22vw, 1200px);
    height: auto;
    opacity: 1;
}

.shape-subtract {
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(490px, 30vw, 1400px);
    height: auto;
    opacity: 1;
}

.container {
    max-width: none;
    width: 100%;
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 5rem 0 5rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    align-items: center;
    min-height: 600px;
    justify-items: stretch;
}

.hero-text {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.logo {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.logo-image {
    height: clamp(48px, 3vw, 100px);
    width: auto;
    transition: transform 0.3s ease;
}

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

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title img {
    width: 100%;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.app-store-btn img {
    height: clamp(48px, 2.5vw, 96px);
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.app-store-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.phone-mockup-container {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    width: 100%;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.05);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 1rem;
        min-height: 500px;
    }

    .hero-title img {
        max-width: 500px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .shape-vector {
        width: clamp(480px, 48vw, 900px);
    }

    .shape-subtract {
        width: clamp(540px, 50vw, 1100px);
    }
}

@media (max-width: 768px) {
    .shape-subtract {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .hero {
        padding: 0;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        gap: 0;
        min-height: 100vh;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        margin: 0 5%;
    }

    .hero-title img {
        max-width: 100%;
    }

    .logo {
        margin-top: 4rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
        margin-top: 1em;
        margin-bottom: 2em;
    }

    .hero-image {
        align-self: end;
        margin: 0;
        padding: 0;
        animation: none !important;
    }

    .phone-mockup-container {
        animation: none !important;
    }

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

    .shape-vector {
        width: clamp(420px, 60vw, 800px);
    }

    .shape-subtract {
        width: clamp(480px, 60vw, 900px);
    }

}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.95rem;
    }

    .app-store-btn img {
        height: clamp(44px, 10vw, 56px);
    }

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

    .shape-vector {
        width: clamp(360px, 72vw, 680px);
    }

    .shape-subtract {
        width: clamp(420px, 75vw, 800px);
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


@media (min-width: 769px) {
    .hero-content {
        width: 85%;
        margin: 0 auto;
    }
    .hero-text,
    .hero-image {
        width: 100%;
        padding: 10%;
        justify-self: stretch;
    }
}

@media (min-width: 1025px) {
    .hero-image {
        padding: 6% 8%;
    }
    .phone-mockup {
        max-width: clamp(520px, 32vw, 910px);
        margin: 0 4%;
    }
}

