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

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ff6b35;
    --accent-hover: #ff5722;
    --accent-light: #ff8c69;
    --border: #333333;
    --gradient-1: #ff6b35;
    --gradient-2: #f7931e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/zap_bg.webp');
    background-image: image-set(
        url('images/zap_bg-1280.webp') 1x,
        url('images/zap_bg-1920.webp') 2x,
        url('images/zap_bg.webp') 3x
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.90);
    z-index: -1;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('images/zap_bg.webp');
    background-image: image-set(
        url('images/zap_bg-1280.webp') 1x,
        url('images/zap_bg-1920.webp') 2x,
        url('images/zap_bg.webp') 3x
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.90) 0%, rgba(15, 15, 15, 0.90) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(247, 147, 30, 0.06) 0%, transparent 50%);
    z-index: 1;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 60px 60px, -60px -60px;
    }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
    border: 2px solid var(--accent);
    z-index: 1;
}

.geo-circle {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: rotate 30s linear infinite;
}

.geo-square {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 8%;
    animation: rotate 25s linear infinite reverse;
    border-radius: 20px;
}

.geo-line-1 {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    top: 25%;
    left: 5%;
    animation: slide 15s ease-in-out infinite;
    border: none;
    opacity: 0.15;
}

.geo-line-2 {
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    bottom: 30%;
    right: 5%;
    animation: slide 18s ease-in-out infinite 3s;
    border: none;
    opacity: 0.12;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(255, 107, 53, 0.08);
    top: 50%;
    right: 15%;
    animation: float 20s ease-in-out infinite;
    border-top: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slide {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(50px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    color: white;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: white;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: transparent;
}

.features .container {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Screenshot Section */
.screenshot-section {
    padding: 6rem 0;
    background-color: transparent;
}

.screenshot-section .container {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.screenshot-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
}

.screenshot-caption {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: transparent;
}

.how-it-works .container {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: transparent;
}

.pricing .container {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

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

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features-list li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: transparent;
}

.faq .container {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
    font-weight: 300;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: transparent;
    text-align: center;
}

.cta .container {
    background-color: rgba(26, 26, 26, 0.85);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border);
}

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

.footer p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.hero-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
