/* ============================================================
   API PAGE STYLES � Premium Design
   ============================================================ */

:root {
    --api-primary: #2166ff;
    --api-primary-dark: #1a52cc;
    --api-primary-light: #e8efff;
    --api-secondary: #6c5ce7;
    --api-text: #1e293b;
    --api-text-light: #333B52;
    --api-border: #e2e8f0;
    --api-bg: #f8fafc;
    --api-white: #ffffff;
    --api-radius-sm: 12px;
    --api-radius: 20px;
    --api-radius-lg: 32px;
    --api-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --api-shadow: 0 10px 40px -12px rgba(0,0,0,0.1);
    --api-shadow-lg: 0 20px 60px -20px rgba(33,102,255,0.15);
    --api-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    max-width: 100%;
}

/* ============================================================
   HERO SECTION � Modern Gradient
   ============================================================ */
.api-hero {
    padding: 4rem 5%;
    margin-top: 8rem;
    /* padding: 100px 0 80px; */
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f0fe 50%, #f5f3ff 100%);
    position: relative;
    overflow: hidden;
}

.api-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, rgba(33,102,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.api-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(108,92,231,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.api-hero__content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.api-hero__text {
    flex: 1;
}

.api-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(33,102,255,0.1);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--api-primary);
}

.api-hero__badge i {
    font-size: 12px;
}

.api-hero__title {
    font-size: 6rem;
    font-family: var(--heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--api-text);
    margin-bottom: 20px;
}
.api-hero__title span {
    font-size: 6rem;
    font-family: var(--heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--api-text);
    margin-bottom: 20px;
}

.api-hero__title span {
    background: linear-gradient(135deg, var(--api-primary), var(--api-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.api-hero__description {
    font-size: 1.9rem;
    line-height: 1.7;
    color: var(--api-text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.api-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--api-primary), var(--api-primary-dark));
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 40px;
    transition: var(--api-transition);
    box-shadow: 0 4px 14px rgba(33,102,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33,102,255,0.4);
    background: linear-gradient(135deg, var(--api-primary-dark), var(--api-primary));
}

.btn-outline {
    font-size: 1.7rem;
    border: 2px solid var(--api-primary);
    background: transparent;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 40px;
    color: var(--api-primary);
    transition: var(--api-transition);
}

.btn-outline:hover {
    background: var(--api-primary);
    color: white;
    transform: translateY(-2px);
}

.api-hero__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--api-text);
}

.stat-item .stat-label {
    font-size: 1.85rem;
    color: var(--api-text-light);
}

.api-hero__image {
    flex: 1;
    position: relative;
}

.api-hero__image img {
    width: 100%;
    /* border-radius: var(--api-radius-lg); */
    /* box-shadow: var(--api-shadow-lg); */
    transition: var(--api-transition);
}

.api-hero__image img:hover {
    transform: scale(1.02);
}

/* ============================================================
   INTRODUCTION
   ============================================================ */
.api-intro {
    padding: 4rem 5%;
    background: var(--api-white);
}

.api-intro__inner {
    display: flex;
    gap: 60px;
    align-items: center;
}

.api-intro__image {
    flex: 0.8;
    background: #e8efff;
    padding: 1rem;
    border-radius: 12px;
}

.api-intro__image img {
    width: 100%;
    /* border-radius: var(--api-radius);
    box-shadow: var(--api-shadow); */
}

.api-intro__content {
    flex: 1.2;
}
 

/* Mega Menu Panels - Tab Switching */
.job-away-nav__mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-top: 2px solid #4f46e5;
    z-index: 9999;
    flex-direction: row;
    gap: 0;
}

/* Mega Menu Styles - Add to your existing CSS */
.job-away-nav__dropdown--mega {
    position: static;
}

.job-away-nav__mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-top: 2px solid #4f46e5;
    z-index: 9999;
    flex-direction: row;
    gap: 0;
}

.job-away-nav__dropdown--mega:hover .job-away-nav__mega-menu {
    display: flex;
}

/* Hide all panels by default */
.mega-menu__panel {
    display: none;
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 480px;
}

/* Show active panel */
.mega-menu__panel.active {
    display: flex;
    gap: 20px;
}

/* Sidebar Styles */
.mega-menu__sidebar {
    min-width: 240px;
    background: #f8f8ff;
    border-right: 1px solid #e5e7eb;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.mega-menu__category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.mega-menu__category i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #6b7280;
}

.mega-menu__category:hover {
    background: #eef2ff;
    color: #4f46e5;
}

.mega-menu__category.active {
    background: #eef2ff;
    color: #4f46e5;
    border-left-color: #4f46e5;
}

.mega-menu__category.active i {
    color: #4f46e5;
}

/* Content Columns */
.mega-menu__content {
    flex: 1;
    background: white;
}

.mega-menu__col {
    flex: 1;
    min-width: 220px;
    padding: 0 16px;
    border-right: 1px solid #f3f4f6;
}

.mega-menu__col:last-child {
    border-right: none;
}

.mega-menu__col-title {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 0 12px;
    display: block;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.mega-menu__item {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.mega-menu__item:hover {
    color: #4f46e5;
}

/* Animation */
.mega-menu__panel {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .job-away-nav__mega-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: block !important;
    }
    
    .job-away-nav__mega-menu.show {
        transform: translateX(0);
    }
    
    .job-away-nav__dropdown--mega:hover .job-away-nav__mega-menu {
        display: block !important;
        transform: translateX(-100%);
    }
    
    .job-away-nav__dropdown--mega:hover .job-away-nav__mega-menu.show {
        transform: translateX(0);
    }
    
    .mega-menu__sidebar {
        flex-direction: row;
        overflow-x: auto;
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 8px;
        gap: 4px;
    }
    
    .mega-menu__category {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 16px;
    }
    
    .mega-menu__category.active {
        border-left-color: transparent;
        border-bottom-color: #4f46e5;
    }
    
    .mega-menu__panel.active {
        flex-direction: column;
    }
    
    .mega-menu__col {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
        padding: 16px;
    }
}
.job-away-nav__dropdown--mega:hover .job-away-nav__mega-menu,
.job-away-nav__dropdown--mega.open .job-away-nav__mega-menu {
    display: flex;
}

/* Hide all panels by default */
.mega-menu__panel {
    display: none;
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 480px;
}

/* Show active panel */
.mega-menu__panel.active {
    display: flex;
    gap: 20px;
}

/* Sidebar Styles */
.mega-menu__sidebar {
    min-width: 240px;
    background: #f8f8ff;
    border-right: 1px solid #e5e7eb;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.mega-menu__category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.mega-menu__category i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #6b7280;
}

.mega-menu__category:hover {
    background: #eef2ff;
    color: #4f46e5;
}

.mega-menu__category.active {
    background: #eef2ff;
    color: #4f46e5;
    border-left-color: #4f46e5;
}

.mega-menu__category.active i {
    color: #4f46e5;
}

/* Content Columns */
.mega-menu__col {
    flex: 1;
    min-width: 220px;
    padding: 0 16px;
    border-right: 1px solid #f3f4f6;
}

.mega-menu__col:last-child {
    border-right: none;
}

.mega-menu__col-title {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 0 12px;
    display: block;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.mega-menu__item {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.mega-menu__item:hover {
    color: #4f46e5;
}

/* Animation for panel switching */
.mega-menu__panel {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .job-away-nav__mega-menu {
        flex-direction: column;
    }
    
    .mega-menu__sidebar {
        flex-direction: row;
        overflow-x: auto;
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 8px;
        gap: 4px;
    }
    
    .mega-menu__category {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 16px;
    }
    
    .mega-menu__category.active {
        border-left-color: transparent;
        border-bottom-color: #4f46e5;
    }
    
    .mega-menu__panel {
        flex-direction: column;
    }
    
    .mega-menu__col {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
        padding: 16px;
    }
}
.section-label {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2166ff;
    font-family: var(--heading);
    background: #eef1fd;
    border: 1.5px solid #c5cef9;
    padding: 6px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.api-intro__text p {
    font-size: 1.8rem;
    line-height: 1.8;
    letter-spacing: .3px;
    color: #333B52;
    margin-bottom: 16px;
}

/* ============================================================
   BENEFITS � Card Grid
   ============================================================ */
.api-benefits {
    padding: 4rem 5%;
    background: var(--api-bg);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--api-text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--api-primary), var(--api-secondary));
    margin: 16px auto 0;
    border-radius: 3px;
}

.api-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--api-white);
    padding: 32px 28px;
    border-radius: var(--api-radius);
    text-align: center;
    transition: var(--api-transition);
    border: 1px solid var(--api-border);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--api-primary), var(--api-secondary));
    transform: scaleX(0);
    transition: var(--api-transition);
}

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

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

.benefit-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--api-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card__icon img {
    width: 32px;
    height: 32px;
}

.benefit-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--api-text);
}

.benefit-card__description {
    font-size: 1.7rem;
    color: var(--api-text-light);
    line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS � Step Timeline
   ============================================================ */
.api-how {
    padding: 4rem 5%;
    background: var(--api-white);
}

.api-how__steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}

.api-how__steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--api-primary), var(--api-primary), transparent);
    display: none;
}

@media (min-width: 768px) {
    .api-how__steps::before {
        display: block;
    }
}

.how-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    position: relative;
    z-index: 2;
}

.how-step__number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--api-primary), var(--api-secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(33,102,255,0.3);
}

.how-step__title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--api-text);
}

.how-step__description {
    font-size: 1.7rem;
    color: var(--api-text-light);
    line-height: 1.6;
}

/* ============================================================
   USE CASES
   ============================================================ */
.api-usecases {
    padding: 4rem 5%;
    background: var(--api-bg);
}

.api-usecases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.usecase-card {
    background: var(--api-white);
    padding: 28px;
    border-radius: var(--api-radius);
    transition: var(--api-transition);
    border: 1px solid var(--api-border);
}

.usecase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--api-shadow);
    border-color: var(--api-primary-light);
}

.usecase-card__icon {
    width: 56px;
    height: 56px;
    background: var(--api-primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.usecase-card__icon img {
    width: 28px;
    height: 28px;
}

.usecase-card__title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--api-text);
}

.usecase-card__description {
    font-size: 1.7rem;
    color: var(--api-text-light);
    line-height: 1.6;
}

/* ============================================================
   FAQ SECTION � Accordion
   ============================================================ */
.api-faq {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--api-bg), white);
}

.api-faq__inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.api-faq__header {
    flex: 0.8;
    position: sticky;
    top: 100px;
}

.api-faq__header .section-title {
    text-align: left;
}

.api-faq__header .section-title::after {
    margin: 16px 0 0;
}

.api-faq__image {
    width: 100%;
    /* max-width: 200px; */
    margin: 20px 0;
}

.api-faq__contact-text {
    margin: 20px 0;
    font-size: 1.6rem;
    color: var(--api-text-light);
}

.api-faq__list {
    flex: 1.2;
}

.faq-item {
    background: var(--api-white);
    border-radius: var(--api-radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--api-border);
    transition: var(--api-transition);
}

.faq-item--open {
    border-color: var(--api-primary);
    box-shadow: var(--api-shadow-sm);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 600;
    color: var(--api-text);
    transition: var(--api-transition);
}

.faq-item__question:hover {
    color: var(--api-primary);
}

.faq-item__icon {
    flex-shrink: 0;
    transition: var(--api-transition);
}

.faq-item--open .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    font-size: 1.6rem;
    color: var(--api-text-light);
    line-height: 1.7;
}

/* ============================================================
   RELATED APIS
   ============================================================ */
.api-related {
    padding: 80px 0;
    background: var(--api-white);
}

.api-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    display: block;
    padding: 28px;
    background: var(--api-bg);
    border-radius: var(--api-radius);
    text-decoration: none;
    transition: var(--api-transition);
    border: 1px solid var(--api-border);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--api-shadow);
    border-color: var(--api-primary-light);
}

.related-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--api-text);
    margin-bottom: 12px;
}

.related-card__description {
    font-size: 1.7rem;
    color: var(--api-text-light);
    margin-bottom: 16px;
}

.related-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--api-primary);
    font-weight: 600;
    font-size: 1.85rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.api-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--api-primary), var(--api-primary-dark));
    position: relative;
    overflow: hidden;
}

.api-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.api-cta__inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.api-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.api-cta__subtitle {
    font-size: 1.9rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.api-cta__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.api-cta__actions .btn-primary {
    background: white;
    font-size: 1.7rem;
    color: var(--api-primary);
    box-shadow: none;
}

.api-cta__actions .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.api-cta__actions .btn--light {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.api-cta__actions .btn--light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.api-blog {
    padding: 80px 0;
    background: var(--api-bg);
}

.api-blog__card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, white, var(--api-primary-light));
    border-radius: var(--api-radius-lg);
    padding: 40px;
    overflow: hidden;
}

.api-blog__content {
    flex: 1;
}

.api-blog__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--api-text);
}

.api-blog__excerpt {
    font-size: 2rem;
    color: var(--api-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.api-blog__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--api-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--api-transition);
}

.api-blog__link:hover {
    gap: 12px;
}

.api-blog__image {
    flex: 0.5;
}

.api-blog__image img {
    width: 100%;
    border-radius: var(--api-radius);
    box-shadow: var(--api-shadow);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .api-hero__content,
    .api-intro__inner,
    .api-blog__card,
    .api-faq__inner {
        flex-direction: column;
    }
    
    .api-faq__header {
        position: static;
    }
    
    .api-faq__header .section-title {
        text-align: center;
    }
    
    .api-faq__header .section-title::after {
        margin: 16px auto 0;
    }
    
    .api-faq__image {
        margin: 20px auto;
    }
    
    .api-faq__contact-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .api-hero,
    .api-intro,
    .api-benefits,
    .api-how,
    .api-usecases,
    .api-blog,
    .api-faq,
    .api-related,
    .api-cta {
        padding: 60px 0;
    }
    
    .api-blog__card {
        padding: 24px;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 10px 24px;
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .api-how__steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .api-how__steps::before {
        display: none;
    }
}

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

.api-hero__text,
.api-hero__image,
.benefit-card,
.how-step,
.usecase-card {
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

/* Glass morphism effect for cards */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}