/* 
 * deepnudetelegramNO.site - Moderne CSS-stiler
 * Farger: Inspirert av norsk natur - hav og fjord (#007C92, #003F59)
 * Unikt design for det norske markedet med elementer inspirert av skandinavisk minimalisme
 */

/* Grunnleggende stiler & variabler */
:root {
    --primary: #007C92;
    --primary-dark: #003F59;
    --primary-light: #4CB5C3;
    --accent: #FF6B35;
    --accent-dark: #E04E15;
    --text-dark: #1A1A2E;
    --text-medium: #4A4E69;
    --text-light: #F8F9FA;
    --background: #FFFFFF;
    --background-alt: #F0F6F8;
    --background-dark: #1A242B;
    --success: #38B000;
    --warning: #FFB01F;
    --error: #D90429;
    --border-radius: 6px;
    --box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --section-padding: 8rem 0;
}

/* Reset & standarder */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px basis for enkel rem konvertering */
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
}

h1 {
    font-size: 4rem;
    font-weight: 800;
}

h2 {
    font-size: 3.4rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
    color: var(--text-medium);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Knapper */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 1.6rem 3rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 124, 146, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 124, 146, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-light {
    background-color: var(--text-light);
    color: var(--primary);
}

.btn-light:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    transform: scale(0);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.site-header.sticky {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-svg {
    height: 4.8rem;
    width: auto;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
}

.menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.menu a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.menu a:hover {
    color: var(--primary);
}

.menu a:hover::before {
    width: 100%;
}

.cta-menu-item {
    margin-left: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:last-child {
    bottom: 0;
}

.menu-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 18rem 0 12rem;
    position: relative;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--background), transparent);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 60rem;
}

.badge {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.4rem;
    border-radius: 3rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 124, 146, 0.2);
}

.hero h1 {
    margin-bottom: 2.5rem;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero-metrics {
    display: flex;
    gap: 4rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.metric-label {
    font-size: 1.4rem;
    color: var(--text-medium);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 40rem;
}

.hero-shape {
    width: 100%;
    max-width: 30rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 6rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 3px;
    background-color: var(--primary);
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background-color: var(--background);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 3rem;
    border-radius: var(--border-radius);
    background-color: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 3px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

/* Workflow Section */
.workflow-section {
    padding: var(--section-padding);
    background-color: var(--background-alt);
    position: relative;
}

.workflow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

.workflow-step {
    flex: 1;
    min-width: 20rem;
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    border-radius: 50%;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 15px rgba(0, 124, 146, 0.3);
}

.step-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(0, 124, 146, 0.3);
}

.cta-box h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.8rem;
}

/* Reviews Section */
.reviews-section {
    padding: var(--section-padding);
    background-color: var(--background);
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.review-card {
    padding: 3rem;
    border-radius: var(--border-radius);
    background-color: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-light);
}

.review-card.featured {
    border-top: 3px solid var(--primary);
    transform: translateY(-1rem);
}

.review-card:hover {
    transform: translateY(-8px);
}

.review-card.featured:hover {
    transform: translateY(-1.5rem);
}

.review-stars {
    color: var(--warning);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.review-author {
    font-weight: 600;
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 124, 146, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.8rem;
    flex: 1;
}

.faq-toggle {
    position: relative;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    transition: var(--transition);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 20rem;
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.8rem;
}

/* Footer */
.site-footer {
    padding: 6rem 0 3rem;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-logo {
    height: 4.8rem;
    width: auto;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 30rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 2px;
    background-color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-favicon {
    display: flex;
    align-items: center;
}

.footer-icon {
    width: 3.2rem;
    height: auto;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 9px base */
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .workflow-container {
        flex-direction: column;
    }
    
    .workflow-step {
        margin-bottom: 3rem;
    }
    
    .workflow-connector {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px base */
    }
    
    .site-header .container {
        padding: 0 2rem;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 4rem;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-metrics {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
    }
}
