/* Modern Security-Focused Design for ClipVault */

:root {
    /* Colors from app */
    --primary: #FF9500;
    --primary-dark: #FF5E00;
    --success: #34C759;
    --blue: #007AFF;
    --purple: #5856D6;
    --red: #FF2D55;

    /* Dark theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: #1e1e1e;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #707070;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF9500 0%, #FF5E00 100%);
    --gradient-text: linear-gradient(135deg, #FF9500 0%, #FFB340 50%, #FF5E00 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 149, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.logo img {
    border-radius: 10px;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-links .btn-primary {
    color: white !important;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 149, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 149, 0, 0.4);
}

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

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 100px;
    color: var(--success);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Hero Image */
.hero {
    display: flex;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-image {
    position: relative;
}

.app-window {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-window img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -60px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Video Section */
.video-section {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl) 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Security Section */
.security {
    background: var(--bg-secondary);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.security-text {
    max-width: 550px;
}

.lead {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.security-item {
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.security-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.security-item h3 {
    font-size: 16px;
    font-weight: 600;
}

.security-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* How It Works */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 32px;
    color: var(--text-tertiary);
}

/* Screenshots */
.screenshots {
    background: var(--bg-secondary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.screenshots-grid img:hover {
    transform: scale(1.02);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

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

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.cta-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-security {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-image {
        order: -1;
    }

    .floating-card {
        display: none;
    }

    .security-content {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 32px;
    }

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

    .footer-content, .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* Privacy Page Styles */
.privacy-page {
    padding: 120px 0 var(--spacing-3xl);
}

.privacy-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.privacy-header h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-tldr {
    background: var(--bg-card);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.privacy-tldr h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    color: var(--success);
}

.tldr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

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

.tldr-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.tldr-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tldr-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.privacy-section {
    margin-bottom: var(--spacing-3xl);
}

.privacy-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.privacy-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.privacy-section ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.privacy-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.security-layers {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.security-layer {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.layer-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.layer-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.privacy-guarantee {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 94, 0, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.guarantee-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.privacy-guarantee h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.guarantee-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.guarantee-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

/* FAQ Page Styles */
.faq-page {
    padding: 120px 0 var(--spacing-3xl);
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.faq-header h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: var(--spacing-3xl);
}

.faq-category h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    display: flex;
    align-items: start;
    gap: 12px;
}

.faq-question::before {
    content: "Q:";
    color: var(--primary);
    flex-shrink: 0;
    font-weight: 700;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 32px;
}

.faq-answer p {
    margin-bottom: var(--spacing-md);
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.faq-answer ul li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.faq-answer ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.faq-answer code {
    background: rgba(255, 149, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary);
}

.faq-cta {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.faq-cta h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.faq-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.faq-cta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-cta a:hover {
    text-decoration: underline;
}

/* Responsive for Privacy and FAQ Pages */
@media (max-width: 968px) {
    .privacy-header h1,
    .faq-header h1 {
        font-size: 40px;
    }

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

    .security-layer {
        flex-direction: column;
        text-align: center;
    }

    .layer-number {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .privacy-header h1,
    .faq-header h1 {
        font-size: 32px;
    }

    .privacy-section h2,
    .faq-category h2 {
        font-size: 24px;
    }

    .guarantee-features {
        flex-direction: column;
    }
}
