/* ROOT VARIABLES */
:root {
    --primary: #1c9ae9;
    --primary-dark: #157ab9;
    --primary-light: #e6f3fd;
    --secondary: #ec0e2f;
    --secondary-dark: #bd0a25;
    
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    
    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.nav-links .btn-nav {
    background: var(--primary-light);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius);
}

.nav-links .btn-nav:hover {
    background: var(--primary);
    color: white;
}

/* HERO SECTION */
.hero {
    padding: 160px 2rem 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-badges i {
    color: var(--primary);
    margin-right: 4px;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    background: white;
    position: relative;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: translateY(-10px);
}

.hero-mockup {
    width: 100%;
    height: auto;
    display: block;
}

/* SECTION TITLES */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* FEATURES */
.features {
    background: var(--bg-alt);
    padding: 100px 2rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* GALLERY */
.gallery {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    flex: 1 1 350px;
    max-width: 380px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Clicks pass through to the image underneath */
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.25rem;
}

/* DOWNLOAD SECTION */
.download-section {
    padding: 100px 2rem;
    background: white;
}

.download-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.step-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-download {
    width: 100%;
    margin-bottom: 16px;
}

.btn-whatsapp-step {
    background: #25d366;
    color: white;
    box-shadow: var(--shadow-md);
    width: 100%;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-whatsapp-step:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.step-details {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-details i {
    color: var(--primary);
    font-size: 1rem;
}

/* HERO DOWNLOAD TAGLINE */
.hero-download-tagline {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.hero-download-tagline i {
    color: #0078d7; /* Windows Blue */
    font-size: 1.1rem;
}

/* PRICING CTA */
.cta-section {
    background: var(--bg-alt);
    padding: 100px 2rem;
}

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

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-container p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.price-card {
    background: white;
    border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.price-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 32px;
}

.price-features {
    margin-bottom: 40px;
}

.price-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.price-features li i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: white;
    padding: 80px 2rem 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

.footer-links p {
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .gallery-item {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* LIGHTBOX */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}
.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from {transform:scale(0.8)} 
    to {transform:scale(1)}
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover {
    color: var(--primary);
}

/* CONTACT MODAL */
.modal-contact {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.6); /* Slate dark overlay */
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-contact.show {
    display: flex;
    opacity: 1;
}

.modal-contact-content {
    background: var(--bg-main);
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-contact.show .modal-contact-content {
    transform: scale(1);
}

.modal-contact-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-contact-close:hover {
    color: var(--secondary);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-header h2 {
    font-size: 1.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.modal-header h2 i {
    color: var(--primary);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FORM CONTROLS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-alt);
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.select-wrapper {
    position: relative;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%234b5563' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.btn-submit {
    margin-top: 10px;
    height: 52px;
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translate(3px, -3px);
}

.btn-submit.loading {
    opacity: 0.8;
    pointer-events: none;
}

/* SUCCESS MESSAGE */
.success-message {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    font-size: 4rem;
    color: #25d366; /* Green */
    margin-bottom: 20px;
    line-height: 1;
}

.success-message h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.success-message p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

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

@media (max-width: 640px) {
    .modal-contact-content {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
