/* MachDB Website Styles */
:root {
    --primary-blue: #2B9FD9;
    --secondary-blue: #1E5A8E;
    --accent-blue: #87CEEB;
    --dark-navy: #0D3B66;
    --light-bg: #F8FBFF;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
}

* {
    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(--light-bg);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Navigation */
nav {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

nav .logo img {
    height: 50px;
    width: 50px;
    border-radius: 10px;
}

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

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

nav ul a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-logo {
    width: 400px;
    height: 400px;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

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

.cta-button.primary:hover {
    background-color: #0a2942;
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-navy);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Screenshots Section */
.screenshots {
    background: var(--white);
}

.screenshot-gallery-iphone {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-gallery-ipad {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.screenshot-item {
    border-radius: 15px;
    overflow: hidden;
  /*  box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
    transition: transform 0.3s;
}

.screenshot-item-ipad {
    max-width: 900px;
    width: 100%;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Section */
.video-container {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Beta Info Box */
.beta-info {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.beta-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.beta-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* FAQ Section */
.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-light);
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
    border-top: 1px solid var(--light-bg);
}

/* Contact Form */
.contact-form {
    padding: 2rem 0;
}

.contact-form iframe {
    width: 100%;
    height: 4000px;
    border: none;
    border-radius: 15px;
   /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
}

/* Footer */
footer {
    background: var(--dark-navy);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
        margin-bottom: 1.5rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

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

    .screenshot-gallery-iphone {
        grid-template-columns: 1fr;
    }

    .screenshot-item-ipad {
        max-width: 100%;
    }
}
