:root {
    --ig-primary: #0095f6;
    --ig-secondary: #262626;
    --ig-background: #fafafa;
    --ig-border: #dbdbdb;
    --ig-text: #262626;
    --ig-text-light: #8e8e8e;
    --ig-gradient-start: #7638fa;
    --ig-gradient-mid: #df2144;
    --ig-gradient-end: #feda77;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--ig-background);
    color: var(--ig-text);
    padding-bottom: 60px;
}

/* Instagram-style header */
.ig-header {
    position: sticky;
    top: 0;
    background-color: white;
    border-bottom: 1px solid var(--ig-border);
    padding: 12px 0;
    z-index: 1000;
}

.ig-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ig-logo {
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    color: var(--ig-secondary);
}

.ig-header-icons {
    display: flex;
    gap: 20px;
}

.ig-header-icon {
    font-size: 24px;
    color: var(--ig-secondary);
}

/* Instagram-style profile section */
.ig-profile {
    padding: 20px 0;
    border-bottom: 1px solid var(--ig-border);
    background-color: white;
}

.ig-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ig-profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ig-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.ig-profile-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.ig-profile-stats {
    display: flex;
    gap: 30px;
    margin: 15px 0;
}

.ig-profile-stat {
    text-align: center;
}

.ig-profile-stat-number {
    font-weight: 700;
    font-size: 18px;
}

.ig-profile-bio {
    margin-top: 15px;
}

.ig-cta-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ig-btn {
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ig-btn-primary {
    background-color: var(--ig-primary);
    color: white;
    border: none;
}

.ig-btn-secondary {
    background-color: transparent;
    color: var(--ig-secondary);
    border: 1px solid var(--ig-border);
}

/* Instagram-style stories */
.ig-stories {
    padding: 15px 0;
    overflow-x: auto;
    white-space: nowrap;
    background-color: white;
    border-bottom: 1px solid var(--ig-border);
    margin-bottom: 10px;
}

.ig-story {
    display: inline-block;
    margin-right: 15px;
    text-align: center;
}

.ig-story-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--ig-gradient-start), var(--ig-gradient-mid), var(--ig-gradient-end));
    padding: 2px;
    margin-bottom: 5px;
}

.ig-story-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ig-secondary);
    font-size: 20px;
}

.ig-story-text {
    font-size: 12px;
    color: var(--ig-text);
    font-weight: 400;
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* Instagram-style posts */
.ig-post {
    background-color: white;
    border: 1px solid var(--ig-border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.ig-post-header {
    display: flex;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid var(--ig-border);
}

.ig-post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    background: var(--ig-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.ig-post-user {
    font-weight: 600;
    font-size: 14px;
    flex-grow: 1;
}

.ig-post-more {
    font-size: 18px;
}

.ig-post-content {
    padding: 20px;
}

.ig-post-image {
    width: 100%;
}

.ig-post-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.ig-post-text {
    margin-bottom: 10px;
    font-size: 14px;
}

.ig-post-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-top: 1px solid var(--ig-border);
}

.ig-post-action-group {
    display: flex;
    gap: 15px;
}

.ig-post-action {
    font-size: 24px;
    color: var(--ig-secondary);
}

/* Service cards as Instagram grid */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 10px;
}

.ig-grid-item {
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.ig-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.ig-grid-item:hover .ig-grid-overlay {
    opacity: 1;
}

.ig-grid-overlay-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
    padding: 0 10px;
}

/* Pricing as Instagram carousel */
.ig-carousel {
    padding: 20px 0;
    background-color: white;
    border: 1px solid var(--ig-border);
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.ig-carousel-header {
    display: flex;
    align-items: center;
    padding: 0 15px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--ig-border);
}

.ig-carousel-title {
    font-weight: 700;
    font-size: 18px;
    flex-grow: 1;
}

.ig-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 15px;
    gap: 15px;
}

.ig-slide {
    min-width: 280px;
    scroll-snap-align: start;
    background-color: var(--ig-background);
    border: 1px solid var(--ig-border);
    border-radius: var(--radius);
    padding: 20px;
}

.ig-slide.featured {
    border: 2px solid var(--ig-primary);
    position: relative;
}

.ig-slide.featured::before {
    content: "Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ig-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
}

.ig-slide-header {
    text-align: center;
    margin-bottom: 15px;
}

.ig-slide-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.ig-slide-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--ig-primary);
}

.ig-slide-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--ig-text-light);
}

.ig-slide-features {
    margin-bottom: 15px;
}

.ig-slide-features ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.ig-slide-features li {
    margin-bottom: 5px;
    font-size: 14px;
}

.ig-slide-features .feature-highlight {
    font-weight: 600;
    color: var(--ig-primary);
}

/* Instagram-style bottom navigation */
.ig-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid var(--ig-border);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.ig-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--ig-secondary);
    font-size: 10px;
}

.ig-nav-icon {
    font-size: 22px;
    margin-bottom: 3px;
}

/* Custom styles for business features */
.emphasis {
    font-weight: 700;
    font-size: 1.1rem;
    border-left: 3px solid var(--ig-primary);
    padding-left: 10px;
}

.journey-highlights {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.journey-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.journey-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ig-primary);
    font-weight: bold;
}

.journey-callout {
    font-weight: 600;
    font-style: italic;
    color: var(--ig-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ig-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .ig-profile-stats {
        justify-content: center;
    }

    .ig-cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .ig-story-circle {
        width: 55px;
        height: 55px;
    }

    .ig-profile-pic {
        width: 80px;
        height: 80px;
    }
}

/* Additional styling for forms */
.form-control {
    border: 1px solid var(--ig-border);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--ig-primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 149, 246, 0.15);
}

/* Custom styling for cards and token packages */
.card {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--ig-border);
}

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

.card.border-primary {
    border-color: var(--ig-primary);
    box-shadow: 0 5px 15px rgba(0, 149, 246, 0.15);
}

.w-100 {
    width: 100%;
}