/* Enhanced GiganPay Gateway Styles */

:root {
    /* Modern Color Palette */
    --primary-start: #06b6d4;
    --primary-end: #3b82f6;
    --secondary-start: #f97316;
    --secondary-end: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-start) 0%, var(--secondary-end) 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-info: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
#mainNav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    padding: 1rem 0;
}

#mainNav.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-toggler {
    border: 1px solid var(--gray-200);
    padding: 0.35rem 0.65rem;
    border-radius: 0.75rem;
    background-color: rgba(15, 23, 42, 0.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(55,65,81,1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900) !important;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-icon {
    height: 36px;
    width: 36px;
    transition: transform var(--transition-base);
}

.navbar-brand:hover .brand-icon {
    transform: rotate(360deg);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-dark .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-dark .nav-link:hover {
    color: var(--primary-start) !important;
}

.navbar-dark .nav-link:hover::after {
    width: 80%;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    color: white;
}

.btn-outline-dark {
    border: 2px solid var(--gray-800);
    color: var(--gray-800);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--gray-800);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--gray-900);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

.badge-pill {
    padding: 0.5rem 1.25rem;
}

.badge-gradient {
    background: var(--gradient-primary);
    color: white;
}

.badge-soft-primary {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary-start);
}

.badge-soft-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-success);
    top: 40%;
    right: 10%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-warning);
    bottom: 20%;
    left: 5%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-title {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted-light {
    color: var(--gray-600);
}

/* Trust Indicators */
.trust-indicators {
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
}

.trust-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

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

.dashboard-preview {
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
}

.pulse {
    animation: pulse 2s infinite;
}

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

.stat-card {
    padding: 1rem;
    border-radius: 0.75rem;
    color: white;
    text-align: center;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-success {
    background: var(--gradient-success) !important;
}

.transaction-preview {
    margin-top: 1rem;
}

.transaction-item {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--gray-50);
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

.transaction-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    animation: floatElement 6s infinite ease-in-out;
}

.element-1 {
    top: 10%;
    right: -5%;
    color: #f7931a;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    right: 5%;
    color: #627eea;
    animation-delay: 2s;
}

.element-3 {
    top: 50%;
    right: -10%;
    color: #26a17b;
    animation-delay: 4s;
}

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

/* Stats Section */
.stats-section {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0;
}

/* Features Section */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-start);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--primary-start);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-fast);
}

.feature-link:hover {
    gap: 8px;
    color: var(--primary-end);
}

/* How It Works Section */
.step-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.step-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    border: 2px solid var(--gray-100);
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.pricing-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    opacity: 0.9;
    margin-bottom: 0;
}

.pricing-body {
    padding: 2rem;
}

.pricing-amount {
    text-align: center;
    padding: 2rem 0;
}

.pricing-label {
    display: block;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-value {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pricing-period {
    display: block;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.pricing-features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

.pricing-feature i {
    font-size: 1.25rem;
}

/* Developers Section */
.api-features {
    display: grid;
    gap: 1rem;
}

.api-feature {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.code-preview {
    background: var(--gray-900);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-preview-header {
    background: var(--gray-800);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.code-title {
    color: var(--gray-400);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.code-preview-body {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-preview-body pre {
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
}

.code-preview-body code {
    color: var(--gray-300);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    background: transparent;
}

.code-comment {
    color: #6b7280;
}

.code-keyword {
    color: #c084fc;
}

.code-function {
    color: #60a5fa;
}

.code-string {
    color: #34d399;
}

.code-property {
    color: #f472b6;
}

.code-number {
    color: #fb923c;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.cta-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright,
.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon-lg {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-icon,
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .dashboard-preview {
        transform: none;
    }
    
    .floating-element {
        display: none;
    }
}

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

.animate-slide-in {
    animation: slideInUp 0.6s ease-out;
}

/* Utility Classes */
.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}

.bg-gradient-warning {
    background: var(--gradient-warning) !important;
}

.bg-gradient-danger {
    background: var(--gradient-danger) !important;
}

.bg-gradient-info {
    background: var(--gradient-info) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}
