:root {
    --page-max-width: 1300px;

    --desktop-padding-x: 45px;
    --tablet-padding-x: 24px;
    --mobile-padding-x: 18px;

    --desktop-padding-y: 77px;
    --tablet-padding-y: 45px;
    --mobile-padding-y: 45px;
    
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: Nunito, Arial;
    margin: 0;
}

body {
    opacity: 0;
    transition: opacity 0.4s;
    
}

body.ready {
    opacity: 1;
}


@media (max-width: 800px) { 
    main > section {
        padding-top: var(--mobile-padding-y) !important;
        padding-bottom: var(--mobile-padding-y) !important;
        margin: 0px !important;
    }

}


main > section, footer {

    padding: var(--desktop-padding-y) var(--desktop-padding-x);
  
}

body > header nav, body > footer {
    padding-left: var(--desktop-padding-x);
    padding-right: var(--desktop-padding-x);
}


/* Sections */

.cover {
    
    text-align: center;
    background: radial-gradient(circle at top center, #eff6ff 0%, #ffffff 100%);
    position: relative;

    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-main);
    overflow-x: hidden;

    --brand-color: #6366f1; /* Modern Indigo */
    --brand-hover: #4f46e5;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-soft: #fcfcfd;
}




/* Dekoration bakom texten */
.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cover .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cover .badge {
    display: inline-block;
    padding: 8px 16px;
    background: #e0e7ff;
    color: var(--brand-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cover h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 0px;
}

.cover .highlight {
    color: var(--brand-color);
}

.cover p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.cover .cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.cover .btn {
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.cover .btn-primary {
    background: var(--brand-color);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.cover .btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.cover .btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.cover .btn-secondary:hover {
    background: #f8fafc;
}


.cover .preview-container {
    margin-top: 2rem;
    background: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cover .browser-bar {
    display: flex;
    gap: 6px;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.cover .dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: #e2e8f0; 
}

.cover .mockup-img {
    width: 100%;
    height: auto;
    border-radius: 0 0 10px 10px;
    display: block;
}


.cover .trust-pills {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cover .pill {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.cover .pill i {
    font-size: 1.2rem;
    color: #10b981; /* Grön för checkmarks */
}




/* - */



.section-1 {
    
    --accent: #0066ff;
    --dark: #0f172a;
    --gray: #64748b;
    --bg-light: #f8fafc;

   
    margin: auto;
    
    
    display: flex;
    align-items: center;
    gap: 160px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: white;

    max-width: var(--page-max-width);
    overflow: hidden;
}


.section-1 .content-area {
    flex: 1;
    max-width: 500px;
}

.section-1 .tagline {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 17px;
    margin-top: 0;
}

.section-1 .content-area h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-1 .main-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Feature List */
.section-1 .feature-list {
    display: inline-flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
}

.section-1 .feature-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.section-1 .icon-circle {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    color: var(--accent);
}

.section-1 .feature-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.section-1 .feature-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.section-1 .seo-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Höger sida: Bild */
.section-1 .image-area {
    flex: 1;
    position: relative;
    top: 81px;
    align-self: flex-start;
}

.section-1 .main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.15);
    display: block;
    position: relative;
    z-index: 1;
}

/* Dekorativt element */
.section-1 .image-area::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--accent) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: 0;
}


/* Projects section */


   
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');


.project-section {

    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-accent: #f8fafc;
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    padding: 66px var(--desktop-padding-x);
    background-color: var(--bg-accent);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}


.project-section .work-container {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.project-section .work-intro {
  text-align: center;
  margin-bottom: 64px;
}

.project-section .work-intro h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0px;
}

.project-section .work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 62px;
}



.project-section .project-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.project-section .project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.15);
}



/* makes the entire card clickable */

.project-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1; /* 2. Stretches to cover the whole .project-card */
}







.project-section .card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-section .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-section .project-card:hover .card-media img {
  transform: scale(1.1);
}

.project-section .card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  outline: 1px solid #0000007d;
  display: none;
}

.project-section .card-body {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-section .card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0px;
}

.project-section .card-body p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.project-section .card-footer {
  margin-top: auto;
}

.project-section .project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.project-section .project-link span {
  width: 32px;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition);
}

.project-section .project-card:hover .project-link {
  color: #6366f1;
  gap: 16px;
}

.project-section .project-card:hover .project-link span {
  width: 48px;
}



/* Offers section */





.offer-section {

    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.offer-section h2 {
    margin-top: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    margin: auto;
}

.offer-section header p {
    max-width: 908px;
    margin-top: 31px;
}







.offer-section .pricing-container {
    display: grid;
    gap: 45px;
    padding: 40px 0;
    grid-template-columns: repeat(2, minmax(0, 462px));
    justify-content: center;
    margin-top: 20px;
}



.offer-section .pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.13);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.offer-section .pricing-card:hover {
    transform: translateY(-10px);
    border-color: #007bff;
}

.offer-section .pricing-card.popular {
    border: 2px solid #007bff;
    position: relative;
}

.offer-section .popular-badge {
    background: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    font-weight: bold;
}

.offer-section .pricing-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.offer-section .pricing-card .price {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    margin: 20px 0;
}

.offer-section .pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
    flex-grow: 1;
}

.offer-section .pricing-card .features li {
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #555;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 4px;
}

.offer-section .pricing-card .features li::before {
    content: '✓';
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

.offer-section .pricing-container .btn {
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.offer-section .pricing-container .btn:hover {
    background: #0056b3;
}




/* FAQ section */


@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

        

.faq-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Using a high-end architectural image for the background */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 41px var(--desktop-padding-x);
}

.glass-container {
    width: 100%;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.faq-section h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-section .header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0px 26px;
}

.header h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Accordion Styling */
details {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

details[open] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

summary {
    list-style: none;
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    outline: none;
}

summary::-webkit-details-marker { display: none; }

/* The Icons */
.icon-wrap {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

details[open] .icon-wrap {
    background: #ffffff;
    color: #000;
    transform: scale(1.1);
}

/* Animated Chevron */
.chevron {
    margin-left: auto;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

details[open] .chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.content {
    padding: 79px;
    padding-top: 79px;
    padding-bottom: 79px;
    padding-top: 0px;
    padding-bottom: 36px;
    margin-top: -12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}





/* Contact section */

.contact-section {
    padding: 105px var(--desktop-padding-x);
    background: linear-gradient(120deg, #f5f3ff 0%, #f0f9ff 100%);
    display: flex;
    justify-content: center;
    font-family: 'Figtree', sans-serif;

    --brand-primary: #8b5cf6; /* Soft Violet */
    --brand-secondary: #0ea5e9; /* Sky Blue */
    --bg-light: #f9fafb;
    --text-dark: #1f2937;
    --white: #ffffff;
}

.contact-section .cta-max-width {
  
    width: 100%;
    max-width: 1155px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Content */
.contact-section .cta-text-content {
    flex: 1;
}

.contact-section .cta-text-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    line-height: 1.1;
    max-width: 491px;
}

.contact-section .cta-text-content p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

.contact-section .features-row {
    list-style: none;
    padding: 0;
}

.contact-section .benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-right: 10px;
    font-size: 0.9rem;
    margin-bottom: 13px;
}

.contact-section .cta-text-content > .benefit-tag {
    margin-bottom: 37px;
}

/* Right Form Card */
.contact-section .form-card {
    flex: 1;
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 450px;
    
}


.contact-section .input-group {
    margin-bottom: 24px;
}

.contact-section .input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-section .input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    font-size: 1rem;
    background: #fdfdfd;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-section .input-group input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
}

.contact-section .btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--brand-primary), #7c3aed);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.contact-section .btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.5);
}










@media (max-width: 1260px) { 
    .cover {
        text-align: left;
        padding-top: 72px;
    }

    .cover p {
        margin-left: 0px;
    }

    .cover .cta-group {
        justify-content: flex-start;
    }

    .cover .trust-pills {
        justify-content: flex-start;
    }
}



@media (max-width: 1260px) {

    .section-1 {
        flex-direction: column;
        
        gap: 94px;
        
        margin: 60px auto;
       
    }

    .section-1 .content-area {
        max-width: 717px;
    }

    .section-1 .feature-row {
        justify-content: center;
        text-align: left;
        max-width: 500px;
        
    }

    .section-1 .image-area {
        top: auto;
        align-self: center;
    }
}



@media (max-width: 1260px) { 

      .cover {
        padding-top: 39px;
        padding-bottom: 52px;
    }
}

@media (max-width: 1060px) {
    .offer-section h2 {
        
        line-height: 1.2;
        max-width: 17ch;
    }
}

@media (max-width: 968px) {

    .contact-section {
        padding: var(--mobile-padding-y) 0;
        padding-bottom: 0px !important;
    }

    .contact-section .cta-text-content {
       padding: 0 var(--desktop-padding-x);
    }
    .contact-section .cta-max-width {
        flex-direction: column;
    }
    .contact-section .cta-text-content h2 { font-size: 2.5rem; }
    .contact-section .cta-text-content p { margin: 0 auto 40px; max-width: unset; }
    .contact-section .form-card { width: 100%; max-width: 100%; padding: 35px; border-radius: 0px; box-sizing: border-box;}
}





@media (max-width: 990px) {

    .offer-section .pricing-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        width: 100%;
    }
}





@media (max-width: 768px) {
    .cover h1 { font-size: 2.2rem; line-height: 1.2; }
    
}




@media (max-width: 705px) {
    .glass-container { padding: 30px 20px; }
    .glass-container .content { padding-left: 25px; padding-right: 25px; }
}





@media (max-width: 570px) {
    .offer-section h2 {
        max-width: 408px;
    }
}

@media (max-width: 527px) { 

    /*.cover .trust-pills { flex-direction: column; align-items: flex-start; gap: 1rem; }*/

    .cover .trust-pills .pill:nth-of-type(3) {
        display: none;
    }
}


@media (max-width: 415px) {

    body > header nav, 
    main > section:not(.contact-section, .faq-section),
    .contact-section .cta-text-content,
    .contact-section .form-card,
    footer {
  
        padding-left: var(--mobile-padding-x) !important;
        padding-right: var(--mobile-padding-x) !important;
    
    }



}



@media (max-width: 375px) { 

   

    .cover .trust-pills { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: -22px; }
    .cover .trust-pills .pill:nth-of-type(3) {
        display: flex;
    }
}


@media (max-width: 470px) {
    .cover .container {
        text-align: left;
    }

    .cover .btn {
        width: 100%;
        text-align: center;
    }

     .cover h1 {
        max-width: 11ch;
     }
}



@media (max-width: 460px) {
    .faq-section {
        padding: 0px !important;
        align-items: flex-start;
        min-height: auto;
    }

    .faq-section .glass-container {
        border-radius: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .faq-section .glass-container details {
        border-radius: 0px; 

    }
}



@media (max-width: 390px) {
    .project-section .work-grid {
        grid-template-columns: 1fr;
    }

    
}

