/* xDreamms AIO - Apple Style Minimalist Design */

:root {
    /* Apple Palette */
    --system-background: #ffffff;
    --system-background-secondary: #f5f5f7;
    --system-text: #1d1d1f;
    --system-text-secondary: #86868b;
    --system-blue: #0071e3;
    --system-blue-hover: #0077ed;

    --radius-l: 20px;
    --radius-xl: 30px;
    --radius-pill: 980px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.1);

    --nav-height: 48px;
    --font-stack: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

body {
    background-color: var(--system-background);
    color: var(--system-text);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--system-text);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.5em;
}

.display-hero {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
}

@media (min-width: 768px) {
    .display-hero {
        font-size: 80px;
    }
}

.display-subhero {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 400;
    letter-spacing: .009em;
    color: var(--system-text);
}

.text-secondary {
    color: var(--system-text-secondary) !important;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: var(--nav-height);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar-brand {
    font-weight: 600;
    color: var(--system-text) !important;
    font-size: 20px;
}

.navbar-nav .nav-link {
    font-size: 13px;
    color: #1d1d1f !important;
    font-weight: 500;
    padding: 0 20px !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--system-blue) !important;
}

/* Navbar Buttons */
.btn-outline-navbar {
    background: transparent;
    color: var(--system-blue);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    text-decoration: none;
    border: 1px solid var(--system-blue);
    border-radius: var(--radius-pill);
    transition: all 0.3s;
}

.btn-outline-navbar:hover {
    background: rgba(0, 113, 227, 0.1);
    color: var(--system-blue-hover);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding-top: 60px;
    padding-bottom: 40px;
    background: var(--system-background);
    text-align: center;
}

.hero-badge {
    color: var(--system-blue);
    background: rgba(0, 113, 227, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

/* Buttons */
.btn-primary {
    background-color: var(--system-blue);
    border: none;
    border-radius: var(--radius-pill);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.17648;
    min-width: 28px;
    padding: 12px 26px;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--system-blue-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--system-blue);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 24px;
    text-decoration: none;
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: var(--radius-pill);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline:hover {
    background: rgba(0, 113, 227, 0.05);
    color: var(--system-blue-hover);
    border-color: var(--system-blue);
    text-decoration: none;
}

/* Content Sections */
.section-gray {
    background-color: var(--system-background-secondary);
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.01);
}

.feature-icon {
    font-size: 40px;
    color: var(--system-text);
    margin-bottom: 20px;
}

/* Champions Grid */
.champion-grid-item {
    border-radius: var(--radius-l);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    aspect-ratio: 1;
    max-width: 80px;
    /* Reduced Size */
    margin: 0 auto;
}

.champion-grid-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.champion-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background: #fff;
}

.pricing-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
}

.pricing-card-minimal {
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-l);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card-minimal:hover {
    border-color: var(--system-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.pricing-product-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--system-text);
}

.price-small {
    font-size: 14px;
    color: var(--system-text-secondary);
}

/* Auth Cards */
.card {
    border: none;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-md);
    background: #fff;
    border: 1px solid #f0f0f0;
}

.form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    background: #fff;
    color: #1d1d1f;
}

.form-control:focus {
    border-color: var(--system-blue);
    width: 100%;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-label {
    color: var(--system-text-secondary);
}

/* Dashboard Light Theme Overrides */
.card .card-header {
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
}

.table-light-theme {
    width: 100%;
}

.table-light-theme th {
    color: var(--system-text-secondary);
    font-weight: 500;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px;
}

.table-light-theme td {
    padding: 12px;
    border-bottom: 1px solid #f5f5f7;
    color: var(--system-text);
}

footer {
    background-color: var(--system-background-secondary);
    color: var(--system-text-secondary);
    font-size: 12px;
    padding: 60px 0;
}

.social-links {
    margin-top: 16px;
}

.social-link {
    color: var(--system-text-secondary);
    font-size: 24px;
    margin-right: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--system-blue);
    transform: scale(1.1);
}