/* ============================================
   Gestão Formações - Commercial Website Styles
   ============================================ */

:root {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --primary-light: #42a5f5;
    --secondary: #26a69a;
    --accent: #ff6f00;
    --bg-dark: #0a1929;
    --bg-card: #132f4c;
    --text-primary: #ffffff;
    --text-secondary: #b2bac2;
    --gradient: linear-gradient(135deg, #1565c0 0%, #42a5f5 50%, #26a69a 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 25, 41, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(21, 101, 192, 0.15) 0%, transparent 60%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(21, 101, 192, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
}

.btn-download {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
}

.btn-download:hover {
    background: var(--primary-dark);
}

/* App Preview */
.hero-visual {
    display: flex;
    justify-content: center;
}

.app-preview {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.875rem;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-dots span:first-child { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:last-child { background: #27ca40; }

.app-content {
    display: flex;
    height: 300px;
}

.sidebar {
    width: 150px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
}

.sidebar-item {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.main-area {
    flex: 1;
    padding: 16px;
}

.calendar-preview .month {
    font-weight: 600;
    margin-bottom: 16px;
}

.session-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(21, 101, 192, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid var(--primary-light);
}

.session-item .time {
    font-weight: 600;
    color: var(--primary-light);
}

.session-item .title {
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d2137 100%);
}

.features h2, .pricing h2, .download h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-dark);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 2px solid var(--primary);
    text-align: center;
    box-shadow: 0 0 60px rgba(21, 101, 192, 0.2);
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-label {
    display: inline-block;
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-amount .currency {
    font-size: 1.5rem;
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 700;
}

.pricing-amount .period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d2137 100%);
}

.download-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.download-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.download-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.download-card h3 {
    margin-bottom: 8px;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.download-card .version {
    display: block;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1.25rem;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 48px 0 24px;
    background: #061220;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-brand p {
    width: 100%;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-brand a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
}

.modal-price {
    text-align: center;
    font-size: 1.25rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
