/* AstroAPI Theme Styles */
:root {
  --theme-color-primary: #ba9a63;
  --theme-color-secondary: #ec4400;
  --theme-color-accent: #d5846e;
  --theme-color-background: #eeebe6;
  --theme-color-background-alt: #e5dfd5;
  --theme-color-surface: #ffffff;
  --theme-color-surface-dark: #21212c;
  --theme-color-text: #1a1a1a;
  --theme-color-text-muted: #617c97;
  --theme-color-text-light: rgba(255, 255, 255, 0.7);
  --theme-color-border: #e5dfd5;
  --theme-color-success: #52c41a;
  --theme-color-warning: #faad14;
  --theme-color-error: #ff4d4f;
  --theme-font-heading: 'Playfair Display', Georgia, serif;
  --theme-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --theme-font-mono: 'Fira Code', 'Consolas', monospace;
  --theme-text-xs: 0.75rem;
  --theme-text-sm: 0.875rem;
  --theme-text-base: 1rem;
  --theme-text-lg: 1.125rem;
  --theme-text-xl: 1.25rem;
  --theme-text-2xl: 1.5rem;
  --theme-text-3xl: 2rem;
  --theme-text-4xl: 2.5rem;
  --theme-text-5xl: 3.5rem;
  --theme-weight-normal: 400;
  --theme-weight-medium: 500;
  --theme-weight-semibold: 600;
  --theme-weight-bold: 700;
  --theme-space-xs: 0.25rem;
  --theme-space-sm: 0.5rem;
  --theme-space-md: 1rem;
  --theme-space-lg: 1.5rem;
  --theme-space-xl: 2rem;
  --theme-space-2xl: 2.5rem;
  --theme-space-3xl: 4rem;
  --theme-space-4xl: 6rem;
  --theme-radius-none: 0;
  --theme-radius-sm: 0.125rem;
  --theme-radius-md: 0.25rem;
  --theme-radius-lg: 0.5rem;
  --theme-radius-xl: 1rem;
  --theme-radius-full: 9999px;
  --theme-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --theme-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --theme-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --theme-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}


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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--theme-font-body);
    line-height: 1.6;
    color: var(--theme-color-text);
    background-color: var(--theme-color-background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--theme-font-heading);
    line-height: 1.2;
    font-weight: 600;
}

h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.01em; }

a {
    color: var(--theme-color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--theme-color-secondary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--theme-space-lg);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(186, 154, 99, 0.3); }
    50% { box-shadow: 0 0 40px rgba(186, 154, 99, 0.5); }
}

/* ==================== DECORATIVE ELEMENTS ==================== */
.astro-glow {
    position: relative;
}

.astro-glow::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(186, 154, 99, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Floating stars decoration */
.astro-stars::after {
    content: '✦';
    position: absolute;
    font-size: 24px;
    color: rgba(186, 154, 99, 0.3);
    animation: float 4s ease-in-out infinite;
}

/* Gradient line accent */
.astro-gradient-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ba9a63, #ec4400);
    border-radius: 2px;
    margin: 0 auto 24px;
}

/* Subtle grid pattern for backgrounds */
.astro-pattern-grid {
    background-image:
        linear-gradient(rgba(186, 154, 99, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186, 154, 99, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Zodiac constellation pattern overlay */
.astro-pattern-constellation {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ba9a63' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='10' cy='10' r='1.5'/%3E%3Ccircle cx='50' cy='50' r='1.5'/%3E%3Ccircle cx='50' cy='10' r='1'/%3E%3Ccircle cx='10' cy='50' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ==================== ICON STYLES ==================== */
.astro-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f0e6 0%, #ebe5d8 100%);
    border: 2px solid rgba(186, 154, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ba9a63;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(186, 154, 99, 0.15);
}

.astro-icon-circle:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(186, 154, 99, 0.25);
    border-color: #ba9a63;
}

.astro-icon-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(186, 154, 99, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.astro-icon-circle:hover::before {
    opacity: 1;
}

/* ==================== CARD STYLES ==================== */
.astro-service-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.astro-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ba9a63, #ec4400);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.astro-service-card:hover::before {
    transform: scaleX(1);
}

/* Glass effect card */
.astro-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Gradient border card */
.astro-gradient-border {
    position: relative;
    background: white;
    border-radius: 16px;
}

.astro-gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ba9a63, #ec4400);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.astro-gradient-border:hover::before {
    opacity: 1;
}

/* Pricing card popular badge */
.astro-pricing-popular {
    position: relative;
    border: 2px solid #ec4400 !important;
}

.astro-pricing-popular::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ec4400;
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 999px;
}

/* Pricing badge for Puck component */
.astro-pricing-badge {
    display: inline-block;
    background: #ec4400;
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* Stats styling */
.astro-stat-value {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    color: #ec4400;
}

.astro-stat-label {
    font-size: 0.875rem;
    color: #617c97;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Feature list styling */
.astro-feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
}

.astro-feature-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.astro-feature-list li:last-child {
    border-bottom: none;
}

.astro-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: bold;
}

/* Section label/badge */
.astro-section-label {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #617c97;
    margin-bottom: 12px;
}

/* Dark section styles */
.astro-dark-section {
    background: #21212c;
    color: #ffffff;
}

.astro-dark-section p {
    color: rgba(255, 255, 255, 0.7);
}

/* Card in dark mode */
.astro-dark-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background 0.3s ease, transform 0.3s ease;
}

.astro-dark-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-4px);
}

/* Gradient text effect */
.astro-gradient-text {
    background: linear-gradient(135deg, #ba9a63 0%, #d5846e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative separator */
.astro-separator {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ba9a63 0%, #d5846e 100%);
    margin: 24px auto;
    border-radius: 2px;
}

/* ==================== BUTTON STYLES ==================== */
.astro-btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ec4400 0%, #ff6633 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(236, 68, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.astro-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.astro-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(236, 68, 0, 0.35);
    text-decoration: none;
    color: white;
}

.astro-btn-primary:hover::before {
    left: 100%;
}

.astro-btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.astro-btn-outline {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.astro-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #1a1a1a;
    transition: width 0.3s ease;
    z-index: -1;
}

.astro-btn-outline:hover {
    color: white;
    text-decoration: none;
}

.astro-btn-outline:hover::before {
    width: 100%;
}

/* Dark theme button variants */
.astro-btn-outline-light {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.astro-btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.3s ease;
    z-index: -1;
}

.astro-btn-outline-light:hover {
    color: #21212c;
    text-decoration: none;
}

.astro-btn-outline-light:hover::before {
    width: 100%;
}

/* Gold variant button */
.astro-btn-gold {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ba9a63 0%, #d5846e 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(186, 154, 99, 0.3);
    transition: all 0.3s ease;
}

.astro-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(186, 154, 99, 0.4);
    color: white;
    text-decoration: none;
}

/* Feature checklist with borders */
.astro-feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.astro-feature-checklist li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5dfd5;
    color: #1a1a1a;
}

.astro-feature-checklist li:last-child {
    border-bottom: none;
}

.astro-feature-checklist li::before {
    content: '✓';
    color: #52c41a;
    margin-right: 12px;
    font-weight: bold;
}

/* Button hover states */
.astro-btn-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.astro-btn-hover:hover {
    transform: translateY(-2px);
}

/* Price display */
.astro-price {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #1a1a1a;
}

.astro-price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #617c97;
}

/* Use case cards dark theme */
.astro-usecase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
}

.astro-usecase-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ==================== ADDITIONAL UI ELEMENTS ==================== */

/* Tooltip styling */
.astro-tooltip {
    position: relative;
}

.astro-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: #21212c;
    color: white;
    font-size: 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.astro-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Badge styles */
.astro-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
}

.astro-badge-primary {
    background: rgba(186, 154, 99, 0.15);
    color: #ba9a63;
}

.astro-badge-secondary {
    background: rgba(236, 68, 0, 0.15);
    color: #ec4400;
}

/* Loading shimmer effect */
.astro-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Highlight/Glow text */
.astro-highlight {
    position: relative;
    display: inline-block;
}

.astro-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(186, 154, 99, 0.3), rgba(236, 68, 0, 0.3));
    z-index: -1;
    transform: skewX(-15deg);
}

/* Scroll indicator */
.astro-scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ba9a63, #ec4400);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Section divider */
.astro-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5dfd5, transparent);
    margin: 40px 0;
}

/* Quote/Testimonial styling */
.astro-quote {
    position: relative;
    padding: 32px 40px;
    font-size: 1.25rem;
    font-style: italic;
    color: #617c97;
}

.astro-quote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(186, 154, 99, 0.2);
    line-height: 1;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .astro-stat-value {
        font-size: 1.75rem;
    }

    .astro-icon-circle {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .astro-price {
        font-size: 1.75rem;
    }

    .astro-btn-primary,
    .astro-btn-outline,
    .astro-btn-outline-light,
    .astro-btn-gold {
        padding: 12px 24px;
        font-size: 0.875rem;
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }

    .astro-section-label {
        font-size: 10px;
    }

    /* Disable complex animations on mobile for performance */
    .puck-content > div {
        animation: fadeIn 0.4s ease-out;
    }
}

@media (max-width: 480px) {
    .astro-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .astro-feature-list li,
    .astro-feature-checklist li {
        font-size: 0.875rem;
        padding: 8px 0;
        padding-left: 24px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (if user has dark preference) */
@media (prefers-color-scheme: dark) {
    /* Note: The theme primarily uses light backgrounds,
       but this can be customized for dark mode support */
}

/* Print styles */
@media print {
    .site-header,
    footer,
    .astro-btn-primary,
    .astro-btn-outline {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}


/* Site Layout */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}


        /* Sticky Header Styles */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 16px 24px;
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            background: transparent;
            transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
        }

        .site-header.scrolled {
            background: #eeebe6;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 12px 24px;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-logo {
            display: flex;
            align-items: center;
        }

        .logo-text {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            font-weight: 400;
            font-size: 1.25rem;
            color: #1a1a1a;
            text-decoration: none;
        }

        .logo-star {
            color: #ba9a63;
        }

        .header-nav {
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .nav-link {
            color: rgb(33, 37, 41);
            text-decoration: none;
            padding: 10px 16px;
            font-size: 1rem;
            font-weight: 400;
            transition: color 0.2s;
        }

        .nav-link:hover {
            color: #ba9a63;
        }

        .nav-link-active {
            color: #ba9a63;
        }

        .nav-btn-dashboard {
            border: 1px solid #1a1a1a;
            color: #1a1a1a;
            padding: 10px 24px;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 400;
            margin-left: 20px;
            transition: background 0.2s, color 0.2s;
        }

        .nav-btn-dashboard:hover {
            background: #1a1a1a;
            color: #eeebe6;
        }

        /* Hero section extends behind transparent header */
        .site-main > .puck-content > div:first-child {
            padding-top: 80px;
        }

        @media (max-width: 768px) {
            .site-header {
                padding: 12px 20px;
            }

            .site-header.scrolled {
                padding: 10px 20px;
            }

            .header-nav {
                display: none !important;
            }

            .site-main > .puck-content > div:first-child {
                padding-top: 64px;
            }
        }
        


