:root {
    --bg-body-gradient: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);

    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-tertiary: #888888;

    --accent: #E11D48;
    --accent-hover: #BE123C;
    --accent-soft: rgba(225, 29, 72, 0.08);
    --accent-glow: rgba(225, 29, 72, 0.3);

    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.12);

    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: url('bg.gif') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(20px) saturate(120%);
    z-index: -1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo span {
    color: var(--accent);
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 32px;
    font-size: 0.95rem;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.main-nav a:hover {
    color: var(--accent);
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 32px;
    color: var(--text-primary);
    background: linear-gradient(180deg, #111 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
    width: 100%;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 40px;
    background-color: var(--accent);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 8px 20px -4px rgba(225, 29, 72, 0.4);
    letter-spacing: -0.01em;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px -4px rgba(225, 29, 72, 0.5);
}

.products-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    text-align: center;
    margin-bottom: 24px;
    display: block;
}

.category-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    gap: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: white;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.card-img {
    height: 260px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #f8f8f8;
}

.card:hover .card-img img {
    transform: scale(1.08);
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--status-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.version-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-body-gradient);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    align-self: flex-start;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex: 1;
}

.card .btn {
    width: 100%;
    height: 48px;
    background: #f3f4f6;
    color: var(--text-primary);
    box-shadow: none;
    border: 1px solid transparent;
}

.card .btn:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 8px 20px -4px rgba(225, 29, 72, 0.3);
}

.info-section {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.info-card {
    padding: 40px;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    background: rgba(225, 29, 72, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.password-pill {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.password-pill:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.pass-value {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--accent);
    letter-spacing: 1px;
}

.hidden {
    display: none !important;
}

footer {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
}

footer p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}