/*
Theme Name: VelvetFlow
Description: A sleek, modern theme for VelvetFlow - Professional Creative Collaboration Platform
Version: 1.0
Author: VelvetFlow Team
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Color Palette - Hinge-inspired */
:root {
    --primary-color: #ff4458;
    --primary-dark: #e63946;
    --secondary-color: #6c5ce7;
    --accent-color: #a29bfe;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff4458 0%, #6c5ce7 100%);
    --gradient-secondary: linear-gradient(135deg, #a29bfe 0%, #74b9ff 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--background-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ff4458 0%, #6c5ce7 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.app-store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.app-store-btn {
    display: inline-block;
    background: #000;
    color: white !important;
    padding: 0;
    border-radius: 8px;
    text-decoration: none !important;
    transition: transform 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
    width: 150px;
    height: 50px;
}

.app-store-btn:hover {
    transform: scale(1.05);
    background: #333;
}

.app-store-content {
    padding: 8px 16px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.app-store-line1 {
    font-size: 11px;
    line-height: 1;
    margin-bottom: 2px;
    opacity: 0.9;
    color: white;
}

.app-store-line2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    color: white;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features CTA */
.features-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    color: white;
}

.features-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.features-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* API Section */
.api-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.api-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.api-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.api-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.api-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.api-benefit {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.api-benefit h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.api-benefit p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.api-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.api-tier {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tier-name {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.tier-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.api-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.api-cta .btn {
    min-width: 200px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.faq-category {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--background-light);
    padding-bottom: 1rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.faq-cta h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Legal Section */
.legal {
    padding: 100px 0;
    background: var(--text-dark);
    color: white;
}

.legal h2 {
    color: white;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.legal-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.legal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.legal-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compliance-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.badge-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Safety Section */
.safety {
    padding: 100px 0;
    background: var(--text-dark);
    color: white;
}

.safety-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.safety h2 {
    color: white;
    margin-bottom: 2rem;
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.safety-feature {
    text-align: center;
}

.safety-feature:hover .safety-feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.safety-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Email Signup Styles */
.email-signup-form {
    position: relative;
}

.email-signup-form input[type="email"]:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 68, 88, 0.1);
}

.signup-message {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .api-benefits,
    .api-tiers {
        grid-template-columns: 1fr;
    }
    
    .api-section h2 {
        font-size: 2rem;
    }
    
    .api-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .features-cta {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }
    
    .faq-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-category {
        padding: 2rem;
    }
    
    .legal-card {
        padding: 2rem;
    }
    
    .compliance-badges {
        grid-template-columns: 1fr;
    }
    
    .compliance-badge {
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    /* Email Signup Mobile */
    .email-signup-form {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .email-signup-form input[type="email"] {
        margin-bottom: 0 !important;
    }
    
    /* API Pricing Mobile */
    .api-pricing-simple {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Security Comparison Mobile */
    .comparison-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1rem -15px; /* Extend to edges on mobile */
        padding: 0 15px;
    }
    
    .comparison-table {
        font-size: 0.75rem !important;
        min-width: 1400px !important; /* Accommodate the extra columns */
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.4rem !important;
        min-width: 90px;
        font-size: 0.75rem;
    }
    
    .comparison-table th {
        font-size: 0.7rem !important;
        line-height: 1.2;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 140px; /* Give more space to feature names */
        font-size: 0.8rem;
        font-weight: 600;
        position: sticky;
        left: 0;
        background: white;
        z-index: 2;
    }
    
    .comparison-table thead th:first-child {
        background: var(--gradient-primary);
        color: white;
    }
    
    .security-highlights {
        grid-template-columns: 1fr !important;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
} 