/* Free Time Website - Brand Styles */
/* Colors: Primary #5DACB3, Navy #083267, Light Background #F8FCFF */

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

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #F8FCFF;
}

/* Modern Navigation Header */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(93, 172, 179, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(8, 50, 103, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: 600;
    color: #083267;
    text-decoration: none;
}

.logo:hover {
    color: #083267;
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: #083267;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #5DACB3;
}

.nav-cta {
    background: linear-gradient(135deg, #5DACB3 0%, #4a9199 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 172, 179, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 172, 179, 0.4);
    text-decoration: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #083267;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section - Two Column Layout */
.hero-modern {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 40px 40px 40px;
    background-color: #F8FCFF;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.phone-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #083267;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.25em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.phone-mockup {
    max-width: 280px;
    width: 100%;
}

.phone-screenshot {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(8, 50, 103, 0.15);
    transition: transform 0.3s ease;
}

.phone-screenshot:hover {
    transform: scale(1.02);
}

.app-store-button {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
}

.app-store-button svg {
    display: block;
}

/* Features Section */
.features-section {
    padding: 100px 40px;
    background-color: #ffffff;
}

.features-title {
    text-align: center;
    font-size: 2.8em;
    font-weight: 700;
    color: #083267;
    margin-bottom: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #F8FCFF;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
    filter: grayscale(100%);
}

.feature-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #083267;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.6;
}

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

/* Old Header (for other pages) */
header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 3px solid #5DACB3;
    background: linear-gradient(135deg, #F8FCFF 0%, #ffffff 100%);
}

header h1 {
    font-size: 3em;
    font-weight: 600;
    color: #083267;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

header h1 a {
    color: #083267;
    text-decoration: none;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #5DACB3;
}

.tagline {
    font-size: 1.3em;
    color: #5DACB3;
    font-weight: 400;
}

/* Main Content */
main {
    padding: 60px 40px;
}

h1 {
    font-size: 2.5em;
    color: #083267;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2em;
    color: #083267;
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 2px solid #F8FCFF;
    font-weight: 600;
}

h2:first-child {
    border-top: none;
    padding-top: 0;
}

h3 {
    font-size: 1.5em;
    color: #5DACB3;
    margin: 30px 0 15px;
    font-weight: 600;
}

p {
    margin-bottom: 18px;
    font-size: 1.1em;
    color: #444;
}

ul, ol {
    margin: 20px 0 20px 35px;
}

li {
    margin-bottom: 12px;
    font-size: 1.1em;
    color: #444;
}

a {
    color: #5DACB3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #083267;
    text-decoration: underline;
}

.updated {
    color: #999;
    font-size: 0.95em;
    margin-bottom: 30px;
}

section {
    margin-bottom: 50px;
}

.footer-text {
    margin-top: 50px;
    padding: 25px;
    background-color: #F8FCFF;
    border-left: 5px solid #5DACB3;
    font-style: italic;
    text-align: center;
    border-radius: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px 30px;
    background-color: #F8FCFF;
}

footer nav {
    margin-bottom: 20px;
}

footer nav a {
    margin: 0 20px;
    color: #083267;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: #5DACB3;
    text-decoration: none;
}

footer p {
    color: #666;
    font-size: 0.95em;
}

/* Legal page specific styles */
.legal h2 {
    color: #083267;
}

.legal h3 {
    color: #5DACB3;
    font-size: 1.3em;
}

.legal section {
    margin-bottom: 50px;
}

.legal ul {
    margin-left: 30px;
}

.legal strong {
    color: #083267;
}

/* FAQ Section Styles */
.faq-section {
    padding: 40px 20px 60px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #083267;
    margin-bottom: 50px;
    border: none;
    padding: 0;
    font-weight: 700;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category h3 {
    font-size: 1.7em;
    color: #5DACB3;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #F8FCFF;
}

.faq-item {
    margin-bottom: 18px;
    border: 2px solid #F8FCFF;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(93, 172, 179, 0.15);
    border-color: #5DACB3;
}

.faq-item summary {
    padding: 22px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15em;
    color: #083267;
    background-color: #F8FCFF;
    transition: all 0.3s ease;
    list-style: none;
    position: relative;
    padding-right: 55px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8em;
    color: #5DACB3;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
    background-color: rgba(93, 172, 179, 0.08);
}

.faq-item[open] summary {
    background-color: #5DACB3;
    color: white;
    border-bottom: none;
}

.faq-item[open] summary::after {
    color: white;
}

.faq-answer {
    padding: 25px;
    background-color: white;
    color: #444;
    animation: fadeIn 0.4s ease-in;
}

.faq-answer p {
    margin-bottom: 14px;
}

.faq-answer ul, .faq-answer ol {
    margin: 15px 0 15px 30px;
}

.faq-answer li {
    margin-bottom: 10px;
}

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

/* Contact Section Styles */
.contact-section {
    padding: 60px 40px;
    background-color: #F8FCFF;
    border-radius: 16px;
    margin: 60px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #083267;
    margin-bottom: 20px;
    border: none;
    padding: 0;
    font-weight: 700;
}

.contact-section > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.15em;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(8, 50, 103, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #083267;
    font-size: 1.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #F8FCFF;
    border-radius: 10px;
    font-size: 1.05em;
    font-family: 'Lexend', sans-serif;
    transition: all 0.3s ease;
    background-color: #F8FCFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5DACB3;
    box-shadow: 0 0 0 4px rgba(93, 172, 179, 0.1);
    background-color: white;
}

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

.contact-form .cta-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #5DACB3 0%, #4a9199 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 172, 179, 0.3);
}

.contact-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 172, 179, 0.4);
}

.contact-email {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 1.05em;
}

.contact-email a {
    color: #5DACB3;
    font-weight: 600;
}

/* Detailed Feature Sections */
.feature-detail {
    padding: 100px 40px;
    background-color: #F8FCFF;
}

.feature-detail.alternate {
    background-color: #ffffff;
}

.feature-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-detail-text {
    flex: 1;
}

.feature-detail-text h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #083267;
    margin-bottom: 25px;
    margin-top: 0;
    padding-top: 0;
    border: none;
}

.feature-detail-text p {
    font-size: 1.15em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-detail-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-small {
    max-width: 320px;
    width: 100%;
}

.phone-mockup-small img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(8, 50, 103, 0.12);
    transition: transform 0.3s ease;
}

.phone-mockup-small img:hover {
    transform: scale(1.03);
}

/* Notification Mockup - Horizontal Banner Style */
.notification-mockup {
    max-width: 600px;
    width: 100%;
}

.notification-mockup img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(8, 50, 103, 0.15);
    transition: transform 0.3s ease;
}

.notification-mockup img:hover {
    transform: scale(1.02);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 40px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
    background: transparent;
    box-shadow: none;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.8em;
    font-weight: 700;
    color: #083267;
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    position: relative;
    min-height: 200px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.testimonial.active {
    opacity: 1;
    pointer-events: auto;
}

.testimonial-text {
    font-size: 1.4em;
    color: #444;
    line-height: 1.8;
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}

.testimonial-author {
    font-size: 1.1em;
    color: #5DACB3;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 70px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(8, 50, 103, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot:hover {
    background-color: rgba(8, 50, 103, 0.4);
}

.testimonial-dots .dot.active {
    background-color: #5DACB3;
    transform: scale(1.3);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        font-size: 1.1em;
    }

    .logo-img {
        height: 24px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Hide nav links by default on mobile */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 10px rgba(8, 50, 103, 0.1);
        border-top: 1px solid rgba(93, 172, 179, 0.1);
    }

    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 20px;
        font-size: 1.05em;
        border-bottom: 1px solid rgba(93, 172, 179, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        margin: 10px 20px;
        display: block;
        text-align: center;
        padding: 12px 28px;
        border-radius: 50px;
    }

    .hero-modern {
        padding: 60px 20px 40px;
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .phone-column {
        order: 2;
    }

    .text-column {
        order: 1;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .app-store-button {
        margin: 0 auto;
    }

    .features-section {
        padding: 60px 20px;
    }

    .features-title {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

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

    .container {
        padding: 15px;
    }

    header {
        padding: 40px 20px 30px;
    }

    header h1 {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1.1em;
    }

    main {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.7em;
    }

    footer nav a {
        display: block;
        margin: 12px 0;
    }

    .faq-section {
        padding: 30px 15px 40px;
    }

    .faq-section h2 {
        font-size: 2em;
    }

    .faq-category h3 {
        font-size: 1.4em;
    }

    .faq-item summary {
        font-size: 1.05em;
        padding: 18px 45px 18px 18px;
    }

    .faq-item summary::after {
        right: 18px;
        font-size: 1.5em;
    }

    .faq-answer {
        padding: 18px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-section h2 {
        font-size: 2em;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
    }

    .feature-detail {
        padding: 60px 20px;
    }

    .feature-detail-content {
        flex-direction: column;
        gap: 40px;
    }

    .feature-detail.alternate .feature-detail-content {
        flex-direction: column;
    }

    .feature-detail-text {
        text-align: center;
    }

    .feature-detail-text h2 {
        font-size: 2em;
    }

    .feature-detail-text p {
        font-size: 1.05em;
    }

    .phone-mockup-small {
        max-width: 280px;
    }

    .notification-mockup {
        max-width: 100%;
    }

    .testimonials-section {
        padding: 60px 20px;
    }

    .testimonials-section h2 {
        font-size: 2.2em;
        margin-bottom: 25px;
    }

    .testimonial-track {
        min-height: 250px;
    }

    .testimonial-text {
        font-size: 1.15em;
        line-height: 1.7;
    }

    .testimonial-author {
        font-size: 1em;
    }

    .testimonial-dots {
        margin-top: 80px;
    }
}
