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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1da1f2;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #1da1f2;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #1da1f2;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: white;
    color: #1da1f2;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Extension Preview */
.extension-preview {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tweet-example {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 1rem;
}

.tweet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatar {
    width: 32px;
    height: 32px;
    background: #1da1f2;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    color: #333;
}

.timestamp {
    font-size: 0.8rem;
    color: #657786;
}

.camera-icon {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.camera-icon:hover {
    background: #f0f8ff;
}

.tweet-content p {
    color: #333;
    margin: 0;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #657786;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: #1da1f2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content p {
    color: #657786;
}

/* Installation Section */
.installation {
    padding: 4rem 0;
    background: white;
}

.installation h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.method {
    padding: 2rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    text-align: center;
}

.method h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.method p {
    color: #657786;
    margin-bottom: 1.5rem;
}

.method ol {
    text-align: left;
    margin-bottom: 1.5rem;
    color: #657786;
}

.method li {
    margin-bottom: 0.5rem;
}

.method code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Technical Details Section */
.technical-details {
    padding: 4rem 0;
    background: #f8f9fa;
}

.technical-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.detail-card ul {
    list-style: none;
    color: #657786;
}

.detail-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.detail-card li::before {
    content: "•";
    color: #1da1f2;
    position: absolute;
    left: 0;
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 4rem 0;
    background: white;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.last-updated {
    color: #657786;
    margin-bottom: 3rem;
    font-style: italic;
}

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

.policy-content section {
    margin-bottom: 3rem;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #1da1f2;
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    color: #333;
}

.policy-content p {
    margin-bottom: 1rem;
    color: #657786;
    line-height: 1.7;
}

.policy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: #657786;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content a {
    color: #1da1f2;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #1da1f2;
}

.kofi-link {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f5f, #ff6b6b);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.kofi-link:hover {
    background: linear-gradient(135deg, #ff4a4a, #ff5a5a);
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .features h2,
    .how-it-works h2,
    .installation h2,
    .technical-details h2 {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
    }
}
