:root {
    --primary-color: #0095aa;
    --secondary-color: #006877;
    --text-color: #161D1E;
    --text-light: #6B797D;
    --background-color: #F4FBFC;
    --background-alt: #e0f4f7;
    --border-color: #859397;
    --error-color: #BA1A1A;
    --max-width: 1200px;
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

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

.logo a .logo-image {
    width: 140px;
    height: auto;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.hero > * {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(244, 251, 252, 0.15);
    z-index: 1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
}

.button.secondary {
    background-color: var(--background-alt);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: calc(0.875rem - 2px) calc(1.75rem - 2px);
}

.hero-image {
    max-width: 320px;
    margin: 4rem auto 0;
    padding: 0;
}

.hero-image .phone-frame {
    position: relative;
    display: inline-block;
    width: 320px;
    background: transparent;
}

.hero-image .bezel {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    background: transparent;
}

.hero-image .screenshot {
    position: absolute;
    top: 14px;
    left: 12px;
    width: 290px !important;
    height: 624px !important;
    object-fit: cover;
    border-radius: 40px !important;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 280px;
        margin: 3rem auto 0;
    }

    .hero-image .phone-frame {
        width: 280px;
    }
    
    .hero-image .screenshot {
        top: 12px;
        left: 10px;
        width: 260px !important;
        height: 548px !important;
        border-radius: 40px !important;
    }
}

/* Features Section */
.features {
    background-color: var(--background-alt);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
    transform: none;
}

.features > * {
    position: relative;
    z-index: 1;
}

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

.feature-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
}

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-icon i {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 16px;
}

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

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

/* Beta Signup Section */
.beta-signup {
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    background-color: var(--background-alt);
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.beta-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

.beta-signup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(244, 251, 252, 0.15);
    z-index: 1;
    pointer-events: none;
}

.beta-signup > * {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.beta-signup h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.signup-form {
    max-width: 500px;
    margin: 3rem auto;
    text-align: left;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
}

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

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    color: var(--text-color);
    min-width: 140px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Update the form button to match hero buttons */
.signup-form .button.primary {
    width: 100%;
    margin: 1rem 0 0 0;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
    box-shadow: none;
}

.signup-form .button.primary:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .signup-form {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
}

/* Footer */
footer {
    background-color: var(--background-alt);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 30px;
}

.footer-logo .logo-image {
    height: 100%;
    width: auto;
    opacity: 0.9;
}

.footer-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links a {
        margin: 0 1rem;
    }

    .hero::before,
    .features::before,
    .feature-details::before,
    .beta-signup::before {
        background-size: 200% auto;
        background-position: center top;
        background-attachment: scroll;
        opacity: 0.1;
    }

    .hero::before,
    .features::before,
    .feature-details::before,
    .beta-signup::before {
        transform: none;
    }

    .beta-signup {
        padding: 4rem 2rem;
    }

    .hero-image {
        max-width: 280px;
        margin: 3rem auto 0;
    }

    .feature-detail-item > div:not(.feature-detail-content) {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Update hero background for mobile */
    .hero::before {
        background-size: 200% auto;  /* Zoom in on the background */
        background-position: center top;
        background-attachment: scroll;  /* Better performance on mobile */
    }

    /* Update features section background for mobile */
    .features::before {
        background-size: 200% auto;
        background-position: center top;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .button {
        display: block;
        margin: 1rem 0;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .checkbox-group label {
        min-width: auto;
    }
}

/* Detailed Feature Sections */
.feature-details {
    padding: 6rem 2rem;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.feature-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
    transform: none;
}

.feature-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(244, 251, 252, 0.15);
    z-index: 1;
    pointer-events: none;
}

.feature-detail-item {
    max-width: var(--max-width);
    margin: 0 auto 8rem;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

/* Remove individual feature backgrounds */
.feature-detail-item::before {
    display: none;
}

.feature-detail-item:last-child {
    margin-bottom: 0;
}

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

.feature-detail-content {
    flex: 1.5;
    position: relative;
    z-index: 2;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.feature-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-detail-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Remove text shadows since we now have card backgrounds */
.feature-detail-content h3,
.feature-detail-content p {
    text-shadow: none;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

@media (max-width: 768px) {
    .feature-detail-item,
    .feature-detail-item.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: left;  /* Keep text left-aligned in cards */
        padding: 0 1rem;
    }

    .feature-detail-content {
        padding: 1.5rem;  /* Slightly smaller padding on mobile */
    }

    .feature-detail-content h3 {
        font-size: 1.75rem;
    }

    .feature-list {
        display: block;  /* Keep list full width in card */
    }

    .feature-detail-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

.other-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap !important;
    min-width: 250px !important;
}

#other-text {
    width: 150px !important;
    padding: 0.5rem !important;
    margin-left: 0.5rem;
}

#other-text:disabled {
    background-color: var(--background-alt);
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .other-label {
        min-width: 100% !important;
    }
    
    #other-text {
        flex: 1;
    }
}

.phone-frame {
    position: relative;
    display: inline-block;
    width: 320px;
    background: transparent;
}

.bezel {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    background: transparent;
}

.screenshot {
    position: absolute;
    top: 14px;
    left: 12px;
    width: 290px !important;
    height: 627px !important;
    object-fit: cover;
    border-radius: 40px !important;
    z-index: 1;
}

@media (max-width: 768px) {
    .phone-frame {
        width: 280px;
    }
    
    .screenshot {
        top: 12px;
        left: 10px;
        width: 260px !important;
        height: 546px !important;
        border-radius: 40px !important;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    transform: translateY(-20px);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.modal-header h3 {
    color: #333;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 0 20px 20px 20px;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.modal-footer .button {
    margin: 0;
}

.modal-footer .button.primary {
    font-size: 1rem;
    box-shadow: none !important;
    filter: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
    border-style: none !important;
}

.modal-body h3 {
    margin-bottom: 1rem;
}

/* Add padding for mobile buttons */
@media (max-width: 768px) {
    .button {
        width: calc(100% - 2rem);  /* Full width minus margin */
        margin: 0.5rem 1rem;  /* Add horizontal margin to buttons */
        display: block;  /* Stack buttons vertically */
    }

    /* Remove the .cta-buttons padding we added before */
    .cta-buttons {
        padding: 0;
    }
}

/* About page styles */
.about-section {
    position: relative;
    padding: 8rem 2rem 6rem;
    background-color: var(--background-color);
    min-height: calc(100vh - 300px);  /* Account for header and footer */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.about-story {
    text-align: left;
    margin-bottom: 3rem;
}

.about-story p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Active nav link state */
.nav-links a.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .about-content h1 {
        font-size: 2.5rem;
    }
    
    .about-story p {
        font-size: 1.1rem;
    }
}

.about-image {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
} 