@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: hsl(195, 78%, 55%);
    --secondary-color: #2575fc;
    --background-color: #fdfdff;
    --surface-color: #f7fafc;
    --light-gray: #edf2f7;
    --dark-text: #1a202c;
    --light-text: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow: 0 10px 25px rgba(106, 17, 203, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --gradient: linear-gradient(135deg, hsl(185, 75%, 55%), hsl(210, 90%, 65%));
    --text-dark: #333;
    --text-light: #666;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* General Styles */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    background-color: var(--background-color);
    color: var(--dark-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--dark-text);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

section {
    padding: 100px 0;
    overflow: hidden; /* Prevent horizontal scroll from animations */
}

.section-bg {
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo-link {
    text-decoration: none;
}

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

nav h1 {
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.nav-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    font-weight: 600;
    color: var(--light-text);
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(106, 17, 203, 0.05);
}

.nav-download {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 50px;
    background: hsl(195, 78%, 55%);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
}

.nav-download:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.more-menu {
    font-weight: 600;
    letter-spacing: 0px;
    padding: 8px;
    line-height: 1;
    display: inline-block;
    transform: rotate(90deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--surface-color);
    min-width: 160px;
    box-shadow: var(--shadow);
    z-index: 1;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    border: 1px solid var(--border-color);
    list-style: none;
}

.dropdown-content a {
    padding: 12px 20px;
    border-radius: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content */
main {
    /* text-align: center; */ /* This was causing the issue */
}

/* Content Sections for pages like terms/privacy */
.content-section {
    padding: 80px 0;
    text-align: left;
}
.content-section .container {
    max-width: 800px;
}
.content-section h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}
.content-section p, .content-section ul, .content-section ol {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--light-text);
}
.content-section ul, .content-section ol {
    padding-left: 20px;
}
.content-section a {
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    color: #fff;
    position: relative;
    text-align: left;
    background: var(--gradient);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1 1 50%;
    z-index: 2;
}

.hero-video {
    flex: 1 1 55%;
    max-width: 750px;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: move 20s linear infinite;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(-200px, 200px); }
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: 0;
    margin-right: 0;
}

.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: var(--primary-color);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 25px;
}

/* --- Animation Styles --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- New Section Styles --- */

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.section-description {
    text-align: center;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

/* Trusted By & App Integrations Section */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.logo-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-item img[alt="Notion"] {
    width: 65px;
    height: 65px;
    padding: 8px;
}

.logo-item img[alt="Excel"] {
    width: 95px;
    height: 95px;
}

.logo-item:hover {
    transform: translateY(-4px);
}

.logo-item:hover img {
    transform: scale(1.1);
}

/* App Integrations Section */
.app-integrations {
    border-top: 1px solid var(--border-color);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features h2, .how-it-works h2, .testimonials h2 {
    font-size: 2.8rem;
    margin-bottom: 70px;
    color: var(--dark-text);
    text-align: center;
}

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

.feature-item {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-item svg {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background-image: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Video Player in Hero */
.hero-video video,
.hero-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.step {
    text-align: center;
    flex-grow: 1;
}

.step:last-child {
    flex-grow: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.step h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

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

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 10px;
    flex-shrink: 0;
}

.step-item:last-child .step-arrow {
    display: none;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta .btn {
    /* This can be empty now */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.testimonial {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.testimonial p {
    color: var(--light-text);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial cite {
    font-weight: 700;
    color: var(--dark-text);
    align-self: flex-end;
    font-style: normal;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 400;
}

.pricing-card .pricing-description {
    color: var(--light-text);
    margin-bottom: 30px;
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 10px;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* Footer */
footer {
    text-align: left;
    padding: 4rem 0 2rem 0;
    background-color: var(--dark-text);
    color: var(--light-gray);
    font-size: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}
.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col p {
    color: var(--light-text);
    max-width: 300px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul a {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #fff;
}

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

/* Content page styles */
.content {
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    padding: 3rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-video {
        max-width: 100%;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .features h2, .how-it-works h2, .testimonials h2 {
        font-size: 2.5rem;
    }

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

    .pricing-card.popular {
        transform: scale(1); /* Disable scale on mobile */
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 400px;
    }

    .step {
        text-align: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .step-item:last-child .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .nav-right {
        position: absolute;
        top: 80px;
        right: 20px;
        background: var(--surface-color);
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
        overflow: hidden;
        flex-direction: column;
        align-items: stretch;
        width: 200px;
        display: none; /* Controlled by JS or checkbox hack if needed */
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .nav-download {
        display: block;
        text-align: center;
        margin: 0;
        border-radius: 8px;
    }

    .more-menu {
        transform: rotate(90deg);
        margin: 10px 0;
     }

     .footer-grid {
         grid-template-columns: 1fr;
         text-align: center;
     }
     .footer-col p {
         margin: 0 auto;
     }
}

.page-main {
    padding: 4rem 0;
}

.page-main h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-main p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* New Contact Page Styles */
.page-main.text-center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.page-main .lead {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-email {
    margin: 1.5rem 0;
}

.contact-email a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--secondary-color);
}

/* Footer Styles */
.site-footer {
    /* ... existing code ... */
}

.page-main,
.content-section {
    flex-grow: 1;
}

/* Installation Guide Page */
.install-main {
    background: var(--background-color);
}

.download-inline {
    background: var(--gradient);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: var(--shadow);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 36px;
}

.download-inline h1 {
    margin: 0 0 0.75rem 0;
    font-size: 2.25rem;
    color: #fff;
}

.download-inline p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
}

.download-inline .btn {
    margin-top: 0.5rem;
}

.download-inline a:not(.btn) {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.download-inline a:not(.btn):hover {
    opacity: 0.85;
}

.install-guide {
    padding: 80px 0 120px 0;
}

/* Removed .guide-grid - now using stacked layout */

.guide-steps {
    display: grid;
    gap: 24px;
}

.guide-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.guide-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.guide-card ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--light-text);
    line-height: 1.7;
}

.guide-card ol > li {
    margin-bottom: 1.25rem;
}

.guide-card ol > li:last-child {
    margin-bottom: 0;
}

.guide-card ol ol {
    margin-top: 0.75rem;
    padding-left: 1.4rem;
}

.guide-card ol ol li {
    margin-bottom: 0.5rem;
}

.guide-video-section {
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.guide-steps-section {
    max-width: 900px;
    margin: 0 auto;
}

.guide-video-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.guide-video-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.guide-video-card p {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--light-text);
}

.guide-video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.guide-video-wrapper video,
.guide-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.install-support {
    padding: 80px 0 120px 0;
}

.support-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.support-card p {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.support-card a {
    font-weight: 600;
}

/* Removed media query for .guide-grid - using stacked layout */

@media (max-width: 768px) {
    .download-inline {
        padding: 24px;
    }

    .guide-card,
    .guide-video-card {
        padding: 28px;
    }

    .support-card {
        padding: 36px 24px;
    }

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

    .legal-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }
}

/* Contact Page */
.contact-main {
    background: var(--background-color);
}

.contact-hero {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
    background: var(--gradient);
    color: #fff;
}

.contact-hero h1 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-hero .lead {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.contact-content {
    padding: 60px 0 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.contact-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-weight: 600;
    color: var(--dark-text);
}

.form-field input,
.form-field textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fdfdfd;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.15);
}

.contact-submit {
    justify-self: flex-start;
}

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

.contact-steps {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--light-text);
    line-height: 1.7;
}

.contact-steps li {
    margin-bottom: 0.75rem;
}

.contact-privacy {
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
}

.form-status {
    margin-top: 1.5rem;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.form-status[hidden] {
    display: none;
}

.form-status.success {
    border-color: rgba(56, 142, 60, 0.4);
    background: rgba(56, 142, 60, 0.12);
    color: #2e7d32;
}

.form-status.error {
    border-color: rgba(229, 57, 53, 0.4);
    background: rgba(229, 57, 53, 0.12);
    color: #c62828;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 28px;
    }

    .contact-hero {
        padding-top: 120px;
        padding-bottom: 32px;
    }
}

/* Legal Pages */
.legal-main {
    background: var(--background-color);
}

.legal-hero {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
    margin-bottom: 0.5rem;
}

.legal-hero .lead {
    color: var(--light-text);
}

.legal-content {
    padding: 60px 0 120px 0;
}

.legal-card {
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
    line-height: 1.9;
    color: var(--text-light);
}

.legal-card h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.legal-card h2:first-of-type {
    margin-top: 2rem;
}

.legal-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.legal-card ul {
    margin: 0 0 1.5rem 1.4rem;
    padding: 0;
}

.legal-card ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 32px;
    }
}
