/* ========================================
   FONTS
   ======================================== */
@font-face {
    font-family: 'Agrandir Wide Black';
    src: url('../fonts/Agrandir-WideBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* ========================================
   VARIABLES
   ======================================== */
:root {
    --color-primary: #fafafa;
    --color-secondary: #d4ff00;
    --color-dark: #1a1a1a;
    --color-gray: #666;
    --color-light-gray: #e0e0e0;

    --font-heading: 'Agrandir Wide Black', sans-serif;
    --font-body: 'Agrandir', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 0.938rem 2.5rem rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.section-title.center {
    text-align: center;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray);
    max-width: 800px;
    line-height: 1.8;
}

.section-description.center {
    margin: 0 auto 3rem;
    text-align: center;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: clamp(3rem, 8vh, 6rem) 0;
    position: relative;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    text-transform: uppercase;
    border-radius: 3.125rem;
    cursor: pointer;
    transition: var(--transition);
    border: 0.125rem solid transparent;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-0.188rem);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-primary);
    transform: translateY(-0.188rem);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(0.625rem);
    box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 87.5rem;
    margin: 0 auto;
}

.nav-logo img {
    height: 10vh;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.313rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-download-nav {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 3.125rem;
}

.btn-download-nav::after {
    display: none;
}

.btn-download-nav:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.313rem;
    cursor: pointer;
}

.hamburger span {
    width: 1.875rem;
    height: 0.188rem;
    background-color: var(--color-dark);
    transition: var(--transition);
    border-radius: 0.125rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 12vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3.125rem, -3.125rem); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.phone-mockup {
    width: 100%;
    max-width: 25rem;
    aspect-ratio: 9/19;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border-radius: 2.5rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.mockup-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 1.563rem;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: fill;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background-color: var(--color-primary);
}

.about .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content strong {
    color: var(--color-dark);
    font-weight: 600;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    max-width: 18.75rem;
    filter: drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.1));
    animation: pulse 3s ease-in-out infinite;
}

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

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    border: 0.125rem solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.feature-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

.feature-icon {
    margin-bottom: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.app-store-icon, .google-play-icon {
    width: 4vw;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.store-button:hover .app-store-icon, .store-button:hover .google-play-icon {
    filter: brightness(0) invert(0);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.625rem); }
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 1.5s;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.feature-description {
    color: var(--color-gray);
    line-height: 1.7;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners {
    background-image: url('../img/pattern.png');
    background-size: 25rem;
    background-repeat: repeat;
    background-position: center;
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(0.313rem);
}

.partners .container {
    position: relative;
    z-index: 1;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 3rem;
    margin: 4rem 0;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    background: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.938rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    width: 100%;
    max-width: 15.625rem;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.partner-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.625rem;
}

.certification {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.certification img {
    max-width: 12.5rem;
    filter: drop-shadow(0 0.625rem 1.25rem rgba(0, 0, 0, 0.1));
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download {
    background: linear-gradient(135deg, #f0f0f0 0%, var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(212, 255, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.download .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--color-dark);
    color: var(--color-primary);
    border-radius: 0.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.store-button:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-0.313rem);
    box-shadow: var(--shadow-hover);
}

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

.store-small {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.store-large {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.download-visual .phone-mockup {
    animation: float 6s ease-in-out infinite;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-primary);
    padding: 4rem 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 15vh;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-light-gray);
    font-size: 0.95rem;
    text-align: center;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-light-gray);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 0.313rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.813rem;
    height: 2.813rem;
    background-color: rgba(250, 250, 250, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-0.188rem);
}

.footer-contact a {
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.063rem solid rgba(250, 250, 250, 0.1);
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero .container,
    .about .container,
    .download .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: 2;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

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

    .download-visual {
        order: 2;
    }

    .download-content {
        text-align: center;
    }

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

    .about-visual {
        display: none;
    }

    .phone-mockup {
        max-width: 21.875rem;
        margin: 0 auto;
    }
}

@media (max-width: 900px) and (min-width: 769px) {
    .hero .container {
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .phone-mockup {
        max-width: 20rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 10vh;
        left: -100%;
        width: 100%;
        height: calc(100vh - 10vh);
        background-color: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(0.625rem);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 5%;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.5rem, -0.5rem);
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 12vh;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 18.75rem;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .store-button {
        width: 100%;
        max-width: 18.75rem;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .phone-mockup {
        max-width: 17.5rem;
    }
}

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

    .nav {
        padding: 3%;
    }

    .nav-logo img {
        height: 6vh;
    }

    .hero {
        padding-top: 11vh;
    }

    .hero-title {
        font-size: clamp(1.5rem, 10vw, 2rem);
        line-height: 1.2;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .phone-mockup {
        max-width: 15rem;
    }

    .store-button {
        padding: 0.875rem 1.5rem;
    }

    .store-small {
        font-size: 0.7rem;
    }

    .store-large {
        font-size: 1rem;
    }

    .social-link {
        width: 2.5rem;
        height: 2.5rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    .phone-mockup {
        max-width: 12.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-icon svg {
        width: 3.125rem;
        height: 3.125rem;
    }

    .store-button svg {
        width: 1.875rem;
        height: 1.875rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.center {
    text-align: center;
}

/* Smooth reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(3.125rem);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
