/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f97316;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --content-width: 1200px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Content */
main {
    max-width: var(--content-width);
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.75rem;
    color: var(--dark-color);
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Card Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.card p {
    color: var(--dark-color);
    opacity: 0.9;
    flex-grow: 1;
}

.analysis-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.analysis-card h3 {
    color: white;
    font-weight: 700;
}

.analysis-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-color);
    color: white;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    header {
        padding: 2.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 0 1rem;
    }
}

/* Business Idea Pages */
.business-idea-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
}

.business-idea-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.business-idea-content h2 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.75rem;
    font-weight: 700;
}

.business-idea-content p {
    margin-bottom: 1.25rem;
}

.back-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    font-weight: 600;
}

.back-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Tables for Analysis Page */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Note styling */
.note {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    margin: 1.75rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Business Analysis Page Styles */
.page-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.page-body {
    line-height: 1.7;
}

.section {
    margin: 2.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

/* Idea Cards */
.idea-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.idea-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.idea-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.idea-card-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 1.5rem;
}

.idea-card-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.idea-card-body {
    padding: 1.75rem;
}

.idea-card-text {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    opacity: 0.85;
}

.idea-card-link {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.idea-card-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 2.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

/* Conclusion Section */
.conclusion-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-top: 3rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.conclusion-header h2 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
}

.conclusion-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.conclusion-content ul {
    padding-left: 1.5rem;
}

.conclusion-content ul li {
    margin-bottom: 1.25rem;
    position: relative;
}

.conclusion-content strong {
    color: var(--primary-color);
    font-weight: 700;
} 