@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --header-bg: #000000;
    --header-text: #ffffff;
    --accent-primary: #4ade80;
    /* match the green online button */
    --accent-hover: #22c55e;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --transition-smooth: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background-color: var(--bg-main);
    /* Subtle blue triangle pattern as seen in screenshot */
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 15 L26 25 L14 25 Z" fill="rgba(59, 130, 246, 0.1)"/></svg>');
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Hide blobs if they're left in HTML */
.blob {
    display: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Clean Cards instead of Glassmorphism */
.glass {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-smooth);
    background: var(--header-bg);
    color: var(--header-text);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--header-text);
    text-decoration: none;
    letter-spacing: -1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--header-text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--header-bg);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--header-bg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px 30px;
    transition: var(--transition-smooth);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--header-bg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* App Previews */
.preview-section {
    position: relative;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--header-bg);
    color: #fff;
    border-color: var(--header-bg);
}

.carousel-container {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.carousel-container.active {
    display: block;
}

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

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

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 auto;
    width: 280px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 4px solid var(--header-bg);
}

.screenshot:hover {
    transform: scale(1.05) translateY(-10px);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--header-bg);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
    background: var(--header-bg);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.prev {
    left: -20px;
}

.scroll-btn.next {
    right: -20px;
}

/* Features List */
.features-list {
    list-style: none;
}

.features-list li {
    background: var(--card-bg);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.features-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.features-list li i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--header-bg);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.6s ease-in-out;
}

.faq-answer-inner {
    padding: 0 25px 25px;
    color: var(--text-secondary);
}

.faq-answer-inner a {
    color: var(--header-bg);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer-inner a:hover {
    text-decoration: underline;
}

/* Contact & Footer */
.contact-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-box p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.contact-box .highlight {
    color: var(--text-primary);
    font-weight: 600;
}

footer {
    padding: 40px 0;
    text-align: center;
    background: var(--header-bg);
    color: var(--header-text);
    margin-top: 60px;
}

footer p {
    color: #9ca3af;
    margin-bottom: 15px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

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

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

    .scroll-btn {
        display: none;
    }

    .section-title {
        font-size: 2.2rem;
    }
}