/* ============================================
   FACUGO! STREAM - MAIN STYLESHEET
   ============================================ */

/* VARIABLES */
:root {
    --primary: #6B4BFF;
    --primary-dark: #5839E6;
    --bg-dark: #0A0A0F;
    --bg-card: #16161F;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B4C8;
    --border: #2A2A38;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo {
        height: 45px;
    }
}

.nav-btn {
    background: var(--primary);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(107, 75, 255, 0.3);
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(107, 75, 255, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 160px 24px 120px;
    background: linear-gradient(135deg, #6B4BFF 0%, #0A0A0F 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(107, 75, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 75, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(107, 75, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(107, 75, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: backgroundMove 30s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background: 
            radial-gradient(circle at 20% 50%, rgba(107, 75, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(107, 75, 255, 0.1) 0%, transparent 50%);
    }
    50% {
        background: 
            radial-gradient(circle at 80% 30%, rgba(107, 75, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, rgba(107, 75, 255, 0.1) 0%, transparent 50%);
    }
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(360deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(107, 75, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(107, 75, 255, 0.4);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--text-primary);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(107, 75, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(107, 75, 255, 0.15);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 60px auto;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(107, 75, 255, 0.1);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    font-size: 16px;
}

tr:last-child td {
    border-bottom: none;
}

.highlight {
    background: rgba(107, 75, 255, 0.05);
}

.highlight td {
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 24px 24px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal-content a {
    color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 100px 20px;
    max-width: 1000px;
    margin: auto;
}

.faq h2 {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.faq-answer {
    display: none;
    padding: 20px 24px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -1px;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--text-primary);
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-item.active .faq-question {
    border-radius: 12px 12px 0 0;
    border-bottom-color: transparent;
    border-color: var(--primary);
}

.faq-item.active .faq-answer {
    display: block !important;
    animation: fadeInUp 0.4s ease forwards;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    padding: 100px 20px;
    text-align: center;
}

.cta-final h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-container {
        padding: 16px 20px;
    }

    .logo {
        height: 45px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .hero::after {
        animation: backgroundMove 40s linear infinite;
    }

    .section {
        padding: 60px 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    th, td {
        padding: 16px 12px;
        font-size: 14px;
    }

    .modal-content {
        padding: 30px 24px;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .card {
        padding: 24px;
    }

    th, td {
        padding: 12px 8px;
        font-size: 13px;
    }
}