/* =============================================
   NOMMA-IP Landing Page Styles
   ============================================= */

/* CSS Variables */
:root {
    --color-primary: #10214b;
    --color-primary-light: #1a3266;
    --color-primary-dark: #0a1530;
    --color-accent: #ee7c24;
    --color-accent-light: #f59648;
    --color-accent-dark: #d56a1a;
    --color-bg: #f9fafb;
    --color-bg-alt: #ffffff;
    --color-text: #10214b;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-border: #e2e8f0;
}

/* Base Styles */
[x-cloak] { 
    display: none !important; 
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-gradient {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 33, 75, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(238, 124, 36, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

/* Cards */
.card-glow {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px rgba(16, 33, 75, 0.05), 0 2px 4px -1px rgba(16, 33, 75, 0.03);
    transition: all 0.4s ease;
}

.card-glow:hover {
    border-color: rgba(238, 124, 36, 0.4);
    box-shadow: 0 20px 40px -10px rgba(16, 33, 75, 0.1), 0 0 0 1px rgba(238, 124, 36, 0.1);
    transform: translateY(-4px);
}

/* Premium Card */
.premium-card {
    background: linear-gradient(135deg, rgba(238, 124, 36, 0.08) 0%, rgba(238, 124, 36, 0.02) 100%);
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 6px -1px rgba(238, 124, 36, 0.1);
}

.premium-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 25px 50px -12px rgba(238, 124, 36, 0.2);
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

/* Pattern Background */
.pattern-dots {
    background-image: radial-gradient(rgba(16, 33, 75, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Animations */
.floating {
    animation: floating 6s ease-in-out infinite;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) translateX(-50%); 
    }
    40% { 
        transform: translateY(-10px) translateX(-50%); 
    }
    60% { 
        transform: translateY(-5px) translateX(-50%); 
    }
}

/* Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-shine:hover::after {
    transform: translateX(100%);
}

/* Form Styles */
input:focus, 
select:focus {
    outline: none;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(238, 124, 36, 0.15);
}

input::placeholder {
    color: var(--color-text-muted);
}

/* Client Logos */
.client-logo {
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
    max-width: 100%;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.group:hover .client-logo {
    filter: grayscale(0%) opacity(1);
}

/* Icon Containers */
.icon-container {
    background: linear-gradient(135deg, rgba(238, 124, 36, 0.15) 0%, rgba(238, 124, 36, 0.05) 100%);
    transition: all 0.3s ease;
}

.group:hover .icon-container {
    background: linear-gradient(135deg, rgba(238, 124, 36, 0.25) 0%, rgba(238, 124, 36, 0.1) 100%);
}

/* Section Backgrounds */
.section-light {
    background-color: var(--color-bg);
}

.section-white {
    background-color: var(--color-bg-alt);
}

/* Accent backgrounds */
.bg-primary-subtle {
    background: linear-gradient(135deg, rgba(16, 33, 75, 0.03) 0%, rgba(16, 33, 75, 0.01) 100%);
}

.bg-accent-subtle {
    background: rgba(238, 124, 36, 0.1);
}

/* Decorative Elements */
.decorative-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.decorative-blob-primary {
    background: rgba(16, 33, 75, 0.08);
}

.decorative-blob-accent {
    background: rgba(238, 124, 36, 0.1);
}

/* Blockquote */
blockquote {
    border-left: 4px solid var(--color-accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        padding-top: 80px;
    }
    
    /* Improve touch targets on mobile */
    button, a {
        min-height: 44px;
    }
    
    /* Better spacing for mobile */
    .card-glow {
        margin-bottom: 1rem;
    }
    
    /* Improve form inputs on mobile */
    input, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-light);
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: white;
}

