:root {
    --warm-orange: #FF7A00;
    --warm-background: #FFF4E6;
    --text-gray: #4A5568;
    --orange-light: #FFE5CC;
    --techie-bg: #FFF8EE;
    --techie-dark: #333333;
}

/* ============================================
   HERO SECTION - ENHANCED
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 122, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 154, 60, 0.06) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

/* Hero animations */
.animate-slide-in {
    animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-slide-in-delay-1 {
    animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
    opacity: 0;
}

.animate-slide-in-delay-2 {
    animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Video container enhancement */
video {
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

video:hover {
    transform: scale(1.02);
}

/* Floating badges */
.hero-section [class*="absolute"] {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(3deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.hero-section [class*="-rotate-3"] {
    animation: floatReverse 4s ease-in-out infinite;
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}
.relative img{
    border-radius: 20px;
}

/* ============================================
   BUTTONS - ENHANCED
   ============================================ */
.apple-button,
.dark-button {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border-radius: 14px;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.apple-button {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.apple-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.apple-button:hover::before {
    width: 300px;
    height: 300px;
}

.apple-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 122, 0, 0.2);
    border-color: var(--warm-orange);
}

.dark-button {
    background-color: rgba(29, 29, 31, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--warm-orange), #ff9a3c);
    opacity: 0;
    transition: opacity 0.4s;
}

.dark-button:hover::before {
    opacity: 0.1;
}

.dark-button:hover {
    background-color: rgb(29, 29, 31);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--warm-orange);
}

.rounded-button {
    border-radius: 0.875rem;
}

/* ============================================
   GLASS CARDS - PREMIUM
   ============================================ */
.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 2px solid rgba(255, 122, 0, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 2rem;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.08), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(45deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(255, 122, 0, 0.2);
    border-color: var(--warm-orange);
}

.glass-card:hover::after {
    opacity: 0.3;
}

/* Icon enhancement */
.glass-card .w-16.h-16 {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.glass-card .w-16.h-16::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    background: conic-gradient(from 180deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.glass-card:hover .w-16.h-16 {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, #FFE8CC, #FFD299);
}

.glass-card:hover .w-16.h-16::before {
    opacity: 0.4;
}

/* ============================================
   PROCESS SECTION - COMPLETELY REDESIGNED
   ============================================ */
.process-section {
    position: relative;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 50%, #FFF4E6 100%);
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 154, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.process-header {
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 10;
}

/* Process card - modern design */
.process-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem;
    border: 2px solid rgba(255, 122, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(50px);
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.process-card:hover::before {
    opacity: 1;
}

.process-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--warm-orange);
    box-shadow: 0 20px 60px rgba(255, 122, 0, 0.2);
}

/* Process number */
.process-number {
    /* position: absolute;
    top: 5px;
    left: 3rem; */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warm-orange), #ff9a3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
    border: 4px solid white;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-number::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
    opacity: 0;
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.process-card:hover .process-number {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(255, 122, 0, 0.6);
}

.process-card:hover .process-number::before {
    opacity: 0.5;
}

/* Process icon */
.process-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--warm-background), var(--orange-light));
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 2rem 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.process-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 1.5rem;
    background: linear-gradient(45deg, var(--warm-orange), #ff9a3c);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.process-card:hover .process-icon {
    transform: scale(1.1) rotate(-5deg);
}

.process-card:hover .process-icon::before {
    opacity: 0.3;
}

.process-icon i {
    font-size: 3rem;
    color: var(--warm-orange);
    transition: all 0.4s ease;
}

.process-card:hover .process-icon i {
    transform: scale(1.1);
}

/* Process content */
.process-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    transition: color 0.3s;
}

.process-card:hover .process-title {
    color: var(--warm-orange);
}

.process-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Decorative connecting lines */
.process-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: calc(100% - 6rem);
    background: linear-gradient(180deg, 
        transparent,
        rgba(255, 122, 0, 0.3) 20%,
        rgba(255, 122, 0, 0.3) 80%,
        transparent
    );
    transform: translate(-50%, -50%);
    z-index: 1;
}

.process-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 6rem);
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 122, 0, 0.3) 20%,
        rgba(255, 122, 0, 0.3) 80%,
        transparent
    );
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Responsive design */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .process-grid::before,
    .process-grid::after {
        display: none;
    }
    
    .process-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .process-card {
        padding: 2rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: 5px;
        left: 2rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
    }
    
    .process-icon i {
        font-size: 2.5rem;
    }
    
    .process-title {
        font-size: 1.5rem;
    }
    
    .process-description {
        font-size: 1rem;
    }
}

/* ============================================
   PRICING SECTION - PREMIUM
   ============================================ */
.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 122, 0, 0.1);
    color: var(--warm-orange);
}

.tab-btn.active {
    background: white;
    color: var(--warm-orange);
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.2);
}

/* Pricing cards enhancement */
.glass-card.border-2 {
    border-color: var(--warm-orange);
    position: relative;
}

.glass-card.border-2::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--warm-orange), #ff9a3c);
    opacity: 0.1;
    z-index: -1;
}

.pricing-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warm-orange), #ff9a3c);
    color: white;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.glass-card:hover .pricing-feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

/* Popular badge */
.absolute.-top-5 {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

/* ============================================
   POPUP - ENHANCED
   ============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1000;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-popup {
    background: linear-gradient(135deg, #FFF9F0 0%, var(--techie-bg) 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 520px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(255, 122, 0, 0.1);
}

.popup-overlay.active .contact-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.popup-header {
    padding: 30px 35px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    position: relative;
    border-bottom: 2px solid rgba(255, 122, 0, 0.1);
}

.popup-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--techie-dark) 0%, var(--warm-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-subtitle {
    font-size: 18px;
    color: #666666;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    background: rgba(255, 122, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.close-btn:hover {
    background: var(--warm-orange);
    border-color: var(--warm-orange);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.close-btn:before,
.close-btn:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #86868b;
    transition: background-color 0.3s;
}

.close-btn:hover:before,
.close-btn:hover:after {
    background-color: white;
}

.close-btn:before {
    transform: rotate(45deg);
}

.close-btn:after {
    transform: rotate(-45deg);
}

.popup-body {
    padding: 25px 35px;
}

.form-group {
    margin-bottom: 24px;
    animation: glideIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes glideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #d2d2d7;
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--warm-orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
    font-family: inherit;
}

.popup-footer {
    padding: 20px 35px 35px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--techie-btn) 0%, #1a1a1a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--techie-btn) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--techie-dark);
    border: 2px solid #e0e0e0;
}

.btn-outline:hover {
    background-color: rgba(255, 122, 0, 0.1);
    border-color: var(--warm-orange);
    color: var(--warm-orange);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .contact-popup {
        width: 95%;
        max-width: none;
    }
    
    .popup-header,
    .popup-body,
    .popup-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .popup-title {
        font-size: 26px;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
}