:root {
    --bg-color: #f8fafc;
    /* Slate 50 */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --primary: #1e293b;
    --primary-hover: #0f172a;
    --secondary: #7c3aed;
    /* Accent purple */
    --surface: rgba(255, 255, 255, 0.7);
    --surface-border: #e2e8f0;
    /* Slate 200 */
    --accent-glow: rgba(124, 58, 237, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--surface-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn {
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.25);
}

.btn-outline {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--surface-border);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-outline:hover {
    background: var(--bg-color);
    border-color: var(--text-muted);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 5% 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
}

/* MOCKUP & PARALLAX SHAPES */
.glass-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.6;
}

.shape-1 {
    top: -5%;
    left: -5%;
    width: 60vw;
    height: 60vw;
    background: rgba(124, 58, 237, 0.15);
}

.shape-2 {
    bottom: 5%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(236, 72, 153, 0.1);
}

.hero-mockup {
    margin-top: 80px;
    z-index: 10;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.mockup-screen {
    width: 320px;
    height: 672px;
    background: #ffffff;
    border: 12px solid #1e293b;
    border-radius: 48px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transform: rotateY(-15deg) rotateX(8deg) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.screenshot-mode {
    padding: 0;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-mockup:hover .mockup-screen {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.mock-title {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
}

.mock-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--surface-border);
}

.mock-card {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mock-card:hover {
    transform: translateX(5px);
    border-color: var(--secondary);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info strong {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FEATURES SECTION */
.features {
    padding: 120px 0 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 150px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.feature-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-placeholder {
    width: 298px;
    height: 638px;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 60px;
        margin-bottom: 120px;
    }

    /* Prevent screenshots from overlapping text on focus or scroll on small screens */
    .feature-visual .parallax {
        transform: none !important;
    }
}

/* DOWNLOAD SECTION */
.download-section {
    padding: 140px 5% 60px;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--surface-border);
    overflow: hidden;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.download-content h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.download-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    padding: 14px 28px;
    border-radius: 20px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.store-btn:hover {
    background: var(--bg-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.store-btn ion-icon {
    font-size: 2.2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.store-text strong {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: -2px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 1rem;
    border-top: 1px solid var(--surface-border);
    background: white;
    width: 100%;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

/* SECONDARY PAGES UTILITIES */
.page-container {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--surface-border);
}

.page-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.page-container h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 0.8rem;
}

.page-container h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.page-container p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.page-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-container li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* ANIMATIONS & REVEALS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
    transform: translateX(0);
}

/* USE CASES SECTION */
.use-cases {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.use-cases-container, .faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.use-cases h2, .faq-section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.case-card {
    flex: 1 1 300px;
    max-width: 380px;
    background: transparent;
    padding: 0;
    text-align: left;
}

.case-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.case-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* FAQ ACCORDION */
.faq-section {
    padding: 80px 0 120px;
    position: relative;
    z-index: 10;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: var(--text-muted);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 28px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-summary-icon {
    color: var(--secondary);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item[open] .faq-summary-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 28px 28px;
}

.faq-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    animation: fadeInDown 0.3s ease-out forwards;
}

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