:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --secondary: #7e22ce;
    --secondary-light: #a855f7;
    --accent: #ec4899;
    --success: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    overflow-x: hidden;
    line-height: 1.6;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--primary) !important;
    opacity: 1;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.5);
    color: white;
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    background: radial-gradient(circle at top right, var(--secondary) 0%, var(--primary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="60" height="60" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 15px rgba(79, 70, 229, 0.3);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark);
    margin: 1.5rem 0;
    letter-spacing: -0.03em;
}

.price small {
    font-size: 1rem;
    color: var(--slate-500);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.check-list li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
}

.footer {
    background: var(--dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: white;
    text-decoration: none;
}

.footer h6 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--slate-200);
}

.footer a {
    color: var(--slate-500);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.badge-premium {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.demo-visual-container {
    perspective: 2000px;
}

.app-mockup {
    border-radius: 16px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.badge-google-play {
    height: 48px;
    transition: all 0.3s ease;
}

.badge-google-play:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .app-mockup {
        transform: none !important;
        margin-top: 50px;
    }
}

/* Legal Pages Styling */
.legal-page {
    padding: 120px 0 60px;
    background: var(--slate-100);
}

.legal-card {
    background: white;
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.legal-card h1 {
    font-weight: 800;
    margin-bottom: 2rem;
}

.legal-card h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    font-weight: 700;
}

.legal-card section {
    scroll-margin-top: 100px;
}

.legal-nav-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

@media (max-width: 991px) {
    .legal-nav-sticky {
        position: relative;
        top: 0;
        max-height: none;
    }
}

.legal-nav-links a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.legal-nav-links a:hover {
    background: var(--slate-100);
    color: var(--primary) !important;
    opacity: 1 !important;
    padding-left: 18px;
}

/* Language Switcher */
.lang-dropdown .btn-lang {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 6px 14px;
    color: var(--dark);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.lang-dropdown .btn-lang:hover {
    background: var(--slate-100);
    border-color: var(--slate-500);
}

.lang-dropdown .dropdown-menu {
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px !important;
}

.lang-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.lang-dropdown .dropdown-item:hover {
    background: var(--slate-100);
    color: var(--primary);
}

.lang-dropdown .dropdown-item.active {
    background: var(--primary-light);
    color: white;
}

.animated {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation-name: fadeIn;
}