* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --storm-bg-main: #07080c;
    --storm-bg-inner: #0b0c12;
    --storm-button: #10121a;
    --storm-border: #10121a;
    --storm-text-primary: #ffffff;
    --storm-text-secondary: #a0a0a0;
    --storm-accent: #0066ff;
    --storm-accent-light: #3399ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--storm-bg-main);
    color: var(--storm-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--storm-bg-main);
    z-index: 1000;
    border-bottom: 1px solid var(--storm-border);
}

.navbar {
    padding: 1.25rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--storm-text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--storm-text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--storm-text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--storm-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 0.25rem;
    background-color: var(--storm-bg-inner);
    border-radius: 999px;
    padding: 2px;
    border: 1px solid var(--storm-border);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--storm-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
    background-color: var(--storm-accent);
    color: #fff;
}

.lang-btn:hover:not(.active) {
    background-color: var(--storm-bg-main);
    color: var(--storm-text-primary);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 8rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--storm-bg-main);
}

.hero .container {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--storm-text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--storm-accent-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    color: var(--storm-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-compatibility {
    font-size: 0.875rem;
    color: var(--storm-text-secondary);
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
}

.btn-microtext {
    font-size: 0.8125rem;
    color: var(--storm-text-secondary);
    margin-top: 0.75rem;
    text-align: center;
    opacity: 0.85;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--storm-button);
    color: var(--storm-text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    display: block;
}

.btn-primary:hover {
    background-color: var(--storm-bg-inner);
    border-color: var(--storm-accent);
    color: var(--storm-accent-light);
    transform: translateY(-1px);
}

.btn-primary:focus {
    outline: 2px solid var(--storm-accent);
    outline-offset: 2px;
}.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.6s ease;
    position: relative;
    padding: 10px; /* Espaço para a máscara não cortar abruptamente */
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1) contrast(1.08);

    /* Mantém a imagem em formato quadrado, sem cantos arredondados */
    border-radius: 0;

    /* Fade suave em TODOS os lados (esquerda/direita e topo/base) */
    /* Combinação de gradiente horizontal + vertical para criar um “halo” em volta da imagem quadrada */
    mask-image: radial-gradient(ellipse farthest-side at center,
        rgba(0, 0, 0, 1) 35%,
        rgba(0, 0, 0, 0.95) 45%,
        rgba(0, 0, 0, 0.85) 55%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.3) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: radial-gradient(ellipse farthest-side at center,
        rgba(0, 0, 0, 1) 35%,
        rgba(0, 0, 0, 0.95) 45%,
        rgba(0, 0, 0, 0.85) 55%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.3) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}
/* Video Section */
.video-section {
    padding: 8rem 0;
    background-color: var(--storm-bg-main);
}

.video-container {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--storm-border);
    background-color: var(--storm-bg-main);
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.demo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.video-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--storm-text-secondary);
    margin-top: 1rem;
    opacity: 0.75;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--storm-bg-main);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--storm-text-primary);
    letter-spacing: -0.02em;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background-color: var(--storm-bg-main);
    padding: 2.25rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--storm-border);
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.about-card:hover {
    border-color: var(--storm-accent);
    background-color: var(--storm-bg-inner);
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
    color: var(--storm-accent);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.card-icon svg {
    width: 42px;
    height: 42px;
}

.about-card:hover .card-icon {
    color: var(--storm-accent-light);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    color: var(--storm-text-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.about-card p {
    color: var(--storm-text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    flex-grow: 1;
}

/* Download Section */
.download {
    padding: 8rem 0;
    background-color: var(--storm-bg-main);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    background-color: var(--storm-bg-main);
    border: 1px solid var(--storm-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.plan-card:hover {
    border-color: var(--storm-border);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.plan-card.plan-featured {
    border-color: var(--storm-border);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.plan-card.plan-featured:hover {
    border-color: rgba(0, 102, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.25);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--storm-accent);
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    margin-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--storm-text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--storm-accent-light);
    margin: 0;
    line-height: 1.2;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--storm-text-secondary);
    margin-left: 0.25rem;
}

.plan-subtitle {
    font-size: 0.875rem;
    color: var(--storm-text-secondary);
    margin: 0 0 1.5rem 0;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
}

.plan-period-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: var(--storm-bg-main);
    padding: 0.375rem;
    border-radius: 8px;
    border: 1px solid var(--storm-border);
}

.period-btn {
    flex: 1;
    padding: 0.625rem 0.75rem;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: var(--storm-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-btn:hover {
    color: var(--storm-text-primary);
    background-color: var(--storm-bg-inner);
}

.period-btn.active {
    background-color: var(--storm-accent);
    color: #ffffff;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9375rem;
    color: var(--storm-text-secondary);
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--storm-accent);
    font-weight: 600;
}

.btn-plan {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.btn-plan-free {
    background-color: var(--storm-button);
    color: var(--storm-text-primary);
    border: 1px solid var(--storm-border);
}

.btn-plan-free:hover {
    background-color: var(--storm-bg-main);
    border-color: var(--storm-accent);
    color: var(--storm-accent-light);
    transform: translateY(-1px);
}

.btn-plan-paid {
    background-color: var(--storm-accent);
    color: #ffffff;
}

.btn-plan-paid:hover {
    background-color: var(--storm-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-plan:focus {
    outline: 2px solid var(--storm-accent-light);
    outline-offset: 2px;
}

.btn-plan:active {
    transform: translateY(0);
}

.plan-file-info {
    font-size: 0.8125rem;
    color: var(--storm-text-secondary);
    margin: 0;
    font-family: 'Courier New', monospace;
    opacity: 0.7;
}

/* Auth (Login/Cadastro) */
.auth {
    padding: 8rem 0;
    background-color: var(--storm-bg-main);
}

.auth-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.auth-header {
    text-align: left;
    margin-bottom: 3rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--storm-text-secondary);
    max-width: 520px;
    margin-top: 0.75rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
}

.auth-card {
    background-color: var(--storm-bg-main);
    border: 1px solid var(--storm-border);
    border-radius: 12px;
    padding: 2.5rem 2.25rem;
}

.auth-secondary h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.auth-secondary p {
    font-size: 0.95rem;
    color: var(--storm-text-secondary);
    line-height: 1.7;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-field label {
    font-size: 0.9rem;
    color: var(--storm-text-secondary);
}

.auth-field input {
    background-color: var(--storm-bg-inner);
    border: 1px solid var(--storm-border);
    border-radius: 6px;
    padding: 0.75rem 0.85rem;
    color: var(--storm-text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.auth-field input::placeholder {
    color: rgba(160, 160, 160, 0.7);
}

.auth-field input:focus {
    border-color: var(--storm-accent);
    box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.2);
}

.auth-submit {
    width: 100%;
    margin-top: 0.75rem;
    opacity: 0.85;
    cursor: not-allowed;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
}

.auth-note {
    font-size: 0.8125rem;
    color: var(--storm-text-secondary);
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--storm-bg-main);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--storm-border);
}

footer p {
    color: var(--storm-text-secondary);
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.footer-note {
    color: var(--storm-text-secondary) !important;
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.8125rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Download Section Responsive */
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .plan-period-selector {
        flex-direction: column;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .plan-header h3 {
        font-size: 1.35rem;
    }

    .plan-price {
        font-size: 1.75rem;
    }

    .about-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-download {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 4rem 0;
    }

    .about,
    .download,
    .video-section {
        padding: 4rem 0;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .logo-img {
        height: 28px;
    }

    /* Download Section Mobile */
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-period-selector {
        gap: 0.375rem;
    }
    
    .period-btn {
        font-size: 0.8125rem;
        padding: 0.5rem 0.625rem;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .plan-header h3 {
        font-size: 1.25rem;
    }

    .plan-price {
        font-size: 1.5rem;
    }

    .hero-compatibility {
        font-size: 0.8125rem;
    }

    .btn-microtext {
        font-size: 0.75rem;
    }
}
