body,
h1,
h2,
h3,
p,
ul,
li,
form {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.phone-container {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 80%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.phone-screenshot {
    width: 80%;
    max-width: 600px;
    margin: 0;
}

.margin-top-20 {
    margin-top: 20px;
}

.highlight-text,
.highlight-btn {
    color: #ff3d00;
    /* Text color for better contrast */
}

.highlight-btn {
    background-color: #ff3d00;
    /* Background color for the button */
    border-color: #ff3d00;
    /* Border color for the button */
}

.highlight-btn:hover {
    background-color: #e53900;
    /* Change to a slightly different shade on hover, if desired */
    border-color: #e53900;
}


.left-flexbox,
.right-flexbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .phone-container {
        width: 90%;
    }
}

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

.flex-container {
    display: flex;
    justify-content: space-between;
}

.left-flexbox {
    flex: 1;
    margin-right: 20px;
}

.right-flexbox {
    flex: 1;
}

.navbar {
    background-color: #ffffff;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: #000000;
}

.contact-section form {
    max-width: 500px;
    margin: auto;
}

.gradient-section {
    height: 200px;
    background: linear-gradient(to right, #ff4848, #ff003f);
}

.scroll-container {
    display: flex;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.tab {
    flex: 0 0 auto;
    /* Prevent the tabs from shrinking */
    text-align: center;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    outline: none;
}

.nav-arrow:hover {
    color: #ff003f;
    /* Color change on hover */
}

:root {
    --primaryColor: #FF0047;
    --secondaryColor: #FF4081;
    --backgroundColor: #ffffff;
    --backgroundSecondary: #f8f9ff;
    --backgroundTertiary: #f1f3f9;
    --textPrimary: #1a1a1a;
    --textSecondary: #666666;
    --textLight: #888888;
    --cardBackground: #ffffff;
    --borderColor: rgba(255, 0, 71, 0.1);
    --shadowPrimary: rgba(255, 0, 71, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--textPrimary);
    overflow-x: hidden;
    background: var(--backgroundColor);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--backgroundSecondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    border-radius: 4px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--borderColor);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px var(--shadowPrimary);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--textPrimary);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-brand::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    background-image: url('kompii_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-5px);
    }
}

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

.nav-links a {
    color: var(--textSecondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--backgroundColor) 0%, var(--backgroundSecondary) 50%, var(--backgroundColor) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 0, 71, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.05) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--textPrimary);
}

.highlight {
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--textSecondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 71, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 71, 0.3);
    color: white;
}

.hero-image {
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.phone-mockup {
    max-width: 300px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(255, 0, 71, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--backgroundTertiary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF0047' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--cardBackground);
    border: 1px solid var(--borderColor);
    box-shadow: 0 20px 60px rgba(255, 0, 71, 0.08);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.slide-image {
    flex: 0 0 250px;
    text-align: center;
}

.slide-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.slide-image:hover img {
    transform: scale(1.05);
}

.slide-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--textPrimary);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.2rem;
    color: var(--textSecondary);
    line-height: 1.6;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--cardBackground);
    border: 1px solid var(--borderColor);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primaryColor);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: var(--primaryColor);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 0, 71, 0.2);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 0, 71, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    transform: scale(1.2);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--backgroundColor) 0%, var(--backgroundSecondary) 100%);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 71, 0.04) 0%, transparent 70%);
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.download h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--textPrimary);
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.25rem;
    color: var(--textSecondary);
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(255, 0, 71, 0.2));
}

.download-btn img {
    height: 60px;
    width: auto;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--backgroundTertiary);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--textPrimary);
    text-align: center;
    margin-bottom: 1rem;
}

.contact>p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--textSecondary);
    margin-bottom: 3rem;
}

.contact-form {
    background: var(--cardBackground);
    border: 1px solid var(--borderColor);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(255, 0, 71, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: var(--textPrimary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--backgroundSecondary);
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    color: var(--textPrimary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primaryColor);
    box-shadow: 0 0 20px rgba(255, 0, 71, 0.1);
    background: var(--cardBackground);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--textLight);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 71, 0.2);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--cardBackground);
    text-align: center;
    border-top: 1px solid var(--borderColor);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer p {
    color: var(--textLight);
}

.footer a {
    color: var(--primaryColor);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondaryColor);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .carousel-slide {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .slide-image {
        flex: none;
        margin-bottom: 2rem;
    }

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

    .contact-form {
        padding: 2rem;
    }
}

/* Floating particles animation - lighter for light theme */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, var(--primaryColor), var(--secondaryColor));
    border-radius: 50%;
    animation: float-particles 15s infinite linear;
    opacity: 0.05;
}

@keyframes float-particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

.pose-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 0, 71, 0.1));
    transition: opacity 0.8s ease-in-out;
}

/* Alternating image animation */
.pose-image.fade-transition {
    animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    45% {
        opacity: 1;
    }

    50%,
    95% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}