/* =========================================
   miLiga.pro - Base Styles & Variables
   ========================================= */

:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #eff6ff;
    
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --bg-card: #FFFFFF;
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    
    --success: #10B981;
    --danger: #EF4444;
    
    --border-color: #E2E8F0;
    --border-dark: #334155;
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Typography & Utilities
   ========================================= */

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-light); }
.text-gray { color: #94A3B8; }

.mb-2 { margin-bottom: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.opacity-80 { opacity: 0.8; }
.relative { position: relative; }

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title.text-tight {
    font-size: 2rem;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }

/* =========================================
   Grid System
   ========================================= */

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-center { align-items: center; }
.gap-large { gap: 64px; }

@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .gap-large { gap: 40px; }
    .section-title { font-size: 2rem; }
}

/* =========================================
   Components
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn--primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn--secondary:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn--outline:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge--pill { border-radius: var(--radius-pill); }
.badge--success { background-color: #d1fae5; color: #065f46; }
.badge--danger { background-color: #fee2e2; color: #991b1b; }

.badge--pill i {
    color: #f59e0b;
    margin-left: 4px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.glass-panel--accent {
    border-top: 4px solid var(--primary);
}

/* Lists */
.check-list { margin-top: 24px; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.check-list i { font-size: 1.4rem; margin-top: 2px; }
.check-list--danger i { color: var(--danger); }
.check-list--success i { color: var(--success); }

/* =========================================
   Navbar
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar__logo img {
    height: 32px;
}

.navbar__nav {
    display: flex;
    gap: 32px;
}

.navbar__nav a {
    color: var(--text-main);
    font-weight: 500;
}

.navbar__nav a:hover {
    color: var(--primary);
}

.navbar__mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .navbar__nav, .navbar__actions .btn { display: none; }
    .navbar__mobile-toggle { display: block; }
}

/* =========================================
   Hero Section
   ========================================= */

.hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero__bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__content {
    max-width: 800px;
    margin-bottom: 60px;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero__title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 24px 0;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero__trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero__trust p {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__trust i { color: var(--success); }

/* Mockup Presentation */
.hero__visual {
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
}

.glass-mockup {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), var(--shadow-glow);
    overflow: hidden;
    transform-style: preserve-3d;
}

.mockup-img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .hero__title { font-size: 2.5rem; }
    .hero__buttons { flex-direction: column; width: 100%; }
    .hero__buttons .btn { width: 100%; }
    .hero__trust { flex-direction: column; gap: 12px; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   Audience Section
   ========================================= */

.card--audience {
    text-align: center;
    padding: 40px 24px;
}

.card--audience .card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 24px;
}

.card--audience h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card--audience p {
    color: var(--text-muted);
}

/* =========================================
   Features Grid
   ========================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card.hover-border:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* =========================================
   How It Works (Steps)
   ========================================= */

.steps-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}

.step-line {
    position: absolute;
    top: 64px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-dark);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step__number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px var(--bg-dark);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .step-line { display: none; }
    .steps-wrapper .grid { gap: 48px; }
}

/* =========================================
   CTA Section
   ========================================= */

.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--primary), #3B82F6, var(--success));
    z-index: -1;
    opacity: 0.3;
}

/* =========================================
   Footer
   ========================================= */

.footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    height: 32px;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.footer__logo:hover {
    filter: none;
}

.footer__links h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer__links a {
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
