/* Extracted from WordPress page 1128: Gift Card Api. */

/* ============================================================
   1. Hero Section & Code Windows
 ============================================================ */
.ez-api-hero-wrapper { padding: 160px 0 100px; background: transparent; position: relative; overflow: hidden; }
.ez-api-hero-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 60px; position: relative; z-index: 10; }
.ez-api-col-left { flex: 1.2; min-width: 300px; }
.ez-api-col-right { flex: 1; min-width: 0; display: flex; justify-content: center; }

.ez-hero-title { font-size: clamp(40px, 5vw, 56px); font-weight: 900; line-height: 1.1; color: var(--ez-text); margin-bottom: 24px; letter-spacing: -1px; }
.ez-hero-title-gradient { background: linear-gradient(90deg, var(--ez-orange), var(--ez-red)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ez-api-hero-desc { font-size: 1.125rem; color: var(--ez-gray); line-height: 1.6; margin-bottom: 40px; max-width: 500px; }

.ez-btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

.ez-api-trust-row { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.ez-api-trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ez-light); font-size: 0.95rem; }
.ez-api-trust-item svg { color: var(--ez-green); width: 20px; height: 20px; }

/* Code Windows */
.ez-code-window { width: 100%; background: var(--ez-slate); border-radius: var(--ez-r-xl); box-shadow: var(--ez-shadow-lg); overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.1); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: var(--ez-t-spring); min-width: 0; }
.ez-code-window.ez-flat { transform: none; border-radius: var(--ez-r-lg); box-shadow: var(--ez-shadow-md); }
@media (min-width: 1024px) { .ez-code-window:not(.ez-flat) { max-width: 550px; } }
.ez-code-window:hover { transform: perspective(1000px) rotateY(0) rotateX(0); box-shadow: 0 35px 60px -15px rgba(15,23,42,.4); }
.ez-code-window.ez-flat:hover { transform: translateY(-5px); }

.ez-code-header { background: #0A0F1A; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ez-code-dots { display: flex; gap: 8px; flex-shrink: 0; }
.ez-code-dot { width: 12px; height: 12px; border-radius: 50%; }
.ez-code-dot.red { background: #FF5F56; }
.ez-code-dot.yellow { background: #FFBD2E; }
.ez-code-dot.green { background: var(--ez-green); }
.ez-code-lang { color: #94A3B8; font-size: 0.85rem; font-family: 'Fira Code', monospace; flex: 1; text-align: center; }

.ez-copy-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; cursor: pointer; color: #94A3B8; transition: var(--ez-t); outline: none; padding: 0; flex-shrink: 0; }
.ez-copy-btn:hover { background: rgba(255,255,255,.15); color: var(--ez-white); }
.ez-copy-btn.ez-copied { background: rgba(34,197,94,.15); color: var(--ez-green); border-color: var(--ez-green); }
.ez-copy-btn svg { width: 15px; height: 15px; pointer-events: none; }

.ez-code-body { padding: 16px 20px; font-family: 'Fira Code', monospace; font-size: 0.85rem; line-height: 1.25; color: var(--ez-border); overflow-x: auto; white-space: pre; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.ez-code-body::-webkit-scrollbar { height: 6px; }
.ez-code-body::-webkit-scrollbar-track { background: transparent; }
.ez-code-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
.ez-code-source { position: absolute; left: -9999px; opacity: 0; width: 1px; height: 1px; }

.ez-c-comment { color: #8b949e; font-style: italic; }
.ez-c-keyword { color: #ff7b72; font-weight: bold; }
.ez-c-url { color: #79c0ff; }
.ez-c-func { color: #d2a8ff; }
.ez-c-str { color: #a5d6ff; }
.ez-c-num { color: #f8993a; }
.ez-c-bool { color: #f59e0b; }

/* Responsive Mobile Optimizations */
@media (max-width: 992px) {
    .ez-api-hero-layout { flex-direction: column; text-align: center; }
    .ez-api-col-left { display: flex; flex-direction: column; align-items: center; margin-top: -59px;}
    .ez-api-trust-row { justify-content: center; }
}
@media (max-width: 768px) {
    .ez-api-hero-wrapper { padding: 130px 0 60px; }
    .ez-btn-group { flex-direction: column; width: 100%; }
    .ez-btn-group .ez-btn { width: 100%; justify-content: center; }
    .ez-code-body { padding: 12px 16px; font-size: 11px; white-space: pre-wrap; word-break: break-all; }
    .ez-code-header { padding: 10px 15px; }
    .ez-hero-title { font-size: 2.2rem; }
}

/* ============================================================
   2. Standard Headers & Tech Specs Section
   ============================================================ */
.ez-section-header { text-align: center; max-width: 800px; margin: 0 auto 50px auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 5; }
.ez-section-title { font-size: clamp(32px, 4vw, 42px); font-weight: 900; color: var(--ez-text); margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.2; }
.ez-section-subtitle { font-size: 1.125rem; color: var(--ez-gray); line-height: 1.6; margin: 0; }

.ez-why-section { padding: 100px 0; background-color: var(--ez-white); position: relative; overflow: hidden; }
.ez-why-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(242, 103, 42, 0.08) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 45%); pointer-events: none; z-index: 1; }
.ez-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; position: relative; z-index: 5; }
.ez-api-card { background: var(--ez-white); border: 1px solid var(--ez-border); border-radius: var(--ez-r-xl); padding: 30px 24px; text-align: left; transition: var(--ez-t-spring); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.ez-api-card:hover { transform: translateY(-8px); border-color: rgba(242, 103, 42, 0.3); box-shadow: var(--ez-shadow-lg); }
.ez-api-card-icon { width: 60px; height: 60px; background-color: var(--ez-orange-soft); color: var(--ez-orange); border-radius: var(--ez-r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: var(--ez-t-spring); flex-shrink: 0; }
.ez-api-card-icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.ez-api-card:hover .ez-api-card-icon { background-color: var(--ez-orange); color: var(--ez-white); transform: rotate(-5deg) scale(1.1); }
.ez-api-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--ez-text); margin-bottom: 12px; }
.ez-api-card p { font-size: 0.95rem; color: var(--ez-gray); line-height: 1.6; margin: 0; }

/* Responsive Mobile Optimizations */
@media (max-width: 768px) {
    .ez-why-section { padding: 60px 0; }
    .ez-section-header { margin-bottom: 40px; }
    .ez-section-title { font-size: 2rem; }
}

/* ============================================================
   3. Interactive Tabs Section
   ============================================================ */
.ez-tabs-section { padding: 100px 0; background-color: var(--ez-bg); position: relative; overflow: hidden; }
.ez-tab-radio { display: none; }
.ez-tab-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; position: relative; z-index: 5; }
.ez-tab-label { padding: 12px 24px; background: var(--ez-white); border: 1px solid var(--ez-border); border-radius: var(--ez-r-full); font-size: 0.9rem; font-weight: 700; color: var(--ez-gray); cursor: pointer; transition: var(--ez-t); box-shadow: var(--ez-shadow-sm); }
.ez-tab-label:hover { border-color: var(--ez-orange); color: var(--ez-text); }
#ez-tab-1:checked ~ .ez-tab-nav label[for="ez-tab-1"],
#ez-tab-2:checked ~ .ez-tab-nav label[for="ez-tab-2"],
#ez-tab-3:checked ~ .ez-tab-nav label[for="ez-tab-3"] { background: var(--ez-orange); color: var(--ez-white); border-color: var(--ez-orange); box-shadow: 0 10px 20px -10px rgba(242, 103, 42, 0.5); }

.ez-tab-panels { width: 100%; min-width: 0; max-width: 100%; }
.ez-tab-panel { display: none; width: 100%; min-width: 0; }
#ez-tab-1:checked ~ .ez-tab-panels .ez-panel-1,
#ez-tab-2:checked ~ .ez-tab-panels .ez-panel-2,
#ez-tab-3:checked ~ .ez-tab-panels .ez-panel-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; animation: ez-fade-in 0.5s ease forwards; position: relative; z-index: 5; min-width: 0; }
@keyframes ez-fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.ez-panel-content { min-width: 0; max-width: 100%; }
.ez-panel-content h3 { font-size: 1.75rem; font-weight: 800; color: var(--ez-text); margin-bottom: 16px; }
.ez-panel-content p { font-size: 1.05rem; color: var(--ez-gray); line-height: 1.7; margin-bottom: 24px; }

.ez-endpoint-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ez-white); border: 1px solid var(--ez-border); padding: 8px 16px; border-radius: var(--ez-r-full); margin-bottom: 24px; box-shadow: var(--ez-shadow-sm); max-width: 100%; overflow-x: auto; }
.ez-method { font-family: 'Fira Code', monospace; font-size: 0.75rem; font-weight: 800; padding: 4px 8px; border-radius: 4px; color: var(--ez-white); text-transform: uppercase; }
.ez-method.get { background: #3b82f6; }
.ez-method.post { background: var(--ez-green); }
.ez-url { font-family: 'Fira Code', monospace; font-size: 0.85rem; color: var(--ez-gray); white-space: nowrap; }

.ez-panel-list { list-style: none; padding: 0; margin: 0; }
.ez-panel-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; color: var(--ez-text); font-weight: 600; }
.ez-panel-list svg { color: var(--ez-green); flex-shrink: 0; width: 20px; }

/* Responsive Mobile Optimizations */
@media (max-width: 992px) {
    #ez-tab-1:checked ~ .ez-tab-panels .ez-panel-1, 
    #ez-tab-2:checked ~ .ez-tab-panels .ez-panel-2, 
    #ez-tab-3:checked ~ .ez-tab-panels .ez-panel-3 { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .ez-tabs-section { padding: 60px 0; }
    .ez-endpoint-badge { width: 100%; padding: 6px 12px; }
    .ez-url { font-size: 12px; }
    .ez-panel-content h3 { font-size: 1.5rem; }
}

/* ============================================================
   4. Integration Steps
   ============================================================ */
.ez-steps-section { padding: 100px 0; background: var(--ez-white); position: relative; overflow: hidden; }
.ez-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; position: relative; z-index: 5; }
.ez-step-number { width: 64px; height: 64px; margin: 0 auto 24px auto; background: var(--ez-orange-soft); color: var(--ez-orange); font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: var(--ez-r-md); transition: var(--ez-t-spring); }
.ez-api-card:hover .ez-step-number { transform: rotate(-5deg) scale(1.1); background: var(--ez-orange); color: var(--ez-white); box-shadow: 0 10px 20px rgba(242, 103, 42, 0.3); }
.ez-steps-section .ez-api-card { text-align: center; }

/* Responsive Mobile Optimizations */
@media (max-width: 768px) {
    .ez-steps-section { padding: 60px 0; }
}

/* ============================================================
   5. Gateway CTA Section
   ============================================================ */
.ez-dual-cta-section { padding: 100px 0 80px; position: relative; overflow: hidden; background: transparent; }
.ez-dual-cta-section .ez-container { display: block; position: relative; z-index: 2; }

.ez-cta-white-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.4) 100%); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--ez-r-2xl); padding: 70px 50px; text-align: center; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1); position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; transition: var(--ez-t); }
.ez-cta-white-card:hover { transform: translateY(-8px); box-shadow: 0 35px 60px -15px rgba(242, 103, 42, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1); border-color: rgba(242, 103, 42, 0.4); }
.ez-cta-white-card .ez-badge { margin-bottom: 25px; }
.ez-cta-heading { font-size: 3rem; font-weight: 900; letter-spacing: -.02em; margin: 16px 0 20px; line-height: 1.2; width: 100%; color: var(--ez-text); }
.ez-cta-desc { font-size: 1.15rem; color: var(--ez-gray); line-height: 1.7; margin: 0 auto 40px; max-width: 700px; }

.ez-cta-trust-row { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.ez-cta-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--ez-text); }
.ez-cta-trust-item svg { width: 20px; height: 20px; color: var(--ez-green); flex-shrink: 0; }

.ez-cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; width: 100%; }
.ez-cta-actions .ez-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ez-cta-actions svg { width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; margin: 0; }

/* Responsive Mobile Optimizations */
@media (max-width: 768px) {
    .ez-dual-cta-section { padding: 60px 0; }
    .ez-cta-white-card { padding: 50px 30px; }
    .ez-cta-heading { font-size: 2.2rem; }
    .ez-cta-desc { font-size: 1rem; margin-bottom: 30px; }
    .ez-cta-actions, .ez-cta-actions .ez-btn { width: 100%; flex-direction: column; }
    .ez-cta-trust-row { flex-direction: column; gap: 15px; }
}

.ez-inline-gift-card-api-c8be1ccb {
    display:none;
}
