/* ============================================================
   ElevaTechPro Marketing Website — Design System
   www.elevatechpro.com
   ============================================================ */

/* ---- Reset & Variables ---- */
:root {
    --primary: #0d9488;
    --primary-light: #2dd4bf;
    --primary-dark: #0f766e;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --surface: #ffffff;
    --bg: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --max-width: 1200px;
    --section-padding: 100px 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 3vw, 28px); }
h4 { font-size: 20px; }

.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-teal { color: var(--primary); }
.text-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }

.subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 640px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { height: 28px; }

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

.nav-links a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: #f1f5f9; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.nav-cta:hover { background: var(--primary-dark); color: white !important; }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle svg { width: 24px; height: 24px; }

/* ---- Hero Section ---- */
.hero {
    background: var(--dark);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(13,148,136,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 { color: #f1f5f9; margin-bottom: 20px; }

.hero .subtitle {
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-screenshot {
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover { background: var(--primary-dark); color: white; }

.btn-outline {
    background: transparent;
    color: #f1f5f9;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover { border-color: rgba(255,255,255,0.4); color: #f1f5f9; }

.btn-white {
    background: white;
    color: var(--dark);
}

.btn-white:hover { background: #f1f5f9; color: var(--dark); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

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

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--dark-2);
    border-top: 1px solid var(--dark-3);
    border-bottom: 1px solid var(--dark-3);
    padding: 24px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ---- Section Styles ---- */
.section { padding: var(--section-padding); }

.section-dark {
    background: var(--dark);
    color: #f1f5f9;
}

.section-dark .subtitle { color: #94a3b8; }

.section-gray { background: var(--bg); }

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

/* ---- Bento Grid ---- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.bento-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.bento-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top left;
    border-bottom: 1px solid var(--border);
}

.bento-card-body { padding: 20px; }

.bento-card h4 { margin-bottom: 8px; }

.bento-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.bento-card-large {
    grid-column: span 2;
}

/* ---- Feature Row (alternating screenshot + text) ---- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.feature-row:nth-child(even) .feature-img { order: -1; }

.feature-img {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px var(--border);
}

.feature-text h3 { margin-bottom: 16px; }

.feature-text p { color: var(--text-muted); margin-bottom: 20px; }

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.293l6.646-6.647a.5.5 0 01.708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* ---- Differentiator Cards ---- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s;
}

.diff-card:hover { border-color: var(--primary); }

.diff-icon {
    width: 48px;
    height: 48px;
    background: rgba(13,148,136,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-light);
    font-size: 24px;
}

.diff-card h4 { color: #f1f5f9; margin-bottom: 12px; }

.diff-card p { color: #94a3b8; font-size: 14px; line-height: 1.7; }

/* ---- How It Works ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    counter-reset: step;
}

.step {
    text-align: center;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: flex;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 16px;
}

.step h4 { margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---- Pricing ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card--featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.pricing-price {
    font-family: var(--font-mono);
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin: 16px 0;
}

.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--dark);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 { color: #f1f5f9; margin-bottom: 16px; }
.cta-section p { color: #94a3b8; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- Comparison Table ---- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th {
    background: var(--dark);
    color: #f1f5f9;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:hover td { background: var(--bg); }

.check { color: var(--primary); font-weight: 700; }
.cross { color: #ef4444; }

/* ---- Phone Mockup ---- */
.phone-frame {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 32px;
    border: 8px solid #1e293b;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.phone-frame img { width: 100%; display: block; }

/* ---- Screenshot with Browser Chrome ---- */
.browser-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 0 1px var(--border);
}

.browser-bar {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.browser-url {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-left: 8px;
}

.browser-frame img { width: 100%; display: block; }

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 60px 0 40px;
    border-top: 1px solid var(--dark-3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 280px; }

.footer h5 { color: #f1f5f9; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 8px; }

.footer-links a { color: #94a3b8; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #f1f5f9; }

.footer-bottom {
    border-top: 1px solid var(--dark-3);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.2s;
    background: var(--surface);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

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

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

select.form-input { appearance: none; cursor: pointer; }

/* ---- FAQ ---- */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after { content: '+'; font-size: 20px; color: var(--primary); }

.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 500px; padding-top: 12px; }

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

.badge-teal { background: rgba(13,148,136,0.1); color: var(--primary); }
.badge-dark { background: var(--dark); color: #f1f5f9; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero .subtitle { margin-left: auto; margin-right: auto; }
    .hero .btn-group { justify-content: center; }
    .hero-screenshot { max-width: 700px; margin: 0 auto; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card-large { grid-column: span 2; }
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row:nth-child(even) .feature-img { order: 0; }
    .diff-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }
    .hero { padding: 120px 0 60px; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--dark-3);
    }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card-large { grid-column: span 1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .comparison-table { font-size: 12px; }
    .comparison-table th, .comparison-table td { padding: 8px; }
}
