/* Password Scrambler - Main Stylesheet */

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #ffd700;
    --dark: #2d3748;
    --light: #f7fafc;
    --success: #48bb78;
    --danger: #f56565;
    --text: #4a5568;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    background: var(--accent);
    color: var(--dark);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.download-btn {
    background: var(--accent);
    color: var(--dark) !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-weight: bold !important;
}

.download-btn:hover {
    background: white !important;
    color: var(--primary) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "🔒";
    position: absolute;
    right: -50px;
    top: 20%;
    font-size: 300px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.hero::after {
    content: "🔑";
    position: absolute;
    left: -50px;
    bottom: 10%;
    font-size: 250px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-image {
    text-align: center;
}

.extension-preview {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    max-width: 400px;
    margin: 0 auto;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.preview-icon {
    font-size: 2rem;
}

.preview-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark);
}

.preview-site {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
}

.preview-site-name {
    color: var(--dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.preview-order {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.order-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Features Section */
.features {
    padding: 80px 5%;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102,126,234,0.2);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

/* How It Works */
.how-it-works {
    padding: 80px 5%;
    background: white;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.step-content h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text);
    margin-bottom: 20px;
}

.step-example {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.example-before, .example-after {
    flex: 1;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
}

.example-before {
    background: #fee;
    border: 2px solid var(--danger);
}

.example-after {
    background: #efe;
    border: 2px solid var(--success);
}

.arrow-icon {
    font-size: 2rem;
    color: var(--primary);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 5%;
    color: white;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background: var(--light);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    padding: 80px 5%;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 30px;
    background: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
}

.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 200px;
}

/* Download Page */
.download-section {
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.download-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    width: 250px;
    color: var(--dark);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.download-card:hover {
    transform: translateY(-10px);
}

.download-card .browser-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 15px;
}

.download-card p {
    color: var(--text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.download-btn-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
}

.download-btn-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(102,126,234,0.4);
}

.download-note {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.download-note p {
    margin: 10px 0;
}

.download-note a {
    color: var(--accent);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* Privacy Page */
.privacy-section {
    padding: 120px 5% 80px;
    background: var(--light);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
}

.privacy-header h1 {
    color: var(--dark);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.privacy-header p {
    color: var(--text);
}

.privacy-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
}

.privacy-section h2 {
    color: var(--dark);
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.privacy-section h3 {
    color: var(--primary);
    margin: 20px 0 10px;
}

.privacy-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-section ul {
    margin: 15px 0 15px 30px;
}

.privacy-section li {
    margin: 10px 0;
}

.privacy-highlight {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

/* Contact Page */
.contact-section {
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: 100vh;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    color: var(--dark);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--text);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
}

.contact-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.info-item {
    padding: 20px;
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.info-item h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text);
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--accent);
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .steps-container::before {
        left: 30px;
    }

    .step {
        gap: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .privacy-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }
}
