* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f7fc;
    color: #1a2c3e;
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #dce5f0;
    padding: 16px 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.logo-text {
    background: linear-gradient(135deg, #2563eb, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #2563eb;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: #1e40af;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #eef2ff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
}

.btn-secondary:hover {
    background: #e0e7ff;
    border-color: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.btn-gradient {
    background: linear-gradient(95deg, #1e3a8a, #0f766e);
    color: white;
    border: none;
}

.btn-gradient:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px -5px rgba(15, 118, 110, 0.3);
}

.btn-info {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    cursor: default;
    transition: all 0.2s ease;
}

.btn-info:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    border-color: #2563eb;
}

.btn-download {
    background: #0d9488;
    color: white;
    font-size: 0.9rem;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.2);
}

.btn-download:hover {
    background: #0f766e;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.hero {
    padding: 50px 0 50px;
    text-align: center;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(to right, #1e293b, #2563eb, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.badge-item {
    background: #eef2ff;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e40af;
    transition: all 0.2s ease;
}

.btn-group {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-group .btn,
.btn-group .btn-info,
.btn-group .btn-download,
.btn-group .btn-gradient {
    min-width: 180px;
    justify-content: center;
}

section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: -15px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 20px 22px;
    transition: 0.25s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    height: 100%;
}

.feature-card:hover {
    border-color: #2563eb;
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -12px rgba(0,0,0,0.15);
}

.feature-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: inline-block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    border-radius: 14px;
    margin: 0 auto 14px;
    text-align: center;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
    line-height: 1.3;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card p {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}

/* Tag container: two per row, equal width */
.tag-group {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 4px;
}

.tag-group .tag {
    flex: 1;
    text-align: center;
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 10px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    min-width: 0;
}

.tag-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag-green {
    background: #d1fae5;
    color: #065f46;
}

.tag-yellow {
    background: #fef3c7;
    color: #92400e;
}

.tag-red {
    background: #fce4ec;
    color: #b71c1c;
}

.tag-purple {
    background: #ede9fe;
    color: #5b21b6;
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 28px;
    padding: 28px 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlight {
    border: 2px solid #0d9488;
    background: linear-gradient(145deg, #ffffff, #f0fdfa);
    box-shadow: 0 20px 35px -12px rgba(13, 148, 136, 0.15);
}

.pricing-card.highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 40px -12px rgba(13, 148, 136, 0.25);
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2563eb;
    margin: 15px 0 8px;
}

.price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: "✓";
    color: #0d9488;
    font-weight: bold;
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #0d9488;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.free-upgrade {
    background: #fef3c7;
    color: #b45309;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 12px;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 20px;
    padding: 20px 28px;
    border: 1px solid #e2e8f0;
}

.faq-item h4 {
    color: #1e3a8a;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.footer {
    background: #eef2ff;
    border-top: 1px solid #cbd5e1;
    padding: 32px 0 32px;
    text-align: center;
    color: #64748b;
}

.footer a {
    color: #2563eb;
    text-decoration: none;
}

.pricing-footer-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #475569;
    background: #f8fafc;
    display: inline-block;
    width: auto;
    padding: 8px 28px;
    border-radius: 60px;
}

#home, #features, #pricing, #faq, #contact, #legal {
    scroll-margin-top: 80px;
}

/* Custom tooltip styles */
.btn-download {
    position: relative;
}

.btn-download:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 12px;
    white-space: normal;
    width: 350px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    pointer-events: none;
}

.btn-download:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    border-width: 8px;
    border-style: solid;
    border-color: #d1fae5 transparent transparent transparent;
    pointer-events: none;
    z-index: 1000;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-badges {
        gap: 8px;
        margin-bottom: 32px;
    }
    .badge-item {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 40px;
    }
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 24px;
        line-height: 1.2;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-badges {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 24px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
    }
    .badge-item {
        font-size: 0.65rem;
        padding: 6px 14px;
        text-align: center;
        white-space: nowrap;
        line-height: 1.3;
        width: auto;
        min-width: 0;
        box-sizing: border-box;
    }
    .nav-links {
        gap: 16px;
    }
    .btn-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 300px;
        margin: 0 auto;
        padding: 0 2px;
    }
    .btn-group .btn,
    .btn-group .btn-info,
    .btn-group .btn-download,
    .btn-group .btn-gradient {
        min-width: auto;
        justify-content: center;
        width: 100%;
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }
    .feature-card h3 {
        font-size: 0.95rem;
        min-height: auto;
    }
    .feature-card p {
        font-size: 0.8rem;
    }
    .feature-number {
        font-size: 1.4rem;
        width: 44px;
        height: 44px;
        line-height: 44px;
        border-radius: 12px;
    }
    .btn-download:hover::after {
        white-space: normal;
        width: 280px;
        text-align: center;
    }
}

/* Get License button tooltip */
.btn-gradient {
    position: relative;
}

.btn-gradient:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    background: #b45309;
    color: white;
    font-size: 0.75rem;
    font-weight: normal;
    padding: 10px 16px;
    border-radius: 12px;
    white-space: normal;
    width: 280px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.4);
    pointer-events: none;
}

.btn-gradient:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    border-width: 8px;
    border-style: solid;
    border-color: #b45309 transparent transparent transparent;
    pointer-events: none;
    z-index: 1000;
}

/* Desktop: single line */
.hero h1 .line1 {
    display: inline;
}
.hero h1 .line2 {
    display: inline;
}

/* Mobile: two lines */
@media (max-width: 768px) {
    .hero h1 .line1 {
        display: block;
        text-align: center;
        margin-bottom: 6px; 
    }
    .hero h1 .line2 {
        display: block;
        text-align: center;
    }
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
