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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 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: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

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

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #2b6cb0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #4a5568;
    margin: 2px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
    background: #ffffff;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a202c;
}

.hero-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: #2b6cb0;
    color: white;
    border-color: #2b6cb0;
}

.btn-primary:hover {
    background: #2c5282;
    border-color: #2c5282;
}

.btn-secondary {
    background: transparent;
    color: #2b6cb0;
    border-color: #2b6cb0;
}

.btn-secondary:hover {
    background: #ebf8ff;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.content-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: center;
}

.section-description {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.feature-card p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* What is Rabby Section */
.what-is-rabby {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.what-is-rabby h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.what-is-rabby h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #2d3748;
}

.what-is-rabby p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.what-is-rabby ul {
    list-style: none;
    padding-left: 0;
}

.what-is-rabby ul li {
    padding: 0.5rem 0;
    color: #2d3748;
    display: flex;
    align-items: flex-start;
}

.what-is-rabby ul li::before {
    content: "✓";
    color: #38a169;
    font-weight: bold;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
}

/* Install Guide Section */
.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.install-method {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.install-method h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.install-method ol {
    padding-left: 1.5rem;
}

.install-method ol li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Comparison Section */
.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.comparison-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.comparison-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.comparison-item p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Reviews Section */
.review-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.review-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.review-item p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
}

/* Security Section */
.security-details {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.security-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.security-details p {
    color: #4a5568;
    line-height: 1.6;
}

.security-features {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.security-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-features li::before {
    content: "✓";
    color: #38a169;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Chains Section */
.chains {
    background: #f8f9fa;
}

.chain-benefits {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.chain-benefits h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.chain-benefits p {
    color: #4a5568;
    line-height: 1.6;
}

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

.chain-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.chain-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chain-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.chain-item span {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.85rem;
}

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

.step-card {
    text-align: center;
    padding: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2b6cb0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.step-card p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Getting Started Tips */
.getting-started-tips {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.getting-started-tips h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.getting-started-tips ul {
    list-style: none;
    padding-left: 0;
}

.getting-started-tips ul li {
    padding: 0.5rem 0;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
}

.getting-started-tips ul li::before {
    content: "💡";
    margin-right: 0.75rem;
    margin-top: 0.1rem;
}

/* Download Section */
.download {
    background: #f8f9fa;
}

.download-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.download-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.download-info p {
    color: #4a5568;
    line-height: 1.6;
}

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

.download-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    display: block;
}

.download-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
    text-decoration: none;
    color: inherit;
}

.download-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.download-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.download-card p {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.download-btn {
    display: inline-block;
    background: #2b6cb0;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.download-card:hover .download-btn {
    background: #2c5282;
}

.download-card small {
    display: block;
    margin-top: 0.5rem;
    color: #718096;
    font-size: 0.75rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.faq-item p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #e2e8f0;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f7fafc;
}

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

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

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .chains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .chains-grid {
        grid-template-columns: 1fr;
    }
}