:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #6366f1;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
nav {
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 10%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

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

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

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

.btn-login {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 10rem 10% 5rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease-out;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1.2s ease-out;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(14, 165, 233, 0.4);
    background: var(--primary-dark);
}

.hero-image {
    flex: 1.2;
    position: relative;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
}

/* Browser Mockup Wrapper */
.browser-mockup {
    background: #e2e8f0;
    height: 30px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.browser-mockup .dots {
    display: flex;
    gap: 6px;
}

.browser-mockup .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.browser-mockup .dots span:nth-child(1) { background: #ff5f56; }
.browser-mockup .dots span:nth-child(2) { background: #ffbd2e; }
.browser-mockup .dots span:nth-child(3) { background: #27c93f; }

.hero-mockup-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-mockup-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.main-screenshot {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    object-position: top;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    width: 220px;
    z-index: 10;
    animation: float 5s ease-in-out infinite reverse;
}

.badge-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.badge-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

/* Screenshot Cards in Gallery */
.screenshot-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.screenshot-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.screenshot-caption {
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    background: #f8fafc;
}

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

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

/* Features */
.features {
    padding: 5rem 10%;
    text-align: center;
}

.section-title {
    margin-bottom: 4rem;
}

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

/* Screenshots Gallery Row */
.screenshots-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    width: 100%;
}

.screenshot-card {
    flex: 1 1 0;
    min-width: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.screenshot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top left;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.screenshot-caption {
    padding: 14px 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    background: #f8fafc;
    margin-top: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Pricing */
.pricing {
    padding: 5rem 10%;
    background: #f1f5f9;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.price-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    width: 350px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card h3 {
    margin-bottom: 1rem;
    color: var(--gray);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price small {
    font-size: 1rem;
    color: var(--gray);
}

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

.price-features li {
    margin-bottom: 1rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features li i {
    color: #22c55e;
}

/* Footer */
footer {
    padding: 5rem 10% 2rem;
    background: var(--dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Utilities */
.row { display: flex; flex-wrap: wrap; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.border-end { border-right: 1px solid rgba(0,0,0,0.1); }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.d-grid { display: grid; }
.gap-2 { gap: 0.5rem; }
.w-100 { width: 100%; }
.d-block { display: block; }
.text-success { color: #22c55e !important; }
.align-items-center { align-items: center; }

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .col-md-6 { flex: 0 0 100%; max-width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
    .price-features { column-count: 1 !important; }
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* Contact Section */
.contact-section {
    background: #f8fafc;
    padding: 6rem 10%;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3.5rem;
}

.contact-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.05);
    flex: 1;
    min-width: 320px;
    max-width: 420px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all 0.3s;
}

.contact-card.email-card::before {
    background: var(--secondary);
}

.contact-card.whatsapp-card::before {
    background: #25d366;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.contact-card.email-card .contact-icon {
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
}

.contact-card.whatsapp-card .contact-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-contact.btn-email {
    background: var(--dark);
    color: white;
}

.btn-contact.btn-email:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-contact.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-contact.btn-whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}
