/* 
* DeepfakeNO.love - Norwegian Deepfake AI Website
* Main Stylesheet
* Colors: Norwegian flag colors - Red #BA0C2F, Blue #00205B, White #FFFFFF
*/

/* Base Styles & Reset */
:root {
    --primary: #BA0C2F; /* Norwegian flag red */
    --secondary: #00205B; /* Norwegian flag blue */
    --light: #FFFFFF;
    --dark: #333333;
    --gray: #F0F0F0;
    --accent: #F7D06B; /* Nordic gold accent */
    --gradient: linear-gradient(135deg, var(--primary) 0%, #E52D4F 100%);
    --gradient-blue: linear-gradient(135deg, var(--secondary) 0%, #0053CC 100%);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--secondary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
}

h2 span {
    color: var(--primary);
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background: var(--gradient);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(186, 12, 47, 0.4);
}

.primary-btn:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 12, 47, 0.5);
}

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

.secondary-btn:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light);
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.site-title {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--secondary);
}

.site-title span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:not(.nav-cta):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:not(.nav-cta):hover:after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    color: var(--light);
    box-shadow: 0 4px 10px rgba(186, 12, 47, 0.3);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    background-color: #F9F9F9;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-number .small {
    font-size: 1rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nordic-pattern {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nordic-circle {
    border-radius: 50%;
    position: absolute;
    border: 3px solid var(--secondary);
}

.nordic-circle.outer {
    width: 100%;
    height: 100%;
    border-color: var(--primary);
    opacity: 0.7;
    animation: pulse 6s infinite alternate;
}

.nordic-circle.middle {
    width: 75%;
    height: 75%;
    border-color: var(--secondary);
    opacity: 0.5;
    animation: pulse 4s infinite alternate-reverse;
}

.nordic-circle.inner {
    width: 50%;
    height: 50%;
    border-color: var(--primary);
    opacity: 0.8;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.ai-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.nordic-element {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.1;
}

.nordic-element.top-left {
    top: 0;
    left: 0;
    background: linear-gradient(45deg, var(--primary), transparent);
    border-bottom-right-radius: 100%;
}

.nordic-element.bottom-right {
    bottom: 0;
    right: 0;
    background: linear-gradient(225deg, var(--secondary), transparent);
    border-top-left-radius: 100%;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    flex-shrink: 0;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-pattern {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield {
    position: absolute;
    background: var(--gray);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shield-large {
    width: 300px;
    height: 350px;
    background: rgba(186, 12, 47, 0.05);
    animation: rotate 20s linear infinite;
}

.shield-medium {
    width: 220px;
    height: 260px;
    background: rgba(0, 32, 91, 0.05);
    animation: rotate 15s linear infinite reverse;
}

.shield-small {
    width: 140px;
    height: 170px;
    background: rgba(186, 12, 47, 0.1);
    animation: rotate 10s linear infinite;
}

.nordic-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Features Section */
.features-section {
    background-color: #F8F9FA;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(186, 12, 47, 0.05) 50%);
    border-radius: 0 0 0 100px;
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    background: #F1F5FF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.features-cta {
    text-align: center;
    margin-top: 60px;
}

/* How It Works Section */
.how-section {
    background-color: var(--light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: #F8F9FA;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Testimonial Section */
.testimonial-section {
    background-color: #F0F4F9;
    position: relative;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary);
}

.testimonial-rating {
    color: #FFD700;
    letter-spacing: 2px;
}

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

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    background-color: #F8F9FA;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-weight: 700;
    color: var(--secondary);
}

.accordion-icon {
    position: relative;
    width: 18px;
    height: 18px;
}

.accordion-icon:before, .accordion-icon:after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.accordion-icon:before {
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
}

.accordion-icon:after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
}

.accordion-item.active .accordion-icon:after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 20px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--gradient-blue);
    color: var(--light);
    padding: 100px 0;
}

.cta-section h2 {
    color: var(--light);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.cta-section .primary-btn {
    background: var(--light);
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .primary-btn:hover {
    background: var(--primary);
    color: var(--light);
}

/* Footer */
.site-footer {
    background-color: #192440;
    color: #B0B7C3;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.brand-info h3 {
    color: var(--light);
    margin-bottom: 5px;
}

.brand-info p {
    color: #B0B7C3;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-column h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #B0B7C3;
}

.footer-column a:hover {
    color: var(--light);
}

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

.copyright {
    margin: 0;
}

.keywords {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual, .about-visual {
        order: -1;
    }
    
    .nordic-pattern, .shield-pattern {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--light);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .site-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
    }
    
    .feature-card, .step-card, .testimonial-card {
        padding: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}
