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

:root {
    --primary: #00D9FF;
    --primary-dark: #00B8D4;
    --secondary: #A855F7;
    --accent: #FF6B35;
    --text-dark: #ffffff;
    --text-gray: #b4b4b4;
    --text-light: #808080;
    --bg-dark: #0a0a0f;
    --bg-card: #1a1a2e;
    --bg-glass: rgba(26, 26, 46, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 217, 255, 0.15);
    --shadow-lg: 0 20px 60px rgba(168, 85, 247, 0.3);
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #A855F7 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 217, 255, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.2) 0px, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
}

.btn-login {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
}

.hero {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-steps {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

.step span {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.step-arrow {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.5);
}

.phone-mockup {
    background: linear-gradient(145deg, #1a1a2e 0%, #0a0a0f 100%);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 30px;
    padding: 40px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #1a1a1a;
    border-radius: 30px 30px 0 0;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 10px;
    background: #0a0a0f;
    border-radius: 10px;
}

.qr-preview-large {
    text-align: center;
}

.qr-code-sample {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3); }
    50% { box-shadow: 0 10px 60px rgba(168, 85, 247, 0.5); }
}

.qr-code-sample::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
}

.qr-code-sample::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
}

.qr-sample-text {
    color: var(--text-gray);
    font-size: 14px;
}

.qr-types {
    padding: 80px 0;
    background: transparent;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

a.type-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.type-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.type-card:hover::before {
    opacity: 0.1;
}

.type-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
}

.type-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.type-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
    transition: all 0.3s;
}

.type-card:hover .type-icon {
    transform: rotateY(360deg);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.5);
}

.type-icon i {
    font-size: 28px;
    color: white;
}

.type-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.type-card p {
    font-size: 14px;
    color: var(--text-gray);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-secondary);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-section {
    text-align: center;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.features-detail {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.features-detail::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.4);
}

.feature-icon i {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cta-final {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content .highlight {
    color: white;
    text-decoration: underline;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-content .btn-large {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content .btn-large:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-col a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: transparent;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-top: -40px;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 16px;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    font-size: 16px;
    width: 20px;
}

.pricing-features li i.fa-check {
    color: var(--primary);
}

.pricing-features li i.fa-times {
    color: var(--text-light);
    opacity: 0.5;
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pricing:hover {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.btn-pricing.primary {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.btn-pricing.primary:hover {
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.3s;
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.5);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 14px;
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 10px;
    }
    
    .btn-login {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}
