/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Back Button for Subpages */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    color: #6a6a6a;
}

.back-button svg {
    width: 20px;
    height: 20px;
}

/* Header */
.header {
    padding: 1.5rem 2.5rem;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 48px;
    height: auto;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Phone Section */
.phone-section {
    flex-shrink: 0;
}

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

.phone-mockup:hover {
    transform: rotate(-3deg) translateY(-10px);
}

/* Marketing Section */
.marketing-section {
    max-width: 520px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid #1a1a1a;
    border-radius: 9999px; /* Fully rounded pill shape */
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.headline {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 10px; /* Softer rounded corners */
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.store-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.store-icon {
    width: 24px;
    height: 24px;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-label {
    font-size: 0.625rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1.5px solid #1a1a1a;
    border-radius: 10px;
    background-color: transparent;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link-icon {
    width: 18px;
    height: 18px;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -10px;
    background-size: cover;
    background-position: center;
}

.avatar:first-child {
    margin-left: 0;
}

.social-text {
    font-size: 0.9375rem;
    color: #4a4a4a;
}

/* Decorative Circles */
.decorative-circles {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
}

.circle-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    position: relative;
    z-index: 10;
}

.footer-credit {
    font-size: 0.875rem;
    color: #6a6a6a;
}

.footer-credit a {
    color: #6a6a6a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: #1a1a1a;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #6a6a6a;
}

/* Subpage Styles */
.subpage-main {
    flex: 1;
    padding: 2rem;
    position: relative;
}

.subpage-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.subpage-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
}

.subpage-section {
    margin-bottom: 2rem;
}

.subpage-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.subpage-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.subpage-text:last-child {
    margin-bottom: 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.contact-info strong {
    color: #1a1a1a;
}

.legal-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.legal-list li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 3rem;
    }

    .phone-mockup {
        width: 280px;
    }

    .headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .main {
        padding: 1.5rem;
    }

    .subpage-main {
        padding: 1.5rem;
    }

    .subpage-title {
        font-size: 2rem;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .phone-mockup {
        width: 260px;
        transform: rotate(0deg);
    }

    .phone-mockup:hover {
        transform: rotate(0deg) translateY(-10px);
    }

    .marketing-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .headline {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .store-button {
        justify-content: center;
    }

    .social-proof {
        flex-direction: column;
        gap: 0.75rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .footer-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .decorative-circles {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .headline {
        font-size: 1.75rem;
    }

    .phone-mockup {
        width: 220px;
    }

    .footer-nav {
        gap: 1rem;
    }

    .subpage-title {
        font-size: 1.75rem;
    }

    .subpage-text,
    .contact-info p,
    .legal-list li {
        font-size: 0.875rem;
    }
}
