:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --text: #1f2937;
    --bg: #ffffff;
    --light-bg: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
    background-color: var(--bg);
}

header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text);
    margin-left: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem;
}

.dropbtn {
    background-color: transparent;
    color: var(--text);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

.dropbtn:hover {
    color: var(--primary);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--bg);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1001;
    border: 1px solid var(--border);
    animation: fadeIn 0.1s ease-out;
}

.dropdown-content a {
    color: var(--text);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    margin-left: 0;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

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

section {
    margin-bottom: 5rem;
    scroll-margin-top: 100px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Product Page Styles */
.product-header {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111827;
}

.product-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
}

.app-download-qr {
    margin-top: 2.5rem;
}

.app-download-qr a {
    display: inline-block;
    transition: transform 0.2s ease;
    border-radius: 16px;
    text-decoration: none;
}

.app-download-qr a:hover {
    transform: translateY(-4px);
}

.qr-code-img {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 4px solid white;
    background-color: white;
    display: block;
    margin: 0 auto;
}

.qr-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.8;
    font-weight: 500;
}

/* Updated Modern Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.feature-icon {
    font-size: 2rem;
    background: var(--light-bg);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-title {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.feature-details {
    padding: 0;
    margin: 0;
    list-style: none;
    flex-grow: 1;
}

.feature-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.feature-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.feature-details strong {
    color: #111827;
    font-weight: 600;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 300px;
    /* Phone sized */
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 2rem;
    /* Phone border radius */
    box-shadow: var(--shadow-lg);
    border: 8px solid #1f2937;
    /* Mock phone frame */
    background: #000;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #1f2937;
    transition: background 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: #6b7280;
    background: var(--bg);
}

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

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

@media (max-width: 640px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a,
    .dropdown {
        margin: 0.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}