/* 1. The Reset - Remove weird default browser spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. The Foundation - Dark Mode & Typography */
body {
    background-color: #0f1014;
    background-image: radial-gradient(circle at 50% 0%, #1a1525 0%, #0f1014 50%);
    color: #e0e0e0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Making headings stand out */
h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}

p {
    font-size: 1.1rem;
    color: #a1a1aa;
    margin-bottom: 24px;
}

/* 3. Layout and Containers */
section, header {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

#hero {
    text-align: center;
    padding: 80px 20px 40px;
}

#hero > img {
    max-width: 100%;
    margin-top: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Flexbox container for Icon + Title */
.brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* The App Icon itself */
.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 8px 16px rgba(98, 0, 234, 0.2);
}

/* 4. Tame those massive images */
img {
    max-width: 100%;
    border-radius: 16px;
    height: auto;
}

/* The Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6200ea 0%, #7c4dff 100%);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 10px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Micro-Interaction (Hover Effect) */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(98, 0, 234, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #7c4dff 0%, #8e66ff 100%);
}

/* Small Note / Disclaimer Text */
.note {
    font-size: 0.9rem;
    color: #71717a;
    margin-top: 12px;
}

/* Sections Styling */
section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    text-align: center;
}

/* Editorial Style List */
ol {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
    display: flex;
    justify-content: center;
}

li {
    margin-bottom: 0;
}

/* HORIZONTAL SCROLL / CAROUSEL */
#features {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 40px 20px;
    margin: 0 auto 40px;
    max-width: 1200px;
    justify-content: center;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: transparent;
    border: none;
}

#features::-webkit-scrollbar {
    display: none;
}

/* Resize the screenshots to look good in a row */
#features img {
    height: 480px;
    width: auto;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

#features img:hover {
    transform: scale(1.02);
}

/* FOOTER STYLING */
footer {
    background: #0a0a0c;
    color: #a1a1aa;
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    font-size: 0.95rem;
    font-weight: 400;
}

footer a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #bb86fc;
}

/* Video Container */
.video-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Target the Google Drive iframe specifically */
.video-container iframe {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    height: 568px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
    background: #000;
}

/* Form Iframe */
#feedback iframe {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 40px 20px; border-radius: 24px; }
    #features img { height: 380px; }
}