* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a1a;
    color: #eee;
    min-height: 100vh;
}

.page-transition {
    animation: fadeInPage 0.5s ease;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    background: rgba(10, 10, 26, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #1a1a3e;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #e94560;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

nav ul a:hover,
nav ul a.active {
    color: #e94560;
}

.btn-primary,
.btn-secondary {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e94560;
    color: white;
}

.btn-primary:hover {
    background: #c73652;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    border: 1px solid #e94560;
    color: #e94560;
}

.btn-secondary:hover {
    background: #e94560;
    color: white;
}

.btn-small {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

.btn-copy {
    background: #2196F3;
    color: white;
    margin-left: 8px;
}

.btn-copy:hover {
    background: #1976D2;
    transform: scale(1.05);
}

.btn-generate {
    background: #e94560;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-generate:hover {
    background: #c73652;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.3);
}

.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span {
    color: #e94560;
}

.hero p {
    font-size: 20px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero .buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.hero .stats div {
    text-align: center;
}

.hero .stats span {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #e94560;
}

.hero .stats span.pop {
    animation: pop 0.3s ease;
}

.hero .stats span.pulse {
    animation: pulse 2s infinite;
}

.hero .stats span.glitch {
    animation: glitch 3s infinite;
}

.hero .stats span.counter {
    animation: counter 4s infinite;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); color: #ff6b81; }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

@keyframes counter {
    0% { opacity: 1; }
    50% { opacity: 0.4; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    padding: 60px 0;
}

section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

section h2 span {
    color: #e94560;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #2a2a4e;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #3a3a5e;
}

.feature h3 {
    font-size: 18px;
    margin: 15px 0 10px;
}

.feature p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plan {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #2a2a4e;
    transition: transform 0.3s;
    position: relative;
}

.plan:hover {
    transform: translateY(-5px);
}

.plan.popular {
    border-color: #e94560;
}

.plan .badge {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    background: #e94560;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.plan h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.plan .price {
    font-size: 36px;
    font-weight: 800;
    color: #e94560;
    margin: 15px 0;
}

.plan ul {
    list-style: none;
    margin: 20px 0;
}

.plan ul li {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
}

.plan .btn-primary {
    display: inline-block;
    margin-top: 10px;
}

.dashboard {
    padding: 40px 0;
}

.dashboard h1 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 800;
}

.dashboard h1 span {
    color: #e94560;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #2a2a4e;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #e94560;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.1);
}

.stat-card .number {
    font-size: 32px;
    font-weight: 800;
    color: #e94560;
}

.stat-card .label {
    color: #888;
    font-size: 14px;
    margin-top: 5px;
}

.card {
    background: #1a1a2e;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #2a2a4e;
    transition: all 0.3s;
}

.card:hover {
    border-color: #3a3a5e;
}

.card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.card h2 span {
    color: #e94560;
}

.form-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.form-group select,
.form-group input {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #2a2a4e;
    background: #0a0a1a;
    color: #eee;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #e94560;
}

.key-result {
    margin-top: 15px;
    padding: 20px;
    background: #0a2a1a;
    border-radius: 10px;
    border: 1px solid #4CAF50;
    display: none;
    animation: fadeIn 0.5s ease;
}

.key-result.show {
    display: block;
}

.key-result .key {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    background: #0a0a1a;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #1a1a3e;
}

th {
    color: #e94560;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

tr:hover {
    background: #0a0a1a;
}

.status-valid {
    color: #4CAF50;
    font-weight: 600;
}

.status-expired {
    color: #f44336;
    font-weight: 600;
}

.status-warning {
    color: #ff9800;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-week {
    background: #2196F3;
    color: white;
}

.badge-month {
    background: #4CAF50;
    color: white;
}

.badge-year {
    background: #ff9800;
    color: white;
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(233, 69, 96, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(233, 69, 96, 0.3);
    }
}

.glow {
    animation: glow 2s infinite;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: #aaa;
    margin-bottom: 8px;
}

.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #1a1a3e;
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero .stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .form-group {
        flex-direction: column;
    }
    .form-group select,
    .form-group input {
        width: 100%;
        min-width: unset;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard h1 {
        font-size: 24px;
    }
    section h2 {
        font-size: 24px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}