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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #27272a;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    color: #71717a;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #71717a;
    border-color: #d4d4d8;
}

.btn-secondary:hover {
    background-color: #f4f4f5;
    color: #27272a;
    border-color: #a1a1aa;
}

.btn-download {
    background-color: #18181b;
    color: white;
    border-color: #18181b;
    width: 100%;
    font-weight: 600;
}

.btn-download:hover {
    background-color: #27272a;
    border-color: #27272a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-download svg {
    width: 20px;
    height: 20px;
}

.btn-outline {
    background-color: transparent;
    color: #27272a;
    border-color: #d4d4d8;
}

.btn-outline:hover {
    background-color: #27272a;
    color: white;
    border-color: #27272a;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e4e4e7;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #27272a;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #71717a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.nav-links a:hover {
    color: #27272a;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #71717a;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 1.125rem;
    font-weight: 600;
    color: #27272a;
}

.stat-label {
    font-size: 0.875rem;
    color: #71717a;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #e4e4e7;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.125rem;
    color: #71717a;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: white;
}

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

.feature-card {
    padding: 2rem;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    transition: all 0.2s ease-in-out;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #f97316;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    color: #27272a;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #71717a;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.download-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border: 1px solid #e2e8f0;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: none;
    color: white;
    padding: 0;
}

.download-icon svg {
    width: 28px;
    height: 28px;
}

.webapp-icon svg {
    width: 60px;
    height: 60px;
    display: block;
}

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

.download-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-info span {
    font-size: 0.875rem;
    font-weight: 500;
}

.version {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
}

.size {
    color: #64748b;
}

.download-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.download-note p {
    margin-bottom: 0.75rem;
    color: #475569;
}

.download-note p:last-child {
    margin-bottom: 0;
}

.download-alternatives {
    margin-top: 1rem;
    text-align: center;
}

.alt-download {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #dbeafe;
    border-radius: 0.5rem;
    background: #f8fafc;
    transition: all 0.2s ease-in-out;
}

.alt-download:hover {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1d4ed8;
}

/* Installation Help Section */
.installation-help {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fef3c7;
    border-radius: 8px;
    border: 1px solid #fbbf24;
}

.installation-help p {
    margin: 0;
    color: #92400e;
    font-size: 0.875rem;
}

.installation-help a {
    color: #b45309;
    text-decoration: underline;
    font-weight: 500;
}

.installation-help a:hover {
    color: #92400e;
}

/* Manual Installation Steps */
.manual-install-steps {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.manual-install-steps p {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.875rem;
}

.manual-install-steps ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #334155;
}

.manual-install-steps li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.manual-install-steps li:last-child {
    margin-bottom: 0;
}

/* Mobile responsive styles for manual installation */
@media (max-width: 768px) {
    .manual-install-steps {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .manual-install-steps ol {
        padding-left: 1.25rem;
    }
    
    .manual-install-steps li {
        font-size: 0.8rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: white;
}

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

.about-content h2 {
    color: #27272a;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.about-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

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

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

.footer-section ul li a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-section p {
    color: #a1a1aa;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #71717a;
    margin: 0;
}

/* Alternative Distribution Methods */
.alternative-distribution {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.alternative-distribution h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

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

.alt-method {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.alt-method h4 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.alt-method p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Cloud Storage Section */
.cloud-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.cloud-section h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cloud-section > .container > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
}

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

.cloud-step {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

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

.cloud-step h3 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.cloud-step p {
    color: #6b7280;
    font-size: 0.875rem;
}

.cloud-benefits {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
}

.cloud-benefits h3 {
    color: #374151;
    margin-bottom: 1rem;
    text-align: center;
}

.cloud-benefits ul {
    list-style: none;
    padding: 0;
}

.cloud-benefits li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .about-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .feature-card,
    .download-card {
        padding: 1.5rem;
    }
}

/* Windows Badge */
.windows-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #52525b;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.windows-icon {
    width: 16px;
    height: 16px;
}

/* Styled Download Cards */
.zip-card {
    background: white;
    border: 2px solid #e4e4e7;
}

.zip-card:hover {
    border-color: #f97316;
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.1);
}

.zip-icon {
    background: #52525b;
}

.exe-card {
    background: white;
    border: 2px solid #e4e4e7;
}

.exe-card:hover {
    border-color: #f97316;
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.1);
}

.exe-icon {
    background: #52525b;
}

/* System Requirements */
.system-requirements {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e4e4e7;
}

.system-requirements h4 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 1.5rem;
}

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

.requirement {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: #fafafa;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
}

.requirement svg {
    width: 32px;
    height: 32px;
    color: #52525b;
    margin-bottom: 0.75rem;
}

.req-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.25rem;
}

.req-detail {
    font-size: 0.75rem;
    color: #71717a;
}

/* Privacy Notice */
.privacy-notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 0.75rem;
    text-align: center;
}

.privacy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f97316;
    color: white;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.privacy-icon svg {
    width: 24px;
    height: 24px;
}

.privacy-notice h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.75rem;
}

.privacy-notice p {
    color: #52525b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    text-align: left;
}

.privacy-benefits li {
    color: #52525b;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0;
}
