/* OTR Website - Shared Styles */

:root {
    --primary-red: #FF3B30;
    --deep-red: #D70015;
    --light-red: #FF6961;
    --pure-white: #FFFFFF;
    --light-gray: #F8F9FF;
    --soft-gray: #F0F2FF;
    --ultra-glass: rgba(255, 255, 255, 0.15);
    --glass-white: rgba(255, 255, 255, 0.25);
    --glass-red: rgba(255, 59, 48, 0.1);
    --glass-border: rgba(255, 255, 255, 0.3);
    --whatsapp-green: #25D366;
    --whatsapp-dark: #1EBE5D;
    --text-primary: #1D1D1F;
    --text-secondary: #6D6D80;
    --text-light: #8E8E93;
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.1);
    --shadow-elevated: 0 16px 48px rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #F1F5F9 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

/* Lucide Icons */
.lucide {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

/* Liquid Filter */
.liquid-filter {
    position: absolute;
    width: 0;
    height: 0;
}

/* Liquid Background Animation */
.liquid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.liquid-blob {
    position: absolute;
    background: url('../Assets/images/arrow.svg') center/contain no-repeat;
    opacity: 0.22;
    animation: arrowFloat 20s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

.blob-1 {
    --arrow-rotation: -12deg;
    width: 260px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    --arrow-rotation: 18deg;
    width: 210px;
    height: 250px;
    top: 70%;
    right: -5%;
    animation-delay: -7s;
}

.blob-3 {
    --arrow-rotation: 45deg;
    width: 230px;
    height: 270px;
    top: 40%;
    left: 70%;
    animation-delay: -14s;
}

@keyframes arrowFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(var(--arrow-rotation, 0deg)) scale(1);
    }

    25% {
        transform: translate(80px, -60px) rotate(calc(var(--arrow-rotation, 0deg) + 10deg)) scale(1.05);
    }

    50% {
        transform: translate(-40px, 90px) rotate(calc(var(--arrow-rotation, 0deg) + 20deg)) scale(0.95);
    }

    75% {
        transform: translate(-90px, -70px) rotate(calc(var(--arrow-rotation, 0deg) + 6deg)) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce),
(max-width: 768px) {
    .liquid-blob {
        animation: none;
        filter: none;
        display: none;
    }

    .liquid-background {
        display: none;
    }
}

/* Glass Card */
.glass-card {
    background: var(--ultra-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Header */
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #E31E24 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
}

header.glass-card {
    overflow: visible;
}

nav {
    width: 100%;
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.logo-container:hover {
    opacity: 0.9;
}

.logo-icon {
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
}

.logo-icon img {
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-container:hover .logo-icon img {
    transform: scale(1.1) rotate(5deg);
}

.logo {
    display: flex;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.02em;
    text-shadow: none;
    white-space: nowrap;
}

.logo span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-container:hover .logo span {
    max-width: 150px;
    /* Sufficient width for each word */
    opacity: 1;
    transform: translateX(0);
}

.logo-container:hover .logo span:nth-child(1) {
    transition-delay: 0s;
}

.logo-container:hover .logo span:nth-child(2) {
    transition-delay: 0.15s;
}

.logo-container:hover .logo span:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 100px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 100px;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background: white;
    color: #E31E24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-cta {
    display: none;
}

.nav-cta:hover {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1201;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
main {
    padding-top: 88px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    border: none;
    border-radius: 24px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 59, 48, 0.4);
}

.btn-secondary {
    padding: 20px 40px;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-elevated);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Support Contact */
.support-contact {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(37, 211, 102, 0.06));
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid rgba(37, 211, 102, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.support-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    color: var(--pure-white);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.3);
}

.whatsapp-button .lucide {
    width: 22px;
    height: 22px;
}

.whatsapp-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-title {
    font-size: 1rem;
    line-height: 1.2;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    margin-top: 80px;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.footer-content {
    padding: 64px 48px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px 64px;
    margin: 0 auto;
    width: 100%;
    max-width: 960px;
    text-align: left;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 28px;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

/* Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-links {
        gap: 16px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: auto;
        height: 40px;
    }
}

@media (max-width: 1100px) {
    header {
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
    }

    nav {
        padding: 12px 24px;
        justify-content: space-between;
        position: relative;
    }

    .logo-container {
        margin: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-left: 0;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        padding: 10px;
        backdrop-filter: blur(14px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    }

    .mobile-menu-toggle.active {
        position: fixed;
        top: 42px;
        right: 32px;
        transform: none;
    }

    .nav-links {
        position: fixed;
        top: 16px;
        right: 12px;
        width: calc(100vw - 24px);
        max-width: 320px;
        height: calc(100vh - 32px);
        background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
        flex-direction: column;
        padding: 110px 30px 40px;
        gap: 20px;
        transform: translateX(120%);
        transition: transform 0.3s ease;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        z-index: 1100;
        margin: 0;
        border-radius: 48px;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .logo {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 72px;
    }

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

    .container {
        padding: 0 20px;
    }

    nav {
        padding: 12px 20px;
    }

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: auto;
        height: 36px;
    }

    .logo-container {
        gap: 10px;
    }

    .nav-cta {
        padding: 10px 16px;
        font-size: 13px;
    }

    .page-header {
        padding: 40px 0 30px;
    }

    .footer-content {
        padding: 48px 24px;
        gap: 32px;
    }

    .footer-links {
        gap: 24px 32px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    main {
        padding-top: 68px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3 {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-blob {
        animation: none;
    }

    .animate-in {
        animation: none;
    }

    * {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}