/*=============================================*/
/* Basic Reset */
/*=============================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to bottom, #f3f4f6, #e5e7eb);
    color: #374151;
}

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

/*=============================================*/
/* Hero Section */
/*=============================================*/
:root {
    --vh: 100%;
}
@media (max-width: 768px) {
    :root {
        --vh: calc(100vh - env(safe-area-inset-bottom));
    }
}
.hero {
    height: var(--vh);
}

.hero {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(20, 184, 166, 0.95)),
        url('assets/hero_background.jpg') no-repeat center center;
    background-size: cover;
    height: var(--vh); /* Use the calculated viewport height */
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    background-blend-mode: overlay;
}




/* Hero Header */
.hero h1 {
    font-family: 'Audiowide', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    /* Stronger contrast for readability */
}

/* Hero Description */
.hero-description {
    font-size: 1.5rem;
    line-height: 2;
    margin: 20px auto;
    max-width: 800px;
    z-index: 10;
    position: relative;
}

/* Highlight Text (Vibrant Gradient) */
.highlight {
    font-weight: 700;
    background: linear-gradient(to right, #FF7F50, #FFD700);
    /* Soft orange to gold gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}


/* Call to Action Button */
.cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #F59E0B, #D97706);
    /* Same gradient as the button */
    border-radius: 5px;
    color: #374151;
    text-decoration: none;
    /* Remove underline */
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the link (matching button's hover effect) */
.cta-button:hover {
    background: linear-gradient(45deg, #D97706, #F59E0B);
    /* Reverse gradient on hover */
    transform: scale(1.05);
}





@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/*=============================================*/
/* Features Section */
/*=============================================*/
.features {
    background: linear-gradient(to bottom, #2e3440, #3b4252);
    padding: 60px 20px;
    color: #eceff4;
    text-align: center;
}

.features-heading {
    font-size: 2rem;
    color: #fff;
    text-align: center;
}

.logscope-font {
    font-family: 'Audiowide', cursive;
    color: #FFD700;
}

.logscope-font-white {
    font-family: 'Audiowide', cursive;
}


/* Heading Style */
.features-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    color: #eceff4;
}

.showcase-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    color: #eceff4;
}

.logscope-font {
    font-family: 'Audiowide', cursive;
    /* Applies Audiowide font */
    color: #8FBCBB;
}


/* Feature Cards Grid */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Individual Feature Card */
.feature-card {
    background: #3b4252;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #434c5e;
}

/* Icon Style */
.icon {
    font-size: 50px;
    margin-bottom: 15px;
}

/* Card Heading */
.feature-card h3 {
    font-size: 1.5rem;
    color: #8fbcbb;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Card Text */
.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d8dee9;
}

/*=============================================*/
/* Divider Sections */
/*=============================================*/
.subtle-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #4c566a, transparent);
    background-color: #5E81AC;
    margin: 0;
    padding: 0;
}

/*=============================================*/
/* Screenshot Showcase Section */
/*=============================================*/
.showcase {
    background: linear-gradient(to bottom, #3b4252, #2e3440);
    padding: 80px 20px;
    text-align: center;
    color: #eceff4;
}

.showcase-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.showcase-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #d8dee9;
}


/* Device Frame */
.device-frame {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    border: 15px solid #1e293b;
    /* Frame Border */
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

/* Swiper Slides */
.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #88c0d0;
    /* Nord teal */
    opacity: 0.8;
}

.swiper-pagination {
    bottom: 10px;
}


/*=============================================*/
/* Signup and Footer Section */
/*=============================================*/
.signup-footer {
    min-height: 100vh;
    display: flex;
    padding: 30px 50px;
    color: #F3F4F6;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(14, 116, 110, 0.8), rgba(20, 184, 166, 0.8)),
        url('assets/footer_background.jpg') no-repeat center center/cover;
}


/* Adjust text for the merged section */
.signup-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.signup-footer p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
    color: #eceff4;
}

/* Adjust the spacing between paragraph and form */
.signup-footer p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: #eceff4;
    line-height: 1.6;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.signup-footer form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px; /* Adds space between the paragraph and form */
}

.signup-footer input {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 300px;
}

.signup-footer button {
    padding: 15px 30px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #F59E0B, #D97706);
    border-radius: 5px;
    color: #374151;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.signup-footer button:hover {
    background: linear-gradient(45deg, #D97706, #F59E0B);
    transform: scale(1.05);
}


/* Countdown Text Styling */
.countdown {
    text-align: center;
    margin: 50px 0;
}

.countdown-text {
    font-size: 2rem;
    font-weight: bold;
    color: #eceff4;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    animation: fadeIn 2s ease-in-out;
}

.countdown-animation {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff9800;
    animation: dotBounce 1.5s infinite ease-in-out;
}

.countdown-dot:nth-child(1) {
    animation-delay: 0s;
}

.countdown-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.countdown-dot:nth-child(3) {
    animation-delay: 0.6s;
}

/* Dot Bounce Animation */
@keyframes dotBounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Fade In Text */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Footer text styling */
.signup-footer footer {
    margin-top: auto;
    /* Pushes the footer to the bottom */
    font-size: 1rem;
    color: #eceff4;
}

/*=============================================*/
/* Misc Section  */
/*=============================================*/
.logo {
    width: 200px;
    height: auto;
}

/*=============================================*/
/* Media Queries for Smaller Devices (iPhone, Tablets) */
/*=============================================*/
@media (max-width: 768px) {
    /* Hero Section */
    .hero h1 {
        font-size: 3rem;  /* Make the header smaller on smaller screens */
    }

    .cta-button {
        padding: 12px 24px;  /* Adjust button padding for mobile devices */
        font-size: 1rem;
    }

    /* Feature Cards - Stack them vertically */
    .feature-cards {
        grid-template-columns: 1fr;  /* Stack the cards in one column on small screens */
    }

    .signup-footer p {
        font-size: 1rem; /* Smaller font size on mobile */
        margin-bottom: 15px; /* Adjust margin for smaller screens */
    }

    /* Signup Footer */
    .signup-footer form {
        flex-direction: column;  /* Stack the input and button */
    }

    .signup-footer input {
        width: 250px;  /* Make the input field more compact */
    }

    /* Adjust Image Showcase for Mobile */
    .device-frame {
        width: 100%;  /* Ensure the showcase images are responsive */
        border: none; /* Adjust frame styling for mobile */
    }

    /* Adjust Swiper Images */
    .swiper-slide img {
        width: 100%; /* Ensure carousel images scale to fit the screen */
    }
}

@media (orientation: landscape) and (max-width: 1024px) {
    .hero {
        padding-top: 20px;
        align-items: flex-start; /* Adjust alignment for better visibility */
    }
    .signup-footer {
        justify-content: flex-start;
    }
}


/* Smaller Devices (Under 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;  /* Further reduce header size on very small screens */
    }

    .cta-button {
        font-size: 1rem;  /* Adjust button size for very small screens */
        padding: 10px 20px;
    }

    /* Further Adjust the Form Fields for Smaller Screens */
    .signup-footer input {
        width: 200px;  /* Make the input even smaller on very small screens */
    }

    .signup-footer button {
        font-size: 1.1rem;  /* Increase button font size for touch accessibility */
        padding: 12px 24px;
    }

}