/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h1, h2, h3 {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 15px;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #333;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    background-color: #1a1a2e; /* fallback color */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.7); /* overlay for text readability */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: #00d4ff;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.hero .note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Product Section */
.product {
    padding: 80px 0;
    background: url('../img/code-bg.jpg') center/cover no-repeat;
    background-color: #f8f9fa; /* fallback */
    position: relative;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.9);
}

.product .container {
    position: relative;
    z-index: 1;
}

.product .container {
    text-align: center;
}

.product p {
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.feature {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.feature .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Ultra Section */
.ultra {
    padding: 80px 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.ultra .container {
    text-align: center;
}

.ultra ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    display: inline-block;
}

.ultra li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.ultra li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
}

/* Install Section */
.install {
    padding: 80px 0;
}

.install .container {
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.step {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    display: block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.safety-note {
    font-style: italic;
    color: #666;
}

/* Why Free Section */
.why-free {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.why-free .container {
    text-align: center;
    max-width: 800px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq .container {
    max-width: 800px;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item h3 {
    color: #4a90e2;
    margin-bottom: 10px;
}

/* Security Section */
.security {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.security .container {
    text-align: center;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.badge {
    height: 60px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

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

footer ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

footer a {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
    }

    .steps {
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .badges {
        flex-direction: column;
        align-items: center;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
    }

    footer ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}