/* Shipping Policy Specific Styles */
:root {
    --primary-color: #0b5e28;
    --primary-light: #22c55e;
    --primary-dark: #07431b;
    --primary-glow: rgba(11, 94, 40, 0.2);
    --secondary-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-base: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(226, 232, 240, 0.8);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.08), 0 8px 16px -6px rgba(0,0,0,0.04);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
}

/* Page Hero with Animated Shapes */
.page-hero {
    position: relative;
    padding: 80px 0 120px;
    background: linear-gradient(140deg, #07431b 0%, #0b5e28 60%, #15803d 100%);
    overflow: hidden;
    text-align: center;
}

/* Floating Shapes in Hero */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    width: 300px; height: 300px;
    background: #4ade80;
    top: -100px; left: -50px;
}
.shape-2 {
    width: 400px; height: 400px;
    background: #0ea5e9;
    bottom: -150px; right: -100px;
    animation-delay: -5s;
}
.shape-3 {
    width: 200px; height: 200px;
    background: #fef08a;
    top: 20%; right: 20%;
    animation-duration: 7s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 100px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 650px;
    font-weight: 400;
    margin: 0 auto;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-wave .shape-fill { fill: #ffffff; }

/* Main Content Layout */
.main-content {
    padding: 60px 0 100px;
    position: relative;
    z-index: 5;
    background-color: #ffffff;
}

.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar & TOC */
.sidebar {
    position: sticky;
    top: 100px;
}

.sticky-nav-card {
    padding: 32px 24px;
}

.sticky-nav-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
}

.toc-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-left: 12px;
    border-left: 2px solid transparent;
    transition: var(--transition-base);
    text-decoration: none;
}

.toc-links a:hover,
.toc-links a.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

/* Policy Content Area */
.intro-card {
    padding: 32px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--text-main);
    border-left: 4px solid var(--primary-color);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.wide-card { grid-column: 1 / -1; }

.policy-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-lift:hover::before { opacity: 1; }

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(11, 94, 40, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.hover-lift:hover .card-icon {
    background: var(--primary-color);
    color: white;
}

.card-icon svg { width: 24px; height: 24px; }

.policy-card h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 700;
}

.policy-card p, .policy-card ul {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.policy-card ul {
    list-style: none;
    padding-left: 0;
}

.policy-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.policy-card li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.highlight {
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(11, 94, 40, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.alert-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #92400e;
}

.policy-grid .section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.policy-grid .section-title h2 { font-size: 2.5rem; color: var(--primary-dark); font-weight: 700; }
.title-underline {
    width: 60px; height: 4px; background: var(--primary-color);
    margin: 16px auto 0; border-radius: 2px;
}

.glass-card-dark {
    background: #1e293b;
    color: white;
    border-color: #334155;
}

.glass-card-dark h2 {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .layout-grid { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}

@media (max-width: 768px) {
    .policy-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}
