/* ================================ */
/* GUIDOOO - Global Styles          */
/* ================================ */

:root {
    --blue: #2A93D5;
    --cyan: #37CAEC;
    --turquoise: #3DD9D6;
    --purple: #A174F0;
    --dark: #0a0b0f;
    --darker: #060709;
    --card: #12131a;
    --card-light: #1a1b24;
    --text: #FFFFFF;
    --text-secondary: #8b8d98;
    --text-muted: #5a5c66;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --border: rgba(255,255,255,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container { max-width: 1600px; margin: 0 auto; padding: 0 80px; }

@media (min-width: 1800px) {
    .container { max-width: 1800px; padding: 0 100px; }
}

@media (min-width: 2200px) {
    .container { max-width: 2000px; padding: 0 120px; }
}

@media (max-width: 1400px) {
    .container { padding: 0 60px; }
}

@media (max-width: 1024px) {
    .container { padding: 0 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
}

/* Icon Styles */
.table-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    vertical-align: middle;
    margin-right: 6px;
}

.status-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    vertical-align: middle;
    margin-right: 4px;
}

.faq-title-icon {
    width: 24px;
    height: 24px;
    stroke: var(--cyan);
    fill: none;
    stroke-width: 1.5;
    vertical-align: middle;
    margin-right: 10px;
}

/* ================================ */
/* NAVIGATION                       */
/* ================================ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 11, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}

nav.scrolled .logo-img {
    height: 45px;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-links { 
    display: flex; 
    gap: 32px; 
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
    color: var(--cyan);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    min-width: 220px;
    margin-top: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s;
}

.nav-dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
}

.nav-dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-dropdown-icon.pro { background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.nav-dropdown-icon.allievi { background: linear-gradient(135deg, var(--turquoise), var(--cyan)); }
.nav-dropdown-icon.quiz { background: linear-gradient(135deg, var(--purple), var(--blue)); }

.nav-dropdown-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.nav-dropdown-text span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.nav-dropdown-text small {
    font-size: 12px;
    color: var(--text-muted);
}

.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ================================ */
/* BUTTONS                          */
/* ================================ */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-dark {
    background: var(--card-light);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-dark:hover { 
    background: var(--card); 
    border-color: rgba(255,255,255,0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(55, 202, 236, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

.btn-outline:hover {
    background: rgba(55, 202, 236, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ================================ */
/* STORE BUTTONS                    */
/* ================================ */
.store-buttons {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.store-btn.primary {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
}

.store-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(55, 202, 236, 0.3);
}

.store-btn.secondary {
    background: var(--card-light);
    border: 1px solid var(--border);
    color: var(--text);
}

.store-btn.secondary:hover { background: var(--card); }

.store-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ================================ */
/* SECTIONS                         */
/* ================================ */
section { padding: 120px 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================ */
/* CARDS                            */
/* ================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 202, 236, 0.2);
}

/* ================================ */
/* FORMS                            */
/* ================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 15px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(55, 202, 236, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* ================================ */
/* BADGES                           */
/* ================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-cyan {
    background: rgba(55, 202, 236, 0.1);
    border: 1px solid rgba(55, 202, 236, 0.2);
    color: var(--cyan);
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.badge-purple {
    background: rgba(161, 116, 240, 0.1);
    border: 1px solid rgba(161, 116, 240, 0.2);
    color: var(--purple);
}

/* ================================ */
/* MOBILE MENU                      */
/* ================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 1001;
    padding: 80px 32px;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin-bottom: 28px; }
.mobile-menu a { font-size: 22px; font-weight: 600; color: var(--text); text-decoration: none; }

.mobile-menu-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* ================================ */
/* FOOTER                           */
/* ================================ */
footer {
    background: #000;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--card-light);
    border-color: var(--cyan);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 14px; }

.footer-column a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover { color: var(--cyan); }

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

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 28px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-legal a:hover { color: var(--text-secondary); }

/* ================================ */
/* PAGE HEADER                      */
/* ================================ */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(55, 202, 236, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================ */
/* RESPONSIVE                       */
/* ================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .container { padding: 0 32px; }
    
    section { padding: 80px 0; }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    
    .container { padding: 0 24px; }
    
    section { padding: 60px 0; }
    
    .store-buttons { flex-direction: column; }
    .store-btn { justify-content: center; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    section { padding: 48px 0; }
    
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 15px; }
    
    .btn { padding: 14px 28px; font-size: 14px; }
    .btn-lg { padding: 16px 32px; }
}

/* Large Screens */
@media (min-width: 1600px) {
    .nav-links { gap: 36px; }
    .nav-links a { font-size: 15px; }
    .nav-cta { gap: 14px; }
    
    section { padding: 120px 0; }
    
    .section-eyebrow { font-size: 13px; }
    .section-title { font-size: 40px; }
    .section-subtitle { font-size: 17px; }
    
    .footer-grid { gap: 60px; }
}

@media (min-width: 1920px) {
    .logo-img { height: 75px; }
    nav.scrolled .logo-img { height: 52px; }
    
    .nav-links { gap: 42px; }
    .nav-links a { font-size: 15px; }
    
    section { padding: 140px 0; }
    
    .section-title { font-size: 44px; }
    .section-subtitle { font-size: 18px; max-width: 650px; }
    
    .btn { padding: 16px 32px; font-size: 15px; }
    .btn-lg { padding: 20px 40px; font-size: 17px; }
}

@media (min-width: 2200px) {
    .logo-img { height: 85px; }
    nav.scrolled .logo-img { height: 58px; }
    
    section { padding: 160px 0; }
    
    .section-title { font-size: 50px; }
}
