/* InvesterBedre.dk - Custom Styles */

/* Base typography optimized for older audience (40-70 years) */
body {
    font-size: 18px;
    line-height: 1.7;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Platform Cards */
.platform-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}

.platform-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: #e5e7eb;
}

.platform-card.recommended {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.platform-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #f8fafc;
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table tr.platform-nordex {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.comparison-table tr:hover {
    background: #fafafa;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-recommended {
    background: #3b82f6;
    color: white;
}

.badge-decentralized {
    background: #10b981;
    color: white;
}

.badge-centralized {
    background: #64748b;
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #64748b;
    color: white;
}

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

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

/* Info Boxes */
.info-box {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 1.875rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    body {
        font-size: 17px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.875rem 0.5rem;
    }
    
    /* Stack cards on mobile */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    /* Better button spacing on mobile */
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    /* Platform cards full width on mobile */
    .platform-card {
        margin-bottom: 1rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1440px) {
    body {
        font-size: 19px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* Score indicators */
.score-positive {
    color: #10b981;
    font-weight: 600;
}

.score-neutral {
    color: #f59e0b;
    font-weight: 600;
}

.score-negative {
    color: #ef4444;
    font-weight: 600;
}

/* Checkmarks and crosses */
.check {
    color: #10b981;
    font-size: 1.25rem;
}

.cross {
    color: #ef4444;
    font-size: 1.25rem;
}

.partial {
    color: #f59e0b;
    font-size: 1.25rem;
}

