/* ==============================================
   Connect Landing Page Styles
   Based on the original beautiful WordPress theme
   ============================================== */

/* CSS Variables */
:root {
    /* Connect App Colors - Warm & Cozy */
    --primary-purple: #c084fc;
    --primary-pink: #ec4899;
    --accent-peach: #fdba74;
    --soft-cream: #fef3c7;

    /* Text Colors */
    --text-primary: #44403c;
    --text-secondary: #78716c;
    --text-light: #a8a29e;
    --text-dark: #1e293b;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body - Beautiful gradient background like the working theme */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #f3e8ff 0%, #fce7f3 50%, #fed7aa 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation Header */
.site-header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-pink);
}

/* Hero Section */
.hero {
    padding: var(--section-padding) 0;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content > img {
    width: 120px !important;
    height: 120px !important;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-peach));
    color: white;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #9ca3af, #d1d5db);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
    color: white;
    box-shadow: 0 8px 24px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(131, 58, 180, 0.4);
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-primary);
    opacity: 1;
}

/* Feature icons - FIXED SIZE */
.card img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 32px;
    margin-top: 48px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Pandora Card Special */
.pandora-card {
    grid-column: 1 / -1;
}

.pandora-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.price-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.price-period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.price-annual {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.premium-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-peach));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.savings-badge {
    background: #fce7f3;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    line-height: 2;
    color: var(--text-secondary);
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-features li {
    color: var(--text-primary);
}

/* Download Section */
.download-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
}

.download-card h2 {
    margin-bottom: 20px;
}

.download-card p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background: rgba(68, 64, 60, 0.9);
    backdrop-filter: blur(20px);
    padding: 60px 0 30px;
    margin-top: var(--section-padding);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: var(--primary-pink);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Header Mobile */
    .site-header {
        padding: 20px 0;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        gap: 20px;
        font-size: 0.9rem;
    }

    .logo img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 16px 30px;
    }

    /* Cards Mobile */
    .card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    /* Grid Mobile */
    .grid {
        gap: 30px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    /* Section Mobile */
    .section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 40px;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Pricing Mobile */
    .pricing-card {
        padding: 40px 25px;
    }

    .price-number {
        font-size: 2.5rem;
    }

    .price-currency {
        font-size: 1.2rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.75rem;
    }

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

    .btn {
        font-size: 1rem;
        padding: 14px 25px;
    }

    .card {
        padding: 25px 15px;
    }
}

/* ============================================
   Mobile Navigation Hamburger Menu
   ============================================ */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }
}

/* ============================================
   Screenshots Carousel Improvements
   ============================================ */
.screenshots-carousel {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-purple) rgba(0,0,0,0.1);
}

.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border-radius: 10px;
}

.screenshots-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

.screenshot-item {
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================
   Table Responsive
   ============================================ */
@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }

    table th,
    table td {
        padding: 12px 8px !important;
    }

    table th:first-child,
    table td:first-child {
        position: sticky;
        left: 0;
        background: white;
        z-index: 1;
    }
}

/* ============================================
   Email Form Improvements
   ============================================ */
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.1);
}

/* ============================================
   Smooth Scroll Behavior
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Loading States
   ============================================ */
.btn:active {
    transform: scale(0.98);
}

/* ============================================
   Accessibility Improvements
   ============================================ */
.btn:focus,
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    #cookieBanner,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        background: white;
    }

    .card {
        break-inside: avoid;
    }
}