/* Package Details Specific Styles */
:root {
    --light-bg: #ffffff;
    --section-bg: #f8fafc;
    --text-dark: #1a1a2e;
    --text-gray: #4b5563;
    --protective-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.95) 100%);
}

body {
    background-color: var(--light-bg);
    color: var(--text-gray);
    background-image:
        radial-gradient(at 0% 0%, rgba(30, 64, 175, 0.03) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(6, 214, 160, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.03) 0, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Abstract Decorative Shapes */
.bg-shape {
    position: fixed;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.shape-1 {
    top: 10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50%;
}

.shape-2 {
    bottom: 20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(6, 214, 160, 0.06);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .bg-shape {
        display: none;
    }
}

/* Hero Section */
.hero-details {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 80px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Text Protection Overlay */
.hero-details::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--protective-overlay);
    z-index: 1;
}

.hero-details .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-details h1 {
    color: var(--text-dark);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.hero-details p {
    color: var(--text-gray);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Image Frames (The "Board") - Simple & Premium */
.image-frame-wrapper {
    position: relative;
    padding: 15px;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.image-frame-border {
    position: absolute;
    inset: -2px;
    border-radius: 34px;
    z-index: -1;
    pointer-events: none;
}

/* Funnels & AI (Secondary color theme) */
.details-grid .animate-right .image-frame-border {
    border: 3px solid var(--secondary-color);
    opacity: 0.15;
}

/* Marketing (Primary color theme) */
.details-grid .animate-left .image-frame-border {
    border: 3px solid var(--primary-color);
    opacity: 0.15;
}

.framed-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .image-frame-wrapper {
        padding: 10px;
        border-radius: 24px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .image-frame-border {
        border-radius: 26px;
    }

    .framed-image {
        border-radius: 16px;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.back-link:hover {
    background: #ffffff;
    transform: translateX(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    margin-top: 60px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: clamp(25px, 4vw, 40px);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.detail-card h3,
.detail-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Deep Dive Section */
.section-title {
    color: var(--text-dark);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.deep-dive-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    padding: clamp(30px, 5vw, 50px);
    border-radius: clamp(24px, 5vw, 40px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

/* Footer Adjustments */
footer {
    background: #ffffff;
    color: var(--text-dark);
    border-top: 1px solid #f1f5f9;
}

footer a {
    color: var(--text-gray);
}

footer h4 {
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-details {
        padding-left: 20px;
        padding-right: 20px;
    }
}