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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #f8fafc;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #ffffff;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3b82f6;
}

main {
    padding: 20px;
}

section {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

footer {
    background-color: #1e293b;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    position: relative;
    width: 100%;
}

/* -------------------------------------------------
   Design System Extensions
--------------------------------------------------- */

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

/* Logo */
.logo {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}
.logo a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}
.logo a:hover {
    color: #1d4ed8;
}

/* Navigation List */
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-list li {
    margin: 0 12px;
}
.nav-list li a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.nav-list li a.active,
.nav-list li a:hover {
    background-color: #dbeafe;
    color: #3b82f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
}
.hero__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}
.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f1f5f9;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn-secondary {
    background-color: #ffffff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}
.btn-secondary:hover {
    background-color: #dbeafe;
}

/* Grid Layouts */
.grid-3,
.grid-2 {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.grid-3 > * {
    flex: 1 1 calc(33.333% - 16px);
}
.grid-2 > * {
    flex: 1 1 calc(50% - 12px);
}

/* Card Component */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.3rem;
}
.card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* Utility Spacing */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Footer Links */
.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.footer-links ul li {
    margin: 0 10px;
}
.footer-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links ul li a:hover {
    color: #3b82f6;
}

/* Pricing Table (basic styling) */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.pricing-table th,
.pricing-table td {
    border: 1px solid #e2e8f0;
    padding: 16px;
    text-align: center;
}
.pricing-table th {
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 600;
}
.pricing-table tr:nth-child(even) {
    background-color: #f8fafc;
}
.pricing-table tr:hover {
    background-color: #f1f5f9;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .grid-3 > * {
        flex: 1 1 calc(50% - 12px);
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .grid-3 > *,
    .grid-2 > * {
        flex: 1 1 100%;
    }
    header,
    nav,
    footer {
        text-align: left;
    }
    .hero {
        padding: 60px 15px;
    }
    .hero__title {
        font-size: 1.8rem;
    }
    .nav-list {
        justify-content: flex-start;
    }
    .nav-list li {
        margin: 0 8px;
    }
}
