:root {
    --primary: #c21e1e; /* WPS Red */
    --primary-light: #fef2f2;
    --secondary: #2563eb; /* Blue for trust */
    --accent: #f59e0b; /* Amber for attention */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --nav-h: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec {
    padding: 80px 0;
}

.sec-head {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sec-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Navbar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #a31919;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 30, 30, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero */
#hero {
    padding-top: calc(var(--nav-h) + 60px);
    background: radial-gradient(circle at top right, #fff5f5 0%, #ffffff 50%);
    text-align: center;
}

.hero-h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-h1 span {
    color: var(--primary);
}

.hero-p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.h-stat-item {
    text-align: center;
}

.h-stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.h-stat-lbl {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Features */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.feat-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.feat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feat-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feat-intro {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feat-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feat-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feat-info {
    flex: 1;
}

.feat-visual {
    flex: 1;
    background: #f1f5f9;
    border-radius: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feat-visual::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 25%, rgba(194, 30, 30, 0.05) 50%, transparent 75%);
    animation: move-bg 10s linear infinite;
}

@keyframes move-bg {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Platforms */
.plat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plat-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.plat-ico {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
}

.plat-name {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.plat-ver {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.plat-req {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

/* Reviews */
.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rev-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.rev-stars {
    color: var(--accent);
    margin-bottom: 15px;
}

.rev-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.rev-user {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Security */
.sec-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.sec-info-item {
    text-align: center;
    padding: 30px;
}

.sec-info-ico {
    width: 48px;
    height: 48px;
    color: var(--secondary);
    margin: 0 auto 20px;
}

.cmp-table-wrap {
    overflow-x: auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
}

.cmp-table th, .cmp-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cmp-table th {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cmp-table td:first-child {
    font-weight: 600;
}

.cmp-check {
    color: #10b981;
}

/* Versions */
.ver-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ver-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.ver-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(194, 30, 30, 0.1);
}

.ver-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.ver-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.ver-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.ver-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.ver-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.ver-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-q {
    padding: 20px 25px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-q:hover {
    background: var(--primary-light);
}

.faq-chevron {
    transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-a {
    max-height: 500px;
}

.faq-a-inner {
    padding: 0 25px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 60px 0 30px;
    text-align: center;
}

.foot-copy {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #374151;
    font-size: 0.85rem;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
    .feat-grid, .rev-grid, .ver-grid { grid-template-columns: repeat(2, 1fr); }
    .plat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-h1 { font-size: 2.5rem; }
    .feat-grid, .rev-grid, .ver-grid, .plat-grid, .sec-info-grid { grid-template-columns: 1fr; }
    .feat-row { flex-direction: column !important; }
    .nav-links { display: none; }
}
