/* ==========================================================================
   2KCam Website Styles
   Y2K Aesthetic with Modern Design
   ========================================================================== */

/* CSS Variables */
:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-card: #1a1a24;
    --color-text: #ffffff;
    --color-text-secondary: #a0a0b0;
    --color-primary: #ff1493; /* Hot Pink */
    --color-secondary: #00ffff; /* Electric Cyan */
    --color-accent: #9b30ff; /* Electric Purple */
    --color-success: #00ff88;
    --gradient-primary: linear-gradient(135deg, #ff1493, #9b30ff);
    --gradient-secondary: linear-gradient(135deg, #00ffff, #9b30ff);
    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 20, 147, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gradient-primary);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    color: white !important;
    font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(255, 20, 147, 0.1);
}

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

.apple-icon {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 20, 147, 0.15);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: auto;
    background: #1a1a24;
    border-radius: 40px;
    padding: 10px;
    border: 3px solid #2a2a34;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: var(--color-bg-card);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.badge-1 {
    top: 80px;
    right: -20px;
}

.badge-2 {
    top: 200px;
    left: -40px;
}

.badge-3 {
    bottom: 120px;
    right: -30px;
}

/* ==========================================================================
   Social Proof
   ========================================================================== */

.social-proof {
    background: var(--color-bg-secondary);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-items {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-label {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--color-bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 20, 147, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

/* ==========================================================================
   Camera Modes Section
   ========================================================================== */

.modes {
    padding: 120px 0;
    background: var(--color-bg-secondary);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.mode-card {
    background: var(--color-bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.mode-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
}

.mode-card.free .mode-tag {
    background: rgba(0, 255, 136, 0.15);
    color: var(--color-success);
}

.mode-card.pro .mode-tag {
    background: rgba(255, 20, 147, 0.15);
    color: var(--color-primary);
}

.mode-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    padding-right: 50px;
}

.mode-card p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing {
    padding: 120px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}

.price {
    font-size: 3rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.disabled {
    color: var(--color-text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-features li::before {
    content: "✓";
    color: var(--color-success);
    margin-right: 12px;
    font-weight: 700;
}

.pricing-features li.disabled::before {
    content: "✕";
    color: #ff4444;
}

.pricing-card .btn {
    width: 100%;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(155, 48, 255, 0.1) 100%);
    border-top: 1px solid rgba(255, 20, 147, 0.2);
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--color-bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 250px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    display: inline;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--color-text);
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-content {
    padding: 120px 0 60px;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.last-updated {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.legal-section h3 {
    font-size: 1.15rem;
    margin: 24px 0 12px;
    color: var(--color-text);
}

.legal-section p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
    line-height: 1.7;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .floating-badge {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .proof-items {
        gap: 40px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 16px 28px;
    }

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

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}
