/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Manrope', sans-serif;
}

/* ===== BACKGROUND GRADIENT ===== */
.bg-soft-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #E9F0FF 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ===== SCROLLBAR HIDE ===== */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== HEADER STYLES ===== */
/* Main navigation header only - not legal page headers */
main>header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
}

@media (min-width: 768px) {
    main>header {
        padding: 2rem 3rem;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo-container:hover svg {
    transform: scale(1.1);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .logo-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

.lang-selector {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-button:hover {
    border-color: #003BFA;
    color: #003BFA;
}

/* ===== MAIN CONTENT ===== */
main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.hero-section {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 5rem 1.5rem;
    }
}

.hero-container {
    width: 100%;
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    text-align: center;
    transition: all 0.5s;
    animation: fadeInUp 1s ease-out;
}

.hero-content-inner {
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-highlight {
    color: #003BFA;
}

.hero-description {
    font-size: 1rem;
    color: #64748b;
    max-width: 45rem;
    line-height: 1.625;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .store-buttons {
        flex-direction: row;
        width: auto;
    }
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1.75rem;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 220px;
    cursor: pointer;
    border: none;
}

.store-button:active {
    transform: scale(0.95);
}

.store-button-primary {
    background: #003BFA;
    color: white;
}

.store-button-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(0, 59, 250, 0.3);
}

.store-button-secondary {
    background: white;
    border: 2px solid #e2e8f0;
    color: #0f172a;
}

.store-button-secondary:hover {
    border-color: #003BFA;
    color: #003BFA;
}

.store-button-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-align: left;
}

.store-button-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    opacity: 0.8;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.store-button-secondary .store-button-label {
    opacity: 0.7;
}

.store-button-name {
    font-size: 1.125rem;
    font-weight: 700;
}

/* ===== VISUAL COMPONENT ===== */
.visual-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 4rem;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .visual-section {
        padding-top: 5rem;
    }
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visual-glow {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: rgba(0, 59, 250, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -10;
}

@media (min-width: 768px) {
    .visual-glow {
        top: -5rem;
        width: 600px;
        height: 400px;
        filter: blur(120px);
    }
}

.phone-mockup {
    width: 260px;
    height: 380px;
    background: white;
    border-radius: 2rem 2rem 0 0;
    border: 6px solid #0f172a;
    border-bottom: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transform: translateY(1rem);
    transition: transform 0.7s;
}

@media (min-width: 768px) {
    .phone-mockup {
        width: 340px;
        height: 560px;
        border-radius: 2.5rem 2.5rem 0 0;
        border-width: 8px;
        transform: translateY(5rem);
    }
}

.phone-mockup:hover {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .phone-mockup:hover {
        transform: translateY(2.5rem);
    }
}

.phone-notch {
    height: 1.25rem;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
}

@media (min-width: 768px) {
    .phone-notch {
        height: 1.5rem;
    }
}

.notch-bar {
    width: 3rem;
    height: 0.75rem;
    background: #0f172a;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .notch-bar {
        width: 4rem;
        height: 1rem;
    }
}

.phone-content {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .phone-content {
        padding: 1.5rem;
    }
}

.search-bar {
    width: 100%;
    height: 2rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    gap: 0.5rem;
    border: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .search-bar {
        height: 2.5rem;
        border-radius: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
}

.search-icon {
    width: 14px;
    height: 14px;
    color: #94a3b8;
}

.search-placeholder {
    height: 0.375rem;
    width: 5rem;
    background: #cbd5e1;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .search-placeholder {
        height: 0.5rem;
        width: 6rem;
    }
}

.result-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .result-cards {
        gap: 1rem;
    }
}

.result-card {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
}

@media (min-width: 768px) {
    .result-card {
        padding: 1rem;
        border-radius: 1rem;
        gap: 1rem;
    }
}

.result-card.active {
    background: #eff6ff;
    border-color: rgba(0, 59, 250, 0.2);
}

.result-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .result-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

@media (min-width: 768px) {
    .result-info {
        gap: 0.5rem;
    }
}

.result-name {
    height: 0.375rem;
    border-radius: 9999px;
    background: #e2e8f0;
    width: 4rem;
}

@media (min-width: 768px) {
    .result-name {
        height: 0.5rem;
        width: 6rem;
    }
}

.result-card.active .result-name {
    background: rgba(0, 59, 250, 0.3);
    width: 6rem;
}

@media (min-width: 768px) {
    .result-card.active .result-name {
        width: 8rem;
    }
}

.result-detail {
    height: 0.25rem;
    background: #f1f5f9;
    width: 3rem;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .result-detail {
        height: 0.375rem;
        width: 4rem;
    }
}

.node-visualization {
    margin-top: 1.5rem;
    position: relative;
    height: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .node-visualization {
        margin-top: 2rem;
        height: 6rem;
    }
}

.node-center {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #003BFA;
}

.node-line {
    position: absolute;
    width: 6rem;
    height: 1px;
    background: rgba(0, 59, 250, 0.2);
}

@media (min-width: 768px) {
    .node-line {
        width: 8rem;
    }
}

.node-line.rotate-45 {
    transform: rotate(45deg);
}

.node-line.rotate-minus-45 {
    transform: rotate(-45deg);
}

.floating-icon {
    position: absolute;
    animation: bounce 3s infinite;
    opacity: 0.6;
    display: none;
}

@media (min-width: 1024px) {
    .floating-icon {
        display: block;
    }
}

.floating-icon.left {
    top: 0;
    left: -5rem;
    animation-duration: 3s;
}

.floating-icon.right {
    top: 5rem;
    right: -5rem;
    animation-duration: 4s;
}

.floating-icon-inner {
    padding: 0.75rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

/* ===== INSTAGRAM ICON ===== */
.instagram-icon {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 50;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    color: #003BFA;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .instagram-icon {
        bottom: 2.5rem;
        left: 3rem;
    }
}

.instagram-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
footer {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}

@media (min-width: 768px) {
    footer {
        bottom: 2.5rem;
        right: 3rem;
        flex-direction: row;
        gap: 2rem;
    }
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    padding: 0.5rem;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .footer-links {
        font-size: 0.75rem;
        gap: 1rem;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-link:hover,
.footer-link.active {
    color: #003BFA;
}

.footer-separator {
    width: 0.25rem;
    height: 0.25rem;
    background: #cbd5e1;
    border-radius: 50%;
}

/* ===== LEGAL VIEW ===== */
.legal-view {
    flex: 1;
    width: 100%;
    max-width: 56rem;
    padding: 8rem 1.5rem 6rem;
    z-index: 20;
    animation: fadeInUp 0.5s ease-out;
}

.back-button {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #003BFA;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.back-button:hover {
    transform: translateX(-4px);
}

.back-button svg {
    transition: margin-right 0.3s;
}

.back-button:hover svg {
    margin-right: 0.25rem;
}

.legal-content {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.05);
}

@media (min-width: 768px) {
    .legal-content {
        padding: 3rem;
    }
}

.legal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #475569;
    line-height: 1.625;
    font-weight: 300;
}

.legal-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
}

@media (min-width: 768px) {
    .legal-title {
        font-size: 2.25rem;
    }
}

.legal-date {
    color: #94a3b8;
    font-size: 0.875rem;
}

.legal-info-box {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
}

.legal-info-box p {
    margin: 0;
}

.legal-info-box strong {
    font-weight: 600;
}

.legal-info-box a {
    color: #003BFA;
    text-decoration: none;
}

.legal-info-box a:hover {
    text-decoration: underline;
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.legal-section p {
    margin: 0;
    font-size: 0.875rem;
}

.legal-subsection {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-left: 2px solid #f1f5f9;
}

.legal-subsection p strong {
    font-weight: 600;
}

.legal-list {
    list-style: disc;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.legal-list li {
    margin: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 2.25rem;
    }
}

.contact-subtitle {
    color: #64748b;
    font-weight: 300;
    font-size: 1.125rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: rgba(0, 59, 250, 0.3);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.05);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #eff6ff;
    color: #003BFA;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: #64748b;
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.contact-card a {
    color: #003BFA;
    font-weight: 500;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-footer {
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.contact-footer p {
    color: #94a3b8;
    font-size: 0.875rem;
    font-style: italic;
    font-weight: 300;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== ICONS (SVG) ===== */
.icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-fill {
    fill: currentColor;
}