/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1f2937;
}

p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    padding-top: calc(4rem + 64px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0c16.569 0 30 13.431 30 30S46.569 60 30 60 0 46.569 0 30 13.431 0 30 0zm0 8c-12.15 0-22 9.85-22 22s9.85 22 22 22 22-9.85 22-22-9.85-22-22-22z' fill='%232563eb' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

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

.iphone-mockup {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.iphone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Feature sections */
.feature {
    padding: 4rem 0;
}

.feature:nth-child(even) {
    background-color: #f8fafc;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.feature-text {
    flex: 1;
}

.feature-image {
    flex: 1;
    max-width: 100%;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* CTA section */
.cta {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.25rem;
}

/* Buttons */
.cta-button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-block;
    user-select: none;
}

.hero .cta-button {
    background-color: white;
    color: #2563eb;
}

.cta .cta-button {
    background-color: white;
    color: #2563eb;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .feature-content {
        flex-direction: row;
    }

    .feature-right .feature-content {
        flex-direction: row-reverse;
    }

    .hero-content {
        flex-direction: row;
        gap: 4rem;
    }

    .hero-text {
        padding-right: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .feature, .cta {
    animation: fadeIn 1s ease-out;
}

/* Legal Content Pages */
.legal-content {
    padding: 4rem 0;
    max-width: 800px;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.legal-content h2 {
    color: #2563eb;
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #1f2937;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.legal-content section {
    margin: 2rem 0;
}

.legal-content p {
    margin: 1rem 0;
    line-height: 1.7;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.7;
}

.legal-content section > p:first-of-type {
    margin-top: 1rem;
}

/* Contact Page */
.contact-content {
    padding: 6rem 0;
    text-align: center;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    display: inline-block;
}

.contact-email {
    color: #2563eb;
    font-size: 1.25rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-email:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Header for internal pages */
header {
    background: #1f2937;
    padding: 1rem 0;
}

header .footer-logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a.active {
    color: #2563eb;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2563eb;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
} 