/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Marca PlotCloud — teal/petróleo */
    --brand-deep: #0F3D4F;
    --brand: #14B8A6;
    --brand-light: #5EEAD4;

    --bg: #07161D;
    --bg-soft: #0C2230;
    --bg-card: #112C3B;
    --border: #1B3A4B;
    --text: #E6F4F1;
    --text-dim: #8FA8B0;
    --text-soft: #B8CDD2;
    --primary: var(--brand);
    --primary-strong: #0F8F84;
    --primary-soft: rgba(20, 184, 166, 0.12);
    --accent: var(--brand-light);
    --gradient: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-light) 100%);
    --btn-gradient: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    --radius: 12px;
    --radius-lg: 16px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section { padding: 100px 0; position: relative; }

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--btn-gradient);
    color: #fff;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20, 184, 166, 0.45); }
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-card); border-color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* === NAVBAR === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    text-decoration: none;
}
.logo-mark {
    width: 40px;
    height: 30px;
    color: var(--brand-light);
    flex-shrink: 0;
}
.logo-wordmark {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.4px;
}
.logo-wordmark strong { font-weight: 800; color: var(--text); }
.footer-brand { margin-bottom: 16px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }
.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text) !important;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.nav-login::before {
    content: '→';
    font-size: 16px;
    line-height: 1;
    color: var(--accent);
    transition: transform 0.2s;
}
.nav-login:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.nav-login:hover::before { transform: translateX(2px); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* === HERO === */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 50% 0%, rgba(20, 184, 166, 0.18), transparent 70%),
        radial-gradient(ellipse 600px 400px at 80% 50%, rgba(94, 234, 212, 0.08), transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; text-align: center; }
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-soft);
    max-width: 720px;
    margin: 0 auto 40px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}
.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 14px; margin-top: 4px; }

/* === CLOUDS STRIP === */
.clouds-strip {
    padding: 50px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.strip-title {
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}
.clouds-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}
.cloud-item strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.cloud-item span { color: var(--text-dim); font-size: 14px; }

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-soft);
    font-size: 1.1rem;
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: var(--shadow);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.feature-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--gradient);
    border-radius: 6px;
    opacity: 0.85;
}
.icon-dashboard::after { clip-path: polygon(0 0,50% 0,50% 60%,100% 60%,100% 100%,0 100%); }
.icon-money::after { clip-path: circle(50% at 50% 50%); }
.icon-recommend::after { clip-path: polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%); }
.icon-collect::after { clip-path: polygon(0 20%,100% 20%,100% 100%,0 100%); }
.icon-multi::after { clip-path: polygon(0 0,60% 0,60% 60%,100% 60%,100% 100%,40% 100%,40% 40%,0 40%); }
.icon-security::after { clip-path: polygon(50% 0,100% 25%,100% 70%,50% 100%,0 70%,0 25%); }
.icon-topology::after { clip-path: polygon(0 50%,30% 0,70% 0,100% 50%,70% 100%,30% 100%); }
.icon-export::after { clip-path: polygon(40% 0,60% 0,60% 60%,80% 60%,50% 100%,20% 60%,40% 60%); }
.icon-anomaly::after { clip-path: polygon(0 80%,20% 30%,40% 60%,60% 10%,80% 70%,100% 40%,100% 100%,0 100%); }

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p { color: var(--text-dim); font-size: 15px; }

/* === HOW IT WORKS === */
.how { background: var(--bg-soft); }
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}
.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
}
.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); }

/* === BENEFITS === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.benefit {
    padding: 28px;
    border-left: 3px solid var(--primary);
    background: var(--bg-card);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.benefit h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
}
.benefit p { color: var(--text-dim); font-size: 15px; }

/* === PRICING === */
.pricing { background: var(--bg-soft); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 20px 40px rgba(20, 184, 166, 0.15);
    transform: translateY(-8px);
}
.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--btn-gradient);
    color: #fff;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}
.plan-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
}
.plan-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.plan-price .currency { font-size: 1.2rem; vertical-align: top; margin-right: 4px; color: var(--text-dim); }
.plan-price .period { font-size: 1rem; font-weight: 400; color: var(--text-dim); }
.plan-price .period-only { font-size: 1.5rem; font-weight: 600; color: var(--text-soft); }
.plan-price .from {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.plan-focus {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 18px;
}
.plan-setup {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 18px;
    padding: 6px 12px;
    background: rgba(94, 234, 212, 0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 6px 6px 0;
    display: inline-block;
}
.plan-desc { color: var(--text-dim); margin-bottom: 24px; }

.tagline-quote {
    font-style: italic;
    color: var(--accent);
    font-size: 1.05rem;
}

.plan-features {
    flex: 1;
    margin-bottom: 28px;
}
.plan-features li {
    padding: 10px 0;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}
.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.plan-features li:last-child { border-bottom: none; }

/* === CTA === */
.cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(94, 234, 212, 0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.cta p {
    color: var(--text-soft);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 16px;
    font-weight: 800;
}
.contact-info p { color: var(--text-soft); margin-bottom: 28px; }
.contact-list li {
    padding: 10px 0;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
}
.contact-list li strong { color: var(--text); margin-right: 8px; }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    margin-top: 6px;
    transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-row textarea { resize: vertical; }

/* === FOOTER === */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-grid p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-grid h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    margin-bottom: 16px;
}
.footer-grid ul li {
    padding: 6px 0;
    color: var(--text-dim);
    font-size: 14px;
}
.footer-grid ul li a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 880px) {
    section { padding: 70px 0; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        gap: 16px;
        align-items: stretch;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s, transform 0.2s;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-toggle { display: flex; }
    .hero-stats { grid-template-columns: 1fr; }
    .clouds-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}
