/* Base Styles - Typography & Layout */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
    min-height: 100dvh;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-static);
    /* Static background color */
    background-repeat: no-repeat;
    overscroll-behavior: none;
    /* Prevents rubber-banding that reveals white background */
}

body {
    min-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    position: relative;
    z-index: 1;
    overscroll-behavior: none;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Wrappers removed */


/* Removed old body::before */

/* Global Pattern Overlay */
/* Pattern Overlay removed */

/* Typography */
h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    text-align: center;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
}

.btn-cta {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-gradient);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta span {
    position: relative;
    z-index: 1;
}

/* App Store Buttons */
.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.btn-app-store,
.btn-google-play {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background: #000000;
    padding: 8px 16px;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
    height: 52px;
    gap: 10px;
}

.btn-app-store:hover,
.btn-google-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
}

.store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.store-subtitle {
    font-size: 10px;
    font-weight: 400;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.3px;
}

.store-title {
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom Scrollbar - Pink to Purple Gradient */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--gradient-pink),
            var(--gradient-purple));
    border-radius: 6px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            #FF1E7E,
            #9348FC);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gradient-pink) var(--bg-light);
}