/* Color Palette */
:root {
    --primary: #6366F1;
    --primary-light: #818CF8;
    --secondary: #EC4899;
    --accent: #8B5CF6;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --card-bg: #FFFFFF;
    --gradient-start: #6366F1;
    --gradient-end: #EC4899;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

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

/* Header */
header {
    background: #FFFFFF;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 150px;
    height: 52px;
    display: block;
    margin: 0;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.hamburger-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

.hamburger-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.hamburger-modal-close:hover {
    color: var(--text-dark);
}

.hamburger-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hamburger-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
    text-align: center;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-left: 15px;
}

.hero-image {
    padding-right: 15px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.store-badges {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.store-badge {
    height: 44px;
    width: auto;
    transition: transform 0.3s;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* Hero Signup Form */
.hero-launch-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-signup-form {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-email-input {
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    width: 280px;
    outline: none;
    transition: border-color 0.3s;
}

.hero-email-input:focus {
    border-color: var(--primary);
}

.hero-signup-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-signup-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.hero-signup-btn:disabled,
.notify-signup-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Signup Messages */
.signup-message {
    display: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
}

.signup-message.show {
    display: block;
}

.hero-success-message,
.notify-success-message {
    background: #10B981;
    color: white;
}

.hero-error-message,
.notify-error-message {
    background: #EF4444;
    color: white;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1;
    max-width: 200px;
    height: 60px;
}

.btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.btn:hover img {
    transform: scale(1.05);
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ipad-mockup {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 7 / 5;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 21px;
    padding: 14px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
}

.ipad-screen {
    flex: 1;
    background: var(--white);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.header-video-base {
    z-index: 1;
}

.crossfade-video {
    z-index: 2;
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0;
    background-color: var(--background);
}

.how-it-works h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    margin-bottom: 40px;
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.step-number {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: white;
    border: 5px solid;
    border-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 36px;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-title h3 {
    font-size: 36px;
    margin: 0 0 8px 0;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-title p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.step-video-container {
    width: 100%;
    margin-left: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
    position: relative;
    aspect-ratio: 7 / 5;
}

.step-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.step-video-base {
    z-index: 1;
}

.step-video-container .crossfade-video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.step-video-container .crossfade-video.active {
    opacity: 1;
}

.screenshot-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.step-screenshot .crossfade-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 80px);
    max-width: 600px;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.step-screenshot .crossfade-video.active {
    opacity: 1;
}

.step-screenshot .crossfade-video:not(.active) {
    pointer-events: none;
}

.ipad-screen .crossfade-video {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.ipad-screen .crossfade-video.active {
    opacity: 1;
    z-index: 1;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.benefits h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.benefits .container > p {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.benefit-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--background);
    text-align: center;
}

.pricing h2 {
    font-size: 42px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-type {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.pricing-card.featured .pricing-type {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.price .currency {
    font-size: 24px;
    font-weight: 600;
    margin-top: 8px;
}

.price .amount {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.price .period {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    align-self: flex-end;
    margin-bottom: 8px;
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.feature-highlight {
    background: rgba(99, 102, 241, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.pricing-card.featured .feature-highlight {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.pricing-features ul {
    list-style: none;
    text-align: left;
}

.pricing-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.pricing-card.featured .pricing-features ul li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

.pricing-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.pricing-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.pricing-card.featured .pricing-btn {
    background: var(--white);
    color: var(--primary);
}

.pricing-card.featured .pricing-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pricing-info {
    text-align: center;
    margin-top: 40px;
}

.pricing-info-link {
    color: var(--text-light);
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.pricing-info-link:hover {
    color: var(--primary);
}

/* Notify Signup Section */
.notify-signup-container {
    max-width: 500px;
    margin: 40px auto 0;
}

.notify-signup-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.notify-email-input {
    padding: 16px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    width: 300px;
    outline: none;
    transition: border-color 0.3s;
}

.notify-email-input:focus {
    border-color: var(--primary);
}

.notify-signup-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.notify-signup-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.modal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: var(--white);
    opacity: 0.9;
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: var(--white);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .store-badges {
        justify-content: center;
        padding-top: 10px;
    }

    .hero-signup-form {
        justify-content: center;
    }

    .cta-buttons {
        margin: 0 auto;
    }

    .ipad-mockup {
        margin-top: 40px;
        width: 500px;
        height: 375px;
    }

    .step-content h3 {
        font-size: 28px;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    header .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 60px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 45px 0 40px;
        min-height: auto;
    }

    .hero .container {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 0;
    }

    .ipad-mockup {
        width: calc(100% - 20px);
        max-width: 400px;
        height: auto;
        aspect-ratio: 7 / 5;
        margin: 5px auto 0;
        border-radius: 20px;
        padding: 15px;
        box-sizing: border-box;
    }

    .ipad-screen {
        border-radius: 10px;
        flex-shrink: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 55px;
    }

    .btn {
        max-width: 250px;
        width: 100%;
    }

    .steps {
        gap: 40px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .step-title h3 {
        font-size: 22px;
    }

    .step-title p {
        font-size: 14px;
    }

    .step-video-container {
        width: 100%;
        margin-left: 0;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 50px;
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 11px;
    }

    .hero {
        padding: 35px 0 30px;
    }

    .hero .container {
        padding: 0 8px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section-subtitle,
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .store-badges {
        gap: 8px;
        justify-content: center;
    }

    .store-badge {
        height: 36px;
    }

    .hero-signup-form,
    .notify-signup-form {
        flex-direction: column;
        align-items: center;
    }

    .hero-email-input,
    .notify-email-input {
        width: 100%;
        max-width: 300px;
    }

    .hero-signup-btn,
    .notify-signup-btn {
        width: 100%;
        max-width: 300px;
    }

    .how-it-works .section-subtitle {
        margin-bottom: 24px;
    }

    #pricing .section-subtitle {
        margin-bottom: 30px;
    }

    h2 {
        font-size: 32px;
    }

    .ipad-mockup {
        width: calc(100% - 16px);
        max-width: 350px;
        padding: 12px;
        border-radius: 16px;
        box-sizing: border-box;
        margin-top: 5px;
    }

    .ipad-screen {
        border-radius: 8px;
        flex-shrink: 0;
    }
}
