/* 
 * Webbfabriken® - Ultra Premium Design
 * Clean, modern, sophisticated
 */

/* ===========================
   Premium Variables
   =========================== */
:root {
    /* Core Colors */
    --ultra-black: #000000;
    --ultra-dark: #0a0a0a;
    --ultra-charcoal: #151515;
    --ultra-gray: #1e1e1e;
    
    --ultra-white: #ffffff;
    --ultra-light: #fafafa;
    --ultra-pearl: #f5f5f5;
    
    /* Brand Colors */
    --ultra-blue: #0066CC;
    --ultra-blue-dark: #004C99;
    --ultra-blue-light: #0080FF;
    
    /* Accent Gold */
    --ultra-gold: #E5C738;
    --ultra-gold-light: #F0D654;
    --ultra-gold-dark: #C9A926;
}

/* ===========================
   New Hero Design
   =========================== */
.hero-ultra {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ultra-black) 0%, var(--ultra-charcoal) 25%, var(--ultra-dark) 50%, var(--ultra-charcoal) 75%, var(--ultra-black) 100%);
    overflow: hidden;
}

/* Premium Particle Wave Animation */
.hero-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, var(--ultra-blue) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, var(--ultra-gold) 0%, transparent 40%);
    opacity: 0.03;
    filter: blur(60px);
    animation: waveMotion 15s ease-in-out infinite;
}

@keyframes waveMotion {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% { 
        transform: translate(-30px, -20px) scale(1.1);
    }
    50% { 
        transform: translate(30px, 10px) scale(0.95);
    }
    75% { 
        transform: translate(-20px, 30px) scale(1.05);
    }
}

/* Elegant Light Beams */
.hero-ultra::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        linear-gradient(45deg, 
            transparent 40%, 
            rgba(229, 199, 56, 0.03) 45%, 
            rgba(229, 199, 56, 0.05) 50%, 
            rgba(229, 199, 56, 0.03) 55%, 
            transparent 60%
        ),
        linear-gradient(-45deg, 
            transparent 40%, 
            rgba(0, 102, 204, 0.03) 45%, 
            rgba(0, 102, 204, 0.05) 50%, 
            rgba(0, 102, 204, 0.03) 55%, 
            transparent 60%
        );
    animation: lightBeam 20s linear infinite;
}

@keyframes lightBeam {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content-ultra {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.hero-title-ultra {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: var(--ultra-white);
    position: relative;
}

.hero-title-ultra .highlight-gold {
    background: linear-gradient(90deg, var(--ultra-gold) 0%, var(--ultra-gold-light) 50%, var(--ultra-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle-ultra {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--ultra-pearl);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   New Button Styles
   =========================== */
.btn-ultra {
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ultra-primary {
    background: var(--ultra-white);
    color: var(--ultra-black);
}

.btn-ultra-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ultra-gold);
    transition: left 0.4s ease;
}

.btn-ultra-primary:hover::before {
    left: 0;
}

.btn-ultra-primary span {
    position: relative;
    z-index: 1;
}

.btn-ultra-primary:hover {
    color: var(--ultra-black);
    transform: translateX(5px);
}

.btn-ultra-outline {
    background: transparent;
    color: var(--ultra-white);
    border: 2px solid var(--ultra-white);
    transition: all 0.3s ease;
}

.btn-ultra-outline:hover {
    background: var(--ultra-white);
    color: var(--ultra-black);
    transform: scale(1.05);
}

/* ===========================
   New Card Design
   =========================== */
.card-ultra {
    background: var(--ultra-white);
    position: relative;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    border: 1px solid var(--ultra-pearl);
    border-radius: 16px;
}

.card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ultra-blue) 0%, var(--ultra-gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.card-ultra:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-ultra-dark {
    background: var(--ultra-charcoal);
    color: var(--ultra-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-ultra-dark:hover {
    background: var(--ultra-black);
    border-color: var(--ultra-gold);
}

.card-icon-ultra {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ultra-blue) 0%, var(--ultra-blue-light) 100%);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--ultra-white);
    position: relative;
}

.card-icon-ultra::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--ultra-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-ultra:hover .card-icon-ultra::after {
    opacity: 0.2;
    animation: iconPulse 1s ease infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.card-title-ultra {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.card-text-ultra {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

/* ===========================
   New Footer Design
   =========================== */
.footer-ultra {
    background: linear-gradient(180deg, var(--ultra-black) 0%, var(--ultra-charcoal) 100%);
    color: var(--ultra-white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ultra-gold), transparent);
}

.footer-content-ultra {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-ultra {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-ultra {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ultra-white);
}

.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer-column-ultra h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--ultra-gold);
}

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

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

.footer-links-ultra a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links-ultra a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ultra-gold);
    transition: width 0.3s ease;
}

.footer-links-ultra a:hover::after {
    width: 100%;
}

.footer-links-ultra a:hover {
    color: var(--ultra-white);
    transform: translateX(5px);
}

.footer-bottom-ultra {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-icon-ultra {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.social-icon-ultra:hover {
    background: var(--ultra-gold);
    border-color: var(--ultra-gold);
    color: var(--ultra-black);
    transform: rotate(360deg);
}

/* ===========================
   Modern Sections
   =========================== */
.section-ultra {
    padding: 100px 0;
    position: relative;
}

.section-ultra-dark {
    background: var(--ultra-charcoal);
    color: var(--ultra-white);
}

.section-title-ultra {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title-ultra::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--ultra-blue), var(--ultra-gold));
}

/* ===========================
   Grid Layouts
   =========================== */
.grid-ultra {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .hero-title-ultra {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-subtitle-ultra {
        font-size: 1.2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-ultra {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content-ultra {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-ultra {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .grid-ultra {
        grid-template-columns: 1fr;
    }
}