/* Couple360 Landing Page Styles */

/* CSS Variables for Design System */
:root {
    /* Primary Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #FF7E9F 0%, #8E76FF 50%, #76D6FF 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 126, 159, 0.1) 0%, rgba(142, 118, 255, 0.1) 50%, rgba(118, 214, 255, 0.1) 100%);
    
    /* Individual Colors */
    --color-pink: #FF7E9F;
    --color-purple: #8E76FF;
    --color-blue: #76D6FF;
    
    /* Text Colors */
    --color-text-primary: #1A0A2E;
    --color-text-secondary: #4A3F66;
    --color-white: #FFFFFF;
    
    /* Background Colors */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F5F6FA;
    --color-border: #EAE8F2;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing System (8px base) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    --space-4xl: 120px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(142, 118, 255, 0.25);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.1);
    
    /* Layout */
    --container-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-primary);
    line-height: 1.6;
    background-color: var(--color-bg-primary);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    min-height: 60px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.header-logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

.header-logo-text {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-left: 4px;
}

.header-logo-360 {
    height: 28px;
    width: auto;
    margin-left: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-4xl);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 100px;
}

.header-nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav-link:hover {
    color: var(--color-purple);
}

.header-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-nav-link:hover::after {
    width: 100%;
}

.header-cta-btn {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
    vertical-align: middle;
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--gradient-subtle);
    padding: calc(var(--space-2xl) + 60px) 0 var(--space-2xl) 0;
    margin-top: 60px;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-main {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: var(--space-2xl);
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-right: var(--space-lg);
}

.hero-title {
    font-size: 42px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(142, 118, 255, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    transform: translateY(-2px);
}

.hero-screenshots {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: var(--space-sm) 0;
}

.hero-screenshot-item {
    flex: 0 0 auto;
    width: 260px;
    max-width: 280px;
    filter: drop-shadow(var(--shadow-lg));
}

.hero-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: 40px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.feature-card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    gap: var(--space-2xl);
    align-items: center;
}

.feature-card:hover {
    border-color: var(--color-purple);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-image {
    flex: 0 0 22%;
    max-width: 22%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 126, 159, 0.1) 0%, rgba(142, 118, 255, 0.1) 50%, rgba(118, 214, 255, 0.1) 100%);
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.feature-content {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.3;
}

.feature-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 90%;
}

/* Lottie Animation Styles */
.lottie-animation {
    width: 100%;
    height: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Screenshots section styles removed as section was removed */

/* Download Section */
.download {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, rgba(255, 126, 159, 0.8) 0%, rgba(142, 118, 255, 0.8) 50%, rgba(118, 214, 255, 0.8) 100%);
    color: var(--color-white);
    text-align: center;
}

.download-title {
    font-size: 40px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.download-subtitle {
    font-size: 18px;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.download-btn {
    background: var(--color-white);
    color: var(--color-text-primary);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.download-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-text-primary);
}

.download-btn-icon svg {
    width: 20px;
    height: 20px;
}

.download-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-text {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.store-name {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

/* Contact Section */
.contact {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, rgba(255, 126, 159, 0.05) 0%, rgba(142, 118, 255, 0.05) 50%, rgba(118, 214, 255, 0.05) 100%);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: 40px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.contact-email {
    margin-top: var(--space-lg);
}

.contact-email-link {
    display: inline-block;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-purple);
    text-decoration: none;
    padding: 12px 24px;
    background: var(--color-white);
    border: 2px solid var(--color-purple);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.contact-email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.contact-email-link:hover {
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-email-link:hover::before {
    left: 0;
}

/* Footer */
.footer {
    background: var(--color-text-primary);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo-img {
    height: 32px;
    width: auto;
    border-radius: 6px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-white);
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
        min-height: auto;
        padding: var(--space-lg) 0;
    }
    
    .hero-screenshots {
        gap: var(--space-sm);
    }
    
    .hero-screenshot-item {
        width: 200px;
        max-width: 220px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        gap: var(--space-lg);
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-content {
        align-items: center;
        text-align: center;
    }
    
    .feature-header {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .feature-image {
        flex: 0 0 auto;
        max-width: 100%;
    }

    /* Header responsive */
    .header-nav {
        gap: 60px;
    }
    
    .header-cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--space-md) + 60px) 0 var(--space-md) 0;
        min-height: 70vh;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
        min-height: auto;
        padding: var(--space-md) 0;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-screenshots {
        order: 1;
        margin-bottom: var(--space-lg);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
    }
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        gap: var(--space-md);
    }
    
    .hero-screenshots {
        gap: var(--space-sm);
    }
    
    .hero-screenshot-item {
        width: 180px;
        max-width: 200px;
    }
    
    .download-title {
        font-size: 28px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Header mobile styles */
    .header-nav {
        gap: var(--space-sm);
    }
    
    .header-right {
        gap: var(--space-lg);
    }
    
    .header-logo-text {
        font-size: 18px;
    }
    
    .header-logo-img {
        height: 36px;
    }
    
    .header-logo-360 {
        height: 24px;
    }
    
    .header-cta-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero {
        min-height: 65vh;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .feature-card {
        padding: var(--space-md);
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .logo-360 {
        height: 28px;
    }
    
    /* Header extra small styles */
    .header-nav {
        display: none;
    }
    
    .header-logo-text {
        font-size: 16px;
    }
    
    .header-logo-img {
        height: 32px;
    }
    
    .header-logo-360 {
        height: 20px;
    }
    
    .header-cta-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn:focus,
.download-btn:focus,
.footer-link:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-text-primary: #000000;
        --color-text-secondary: #333333;
        --color-border: #666666;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
