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

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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* iOS Download Block */
.ios-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
}
.ios-available {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* App Store Button */
.app-store-btn {
    display: inline-block;
    transition: opacity 0.2s;
}
.app-store-btn:hover { opacity: 0.75; }
.app-store-badge {
    height: 54px;
    width: auto;
}

/* App Preview */
.app-preview {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.preview-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 4rem 3rem;
    color: white;
    text-align: center;
    min-width: 300px;
    box-shadow: var(--shadow-lg);
}

.preview-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 350px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #000;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 1rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

/* Email Signup Section */
.signup-section {
    background-color: var(--bg-primary);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 3rem auto;
    max-width: 600px;
    box-shadow: var(--shadow-md);
}

.signup-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.signup-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.email-form button {
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.email-form button:hover {
    background-color: var(--primary-dark);
}

.email-form button:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
}

/* Message Display */
.message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.message.hidden {
    display: none;
}

.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Roadmap Section */
.roadmap {
    padding: 4rem 0;
    text-align: center;
}

.roadmap h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.roadmap-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.roadmap-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.roadmap-arrow {
    font-size: 2rem;
    color: var(--border-color);
    flex-shrink: 0;
    margin-top: 1.5rem;
}

.roadmap-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.roadmap-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.up-next .roadmap-badge {
    background-color: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.in-pipeline .roadmap-badge {
    background-color: rgba(236, 72, 153, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.future .roadmap-badge {
    background-color: rgba(107, 114, 128, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.roadmap-card {
    background-color: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.up-next .roadmap-card {
    border-top: 3px solid var(--primary-color);
}

.in-pipeline .roadmap-card {
    border-top: 3px solid var(--secondary-color);
}

.future .roadmap-card {
    border-top: 3px solid var(--border-color);
    opacity: 0.85;
}

.roadmap-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.roadmap-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.roadmap-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .roadmap-track {
        flex-direction: column;
        align-items: center;
    }

    .roadmap-arrow {
        transform: rotate(90deg);
        margin-top: 0;
    }

    .roadmap-item {
        max-width: 100%;
        width: 100%;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Legal Pages */
.legal-page {
    background-color: var(--bg-primary);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-page h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.legal-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* About Page */
.about-page {
    background-color: var(--bg-primary);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
}

.about-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.problem-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--secondary-color);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.mission-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
}

.mission-box p {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-box p:last-child {
    margin-bottom: 0;
}

.components {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.component {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.component:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.component-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.component h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

.component-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1.5rem;
}

.pitch-section {
    text-align: center;
}

.pitch-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.pitch-box p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 0.75rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

/* Get the App Page */
.get-app-page {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.get-app-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.get-app-screenshots .carousel-container {
    max-width: 280px;
    margin: 0 auto;
}

.get-app-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.get-app-cta h1 {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--text-primary);
}

.get-app-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.get-app-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.get-app-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.get-app-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .get-app-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .get-app-cta {
        align-items: center;
    }
    .get-app-cta h1 {
        font-size: 1.6rem;
    }
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

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

.footer-links span {
    color: var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    main {
        padding: 1rem;
    }

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

    .tagline {
        font-size: 1rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form button {
        width: 100%;
    }

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

    .legal-page {
        padding: 2rem 1.5rem;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .preview-placeholder {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-links {
        font-size: 0.875rem;
        gap: 0.75rem;
    }

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

    .signup-section {
        padding: 2rem 1.5rem;
    }
}
