/* Serenity App Website Styles */
:root {
    --primary-color: #3C6E71; /* Muted Teal Green */
    --background-color: #F2E9E4; /* Soft Beige/Cream */
    --text-color: #3C6E71;
    --text-light: #5A8A8D;
    --white: #FFFFFF;
    --border-color: #D4C4B8;
    --shadow: rgba(60, 110, 113, 0.1);
}

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

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

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

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

.download-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #2A5A5D;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #E8DCD4 100%);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #2A5A5D;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.phone-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: transparent;
    object-fit: cover;
    object-position: center;
    /* Minimal cropping to remove container box edges */
    clip-path: inset(0% 3% 0% 3%);
    transform: scale(1.0);
    transform-origin: center center;
}


/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 60px;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--background-color);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.download-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
    background: transparent;
    padding: 0;
    border: none;
}

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

.download-btn img {
    height: 60px;
    width: auto;
    background: transparent;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--background-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(242, 233, 228, 0.3);
    padding-top: 20px;
    text-align: center;
    color: var(--background-color);
}

/* Support Page Styles */
.support-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #E8DCD4 100%);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background-color: var(--white);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Status Messages */
.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-status.success {
    background-color: #D4EDDA;
    border: 1px solid #C3E6CB;
    color: #155724;
}

.form-status.error {
    background-color: #F8D7DA;
    border: 1px solid #F5C6CB;
    color: #721C24;
}

.status-icon {
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.status-text {
    flex: 1;
}

.status-text ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.status-text li {
    margin-bottom: 5px;
}

/* Button disabled state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Active nav link */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Instructions Page Styles */
.instructions-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #E8DCD4 100%);
    text-align: center;
}

.instructions-nav {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 90;
}

.nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.nav-tab {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
}

.nav-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.instructions-content {
    padding: 60px 0;
    background-color: var(--background-color);
}

.instruction-section {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.instruction-section.active {
    display: block;
}

.instruction-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.section-intro {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.important-note,
.warning-note {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.warning-note {
    border-left-color: #E74C3C;
    background-color: #FDF2F2;
}

.important-note h4,
.warning-note h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.warning-note h4 {
    color: #E74C3C;
}

.important-note p,
.warning-note p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Policy Pages Styles */
.policy-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #E8DCD4 100%);
    text-align: center;
}

.last-updated {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 10px;
}

.policy-content {
    padding: 80px 0;
    background-color: var(--white);
}

.policy-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.company-info {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow);
}

.company-info p {
    margin: 0;
    color: var(--primary-color);
    font-size: 16px;
    text-align: center;
}

.policy-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 50px 0 20px 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.policy-text h2:first-child {
    margin-top: 0;
}

.policy-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
}

.policy-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.policy-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-text li {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin: 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.policy-note {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.policy-note h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 22px;
}

.policy-note p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 2px 10px var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

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

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .instruction-section h2 {
        font-size: 28px;
    }

    .policy-content {
        padding: 60px 0;
    }

    .policy-text h2 {
        font-size: 24px;
    }
}

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

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

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

    .section-title {
        font-size: 28px;
    }

    .features,
    .how-it-works,
    .download {
        padding: 60px 0;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .contact-section,
    .faq-section {
        padding: 60px 0;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .instructions-content {
        padding: 40px 0;
    }

    .step-item {
        padding: 20px;
    }

    .nav-tab {
        font-size: 12px;
        padding: 10px 15px;
    }

    .policy-content {
        padding: 40px 0;
    }

    .policy-text h2 {
        font-size: 22px;
    }

    .policy-text h3 {
        font-size: 18px;
    }

    .policy-note {
        padding: 20px;
    }
}
