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

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #777;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #F9D066;
    transition: all 0.3s ease;
}

a:hover {
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-app {
    border: 2px solid #fff;
    color: #fff;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-app:hover {
    background: #fff;
    color: #333;
}

.btn-light {
    background: #e0e0e0;
    color: #202020;
}

.btn-light:hover {
    background: #F9D066;
    color: #fff;
}

.btn-pricing {
    background: #F9D066;
    color: #fff;
    padding: 10px 25px;
    font-size: 12px;
}

.btn-pricing:hover {
    background: #333;
}

.btn-contact {
    background: #F9D066;
    color: #fff;
    border: none;
    margin-top: 20px;
}

.btn-contact:hover {
    background: #333;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    text-transform: uppercase;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title .line {
    width: 80px;
    height: 1px;
    background: #777;
    margin: 0 auto 20px;
    border-bottom: 1px dashed #777;
    /* Match original dashed style */
    background: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #333;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #F9D066;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('images/home-bg.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

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

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

.hero-text {
    flex: 1;
    padding-right: 50px;
    padding-top: 100px;
}

.hero-text h2 {
    color: #fff;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 350px;
    margin: 0 auto;
}

/* Intro Features */
.intro-features {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.intro-features .container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 30px;
}

.feature-box {
    flex: 1;
    padding: 20px;
}

.feature-box i {
    font-size: 24px;
    color: #F9D066;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 1px solid #eee;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-box:hover i {
    background: #F9D066;
    color: #fff;
}

.feature-box h4 {
    text-transform: uppercase;
    font-size: 18px;
}

/* Feature Split */
.feature-split {
    padding: 80px 0;
}

.feature-split .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-image,
.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.split-text h3 strong {
    font-weight: 700;
}

/* Main Features */
.features-grid-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.features-image {
    flex: 1;
}

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

.feature-item i {
    font-size: 24px;
    color: #333;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border: 1px solid #e8e8e9;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.feature-item:hover i {
    background: #F9D066;
    color: #fff;
    border-color: #F9D066;
}

.feature-item h3 {
    font-size: 16px;
    text-transform: uppercase;
}

/* Screenshots */
.screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
    /* Or flex-start if many */
}

.screenshot-gallery img {
    height: 400px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

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

/* Video Section */
.video-section {
    background: url('images/video-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 150px 0;
    text-align: center;
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 22, 30, 0.6);
}

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

.play-btn {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: #F9D066;
    color: #fff;
    border-radius: 50%;
    font-size: 30px;
    margin-bottom: 20px;
}

.play-btn:hover {
    background: #fff;
    color: #F9D066;
}

.video-section h3 {
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* More Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 40px;
    color: #333;
    margin-bottom: 20px;
}

.feature-card:hover .icon-box {
    color: #F9D066;
}

.feature-card h3 {
    font-size: 18px;
    text-transform: uppercase;
}

/* Pricing */
.pricing {
    background: #f9f9f9;
}

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

.pricing-card {
    background: #fff;
    text-align: center;
    border: 1px solid #f0f0f0;
    padding-bottom: 30px;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background: #F9D066;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
}

.pricing-cost {
    background: #fbfbfb;
    padding: 30px 0;
    font-size: 40px;
    color: #333;
    font-weight: 700;
}

.pricing-cost sup {
    font-size: 18px;
    top: -15px;
}

.pricing-features p {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.pricing-features p:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    text-align: center;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item i {
    font-size: 30px;
    color: #F9D066;
    margin-bottom: 20px;
}

.testimonial-item p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* Download */
.download {
    background: #f9f9f9;
    text-align: center;
}

.download-btns {
    margin-top: 30px;
}

.download-btns a {
    display: inline-block;
    margin: 0 10px;
}

/* Newsletter */
.newsletter {
    background: #F9D066;
    color: #fff;
    text-align: center;
}

.newsletter h3 {
    color: #fff;
    margin-bottom: 30px;
}

.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 50px;
    outline: none;
}

.subscribe-form button {
    padding: 15px 30px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.subscribe-form button:hover {
    background: #fff;
    color: #F9D066;
}

/* Contact */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row input {
    flex: 1;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    outline: none;
}

textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    outline: none;
    resize: vertical;
}

/* Footer */
.footer-info {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.info-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.info-item i {
    font-size: 30px;
    color: #F9D066;
    margin-bottom: 15px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid-wrapper {
        flex-direction: column;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for now, or implement toggle */
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .intro-features .container {
        flex-direction: column;
    }

    .feature-split .container {
        flex-direction: column;
        text-align: center;
    }

    .feature-split:nth-child(even) .container {
        flex-direction: column-reverse;
    }

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

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

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

    .form-row {
        flex-direction: column;
    }

    .info-grid {
        flex-direction: column;
    }
}

/* Carousel */
.carousel-container {
    width: 100%;
    padding: 40px 0;
    position: relative;
    background: #f9f9f9;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    position: relative;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    /* Vertical padding */
    scrollbar-width: none;
    /* Firefox */

    /* To enable centering of first/last items, using large padding or pseudo elements */
    /* Simple approach: 50% - half item width. roughly 20-30% padding-inline */
    padding-left: calc(50% - 400px);
    padding-right: calc(50% - 400px);
}

@media (max-width: 900px) {
    .carousel-track {
        padding-left: calc(50% - 45vw);
        padding-right: calc(50% - 45vw);
    }
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-item {
    flex: 0 0 auto;
    width: 800px;
    max-width: 90vw;
    height: 400px;
    scroll-snap-align: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* No opacity fade, user wants to see them */
    transition: transform 0.3s;
    background: #fff;
    /* Fallback */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pager */
.carousel-pager {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 10px;
}

.pager-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.pager-dot.active {
    background: #F9D066;
    transform: scale(1.2);
}