/* Import fonts - Poppins som fallback */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Font-face deklarationer för Sofia Pro (använd dina licensierade OTF-filer) */
@font-face {
    font-family: 'Sofia Pro';
    src: url('SofiaPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('SofiaPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Apex Forge Platforms */
    --primary-light: #EFF0F9;        /* Light lavender background */
    --secondary-light: #C9CEEC;      /* Soft blue-purple */
    --tertiary-light: #E1E2E3;       /* Light gray */
    --primary-blue: #2D3A6E;         /* Deep navy blue */
    --primary-dark: #051319;         /* Very dark blue-black */
    --white: #FFFFFF;
    --off-white: #F5F6FA;
    --text-primary: #051319;
    --text-secondary: #2D3A6E;
    --accent: #C9CEEC;

    /* Legacy variable mappings for compatibility */
    --primary-beige: #EFF0F9;
    --secondary-beige: #EFF0F9;
    --black: #051319;
    --gray: #2D3A6E;
    --light-gray: #C9CEEC;
    --hover-black: #2D3A6E;
}

body {
    font-family: 'Sofia Pro', 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--off-white);
    font-weight: 400;
}

/* Alla titlar och rubriker får Sofia Pro Bold */
h1, h2, h3, h4, h5, h6,
.logo-text,
.calculator-title,
.section-title,
.calculator-label,
.service-card h3,
.value-item h3,
.about-text h2,
.expertise-list h3,
.footer-section h3 {
    font-family: 'Sofia Pro', 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    background: var(--secondary-beige);
    padding: 20px 0;
    border-bottom: 1px solid var(--secondary-beige);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    display: block;
    margin-bottom: 2px;
}

/* Responsive anpassning för mobil */
@media (max-width: 768px) {
    .logo-image {
        height: 32px;
        max-width: 160px;
    }
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -1px;
}

.tagline {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
    font-style: italic;
    margin-top: 2px;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--black);
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--secondary-beige);
    box-shadow: 0 4px 6px rgba(26, 26, 26, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px 30px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: var(--hover-black);
}

/* Desktop menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-blue);
}

.nav-login-btn {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.nav-login-btn:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 58, 110, 0.25);
}

/* Hero section */
.hero {
    background: #EFF0F9;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Particles.js container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    animation: fadeOut 0.6s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-light);
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: var(--accent);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-blue);
    width: 32px;
    border-radius: 6px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.5;
}

.hero-highlight {
    font-size: 16px;
    color: var(--black);
    font-weight: 500;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(45, 58, 110, 0.15);
}

.cta-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(45, 58, 110, 0.25);
    transform: translateY(-2px);
}

/* Pricing Calculator */
.pricing-calculator {
    background: #FFFFFF;
    padding: 60px 0;
    border-bottom: none;
}

.calculator-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.calculator-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;
}

.package-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.package-btn {
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--secondary-beige);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    transition: all 0.2s ease;
    font-family: inherit;
}

.package-btn:hover {
    border-color: var(--black);
    transform: translateY(-2px);
}

.package-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.calculator-item {
    text-align: center;
    padding: 20px;
}

.calculator-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
}

.calculator-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.calculator-sublabel {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
}

.service-selector {
    margin-bottom: 30px;
}

.service-selector h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    text-align: center;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.service-option {
    position: relative;
}

.service-option input[type="checkbox"] {
    display: none;
}

.service-option label {
    display: block;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--secondary-beige);
    border-radius: 4px;
    cursor: default;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    color: var(--black);
}

.service-option input[type="checkbox"]:checked + label {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.service-option input[type="checkbox"]:disabled + label {
    cursor: default;
    opacity: 0.9;
}

.service-option label:hover {
    border-color: var(--black);
}

.service-option input[type="checkbox"]:disabled + label:hover {
    border-color: var(--black);
    transform: none;
}

.volume-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.volume-control {
    text-align: center;
}

.volume-control label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--black);
    font-size: 14px;
}

.slider-container {
    position: relative;
    margin-bottom: 10px;
}

.volume-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--secondary-beige);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--black);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(26, 26, 26, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--black);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(26, 26, 26, 0.2);
}

.volume-slider:focus {
    outline: none;
}

.volume-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.2);
}

.slider-value {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

.price-button {
    background: var(--black);
    color: var(--white);
    padding: 16px 32px;
    border: 2px solid var(--black);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin: 0 auto;
}

.price-button:hover {
    background: var(--hover-black);
    border-color: var(--hover-black);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--black);
    letter-spacing: -0.5px;
}

/* Services Section */
.services-section {
    background: #2D3A6E;
}

.services-section .section-title {
    color: #FFFFFF;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.service-card h3 {
    color: #FFFFFF;
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p {
    color: #C9CEEC;
    line-height: 1.6;
    font-size: 15px;
}

/* Value props */
.value-props {
    background: #051319;
    border-top: none;
    border-bottom: none;
}

.value-props .section-title {
    color: #FFFFFF;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
}

.value-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #EFF0F9;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
}

.value-item h3 {
    color: #FFFFFF;
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.value-item p {
    color: #C9CEEC;
    line-height: 1.6;
    font-size: 15px;
}

/* About section */
.about-section {
    background: #051319;
}

.about-section .section-title,
.about-section h2,
.about-section h3 {
    color: #FFFFFF;
}

.about-section p,
.about-section li {
    color: #C9CEEC;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.about-text p {
    color: #C9CEEC;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.expertise-list {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-list h3 {
    color: #FFFFFF;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 600;
}

.expertise-list ul {
    list-style: none;
}

.expertise-list li {
    padding: 8px 0;
    color: #C9CEEC;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
}

.expertise-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FFFFFF;
    font-weight: bold;
}

/* Contact section */
.contact-section {
    background: #EFF0F9;
    color: var(--black);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 4px;
    border: 1px solid var(--secondary-beige);
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--secondary-beige);
    border-radius: 4px;
    background: var(--off-white);
    color: var(--black);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    height: 120px;
}

.submit-btn {
    background: var(--black);
    color: var(--white);
    padding: 16px 32px;
    border: 2px solid var(--black);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: all 0.2s ease;
    font-family: inherit;
}

.submit-btn:hover {
    background: var(--hover-black);
    border-color: var(--hover-black);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

/* Footer */
footer {
    background: var(--secondary-beige);
    color: var(--gray);
    padding: 60px 0 40px;
    border-top: 1px solid var(--secondary-beige);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    justify-items: center;
    text-align: center;
}

.footer-section h3 {
    color: var(--black);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--gray);
    text-decoration: none;
    line-height: 1.6;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--black);
}

.footer-bottom {
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Portfolio tablet/mobile styles - show compact grid, hide list */
    .portfolio-mobile-grid {
        display: grid !important;
    }

    .portfolio-items-list {
        display: none !important;
    }

    .portfolio-interactive-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 0;
    }

    .portfolio-detail-header {
        text-align: center;
    }

    .portfolio-tags {
        justify-content: center;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-carousel {
        min-height: 280px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .carousel-indicators {
        margin-top: 30px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .package-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-options {
        grid-template-columns: 1fr;
    }

    /* Portfolio mobile styles */
    .portfolio-mobile-grid {
        display: grid !important;
    }

    .portfolio-interactive-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 0;
    }

    .portfolio-items-list {
        display: none !important;
    }

    .portfolio-detail-panel {
        order: 1;
        min-height: auto;
    }

    .portfolio-item {
        padding: 16px;
    }

    .portfolio-item-content h3 {
        font-size: 16px;
    }

    .portfolio-item-content p {
        font-size: 13px;
    }

    .portfolio-detail-header {
        text-align: center;
    }

    .portfolio-detail-header h3 {
        font-size: 22px;
    }

    .portfolio-tags {
        justify-content: center;
    }

    .portfolio-story {
        padding: 24px;
    }

    .portfolio-quote {
        padding: 24px;
    }

    .screenshot-box {
        padding: 40px 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--black);
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;
    font-family: 'Sofia Pro', 'Poppins', sans-serif;
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.quote-form .form-group {
    margin-bottom: 20px;
}

.quote-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
    font-size: 14px;
}

.quote-form .form-group input,
.quote-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--secondary-beige);
    border-radius: 4px;
    background: var(--off-white);
    color: var(--black);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.quote-form .form-group input:focus,
.quote-form .form-group textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.quote-form textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .quote-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .modal-title {
        font-size: 24px;
    }
}

/* AI Skatterådgivning Section Styles */
.ai-section {
    background: #FFFFFF;
    padding: 80px 0;
}

/* Brifia Badge */
.ai-badge-header {
    text-align: center;
    margin-bottom: 30px;
}

.brifia-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--off-white);
    border: 1px solid var(--secondary-beige);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.ai-icon-badge {
    background: var(--black);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.ai-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.chat-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.chat-window {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--secondary-beige);
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
    overflow: hidden;
}

.chat-header {
    background: var(--black);
    color: var(--white);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
}

.chat-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.status-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-messages {
    padding: 30px;
    background: var(--off-white);
    min-height: 450px;
    max-height: 550px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.message-wrapper.user {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.message-wrapper.assistant {
    flex-direction: row;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.message-bubble {
    background: var(--white);
    padding: 16px 20px;
    border-radius: 16px;
    max-width: 75%;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.05);
    border: 1px solid var(--secondary-beige);
}

.message-wrapper.user .message-bubble {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.message-wrapper.assistant .message-bubble {
    border-bottom-left-radius: 4px;
}

.message-wrapper.user .message-bubble {
    border-bottom-right-radius: 4px;
}

.message-bubble p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 15px;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-bubble ul {
    margin: 12px 0;
    padding-left: 20px;
}

.message-bubble li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.message-bubble strong {
    font-weight: 600;
}

.info-box {
    background: var(--primary-beige);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    border-left: 3px solid var(--black);
    font-size: 14px;
    line-height: 1.6;
}

.message-wrapper.user .info-box {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--white);
}

/* Typing Indicator */
.message-wrapper.typing .message-bubble {
    padding: 20px;
}

.typing-indicator {
    display: flex;
    gap: 6px;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chat Input Area */
.chat-input-area {
    padding: 20px 30px;
    background: var(--white);
    border-top: 1px solid var(--secondary-beige);
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.quick-action-btn {
    background: var(--off-white);
    border: 1px solid var(--secondary-beige);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 500;
}

.quick-action-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.quick-action-btn svg {
    width: 16px;
    height: 16px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--secondary-beige);
    border-radius: 24px;
    background: var(--off-white);
    font-size: 15px;
    color: var(--black);
    font-family: inherit;
    transition: all 0.2s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.send-button {
    width: 48px;
    height: 48px;
    background: var(--black);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.send-button:hover {
    background: var(--hover-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

/* Sidebar */
.chat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--secondary-beige);
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.05);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.popular-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.question-btn {
    background: var(--off-white);
    border: 1px solid var(--secondary-beige);
    padding: 14px 16px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--black);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.question-icon {
    background: var(--black);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.question-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateX(4px);
}

.question-btn:hover .question-icon {
    background: var(--white);
    color: var(--black);
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tool-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
    border: 1px solid var(--secondary-beige);
}

.tool-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.tool-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.4;
}

/* AI Capabilities Section */
.ai-capabilities-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.ai-capabilities-section h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.capability-card {
    background: var(--off-white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--secondary-beige);
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: var(--black);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
    transform: translateY(-4px);
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    margin-bottom: 24px;
    border: 2px solid var(--black);
}

.capability-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.capability-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Sprint Timeline */
.sprint-timeline {
    padding: 60px 0;
    margin-bottom: 40px;
}

.timeline-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-week {
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    white-space: nowrap;
}

.timeline-card {
    background: var(--white);
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px 20px;
    width: 100%;
    max-width: 250px;
    min-height: 240px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.timeline-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(45, 58, 110, 0.12);
    transform: translateY(-4px);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
}

.timeline-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-card p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.timeline-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent));
    margin-top: 60px;
    flex-shrink: 0;
}

/* CTA Dark Section */
.cta-dark-section {
    background: #2D3A6E;
    padding: 60px 0;
    margin-top: 0;
}

/* AI CTA Box */
.ai-cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-cta-box h2 {
    color: var(--white);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ai-cta-box p {
    color: var(--white);
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 15px;
    text-align: left;
}

.cta-feature svg {
    flex-shrink: 0;
}

.cta-button-primary {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid var(--white);
}

.cta-button-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Active nav link */
nav a.active {
    color: var(--hover-black);
    font-weight: 600;
}

/* Portfolio Section */
.portfolio-section {
    background: #EFF0F9;
}

/* Mobile Portfolio Grid - Hidden by default, shown on mobile */
.portfolio-mobile-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.mobile-grid-item {
    background: var(--white);
    border: 2px solid #e1e4e8;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-grid-item:hover {
    border-color: var(--primary-blue);
}

.mobile-grid-item.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.mobile-grid-item svg {
    stroke: var(--primary-blue);
}

.mobile-grid-item.active svg {
    stroke: var(--white);
}

.mobile-grid-item span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.portfolio-interactive-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    margin-top: 60px;
}

/* Portfolio Items List (Left Side) */
.portfolio-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-item {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.portfolio-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(45, 58, 110, 0.12);
    transform: translateX(4px);
}

.portfolio-item.active {
    border-color: var(--primary-blue);
    background: var(--primary-light);
    box-shadow: 0 4px 16px rgba(45, 58, 110, 0.15);
}

.portfolio-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.portfolio-item.active .portfolio-item-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.portfolio-item-icon svg {
    stroke: currentColor;
}

.portfolio-item-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.portfolio-item-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Portfolio Detail Panel (Right Side) */
.portfolio-detail-panel {
    position: relative;
    min-height: 600px;
}

.portfolio-detail {
    display: none;
    animation: fadeInDetail 0.4s ease-in-out;
}

.portfolio-detail.active {
    display: block;
}

@keyframes fadeInDetail {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-detail-header {
    margin-bottom: 32px;
}

.portfolio-detail-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 16px 0;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--secondary-light);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--accent);
}

.portfolio-story {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #E5E5E5;
}

.portfolio-story h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
}

.portfolio-story h4:not(:first-child) {
    margin-top: 24px;
}

.portfolio-story p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
    margin: 0 0 16px 0;
}

.portfolio-story ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-story li {
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.portfolio-story li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.portfolio-quote {
    background: var(--primary-blue);
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 24px;
    position: relative;
}

.quote-icon {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.portfolio-quote p {
    color: var(--white);
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 20px 0;
}

.quote-author {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.quote-author strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.quote-author span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.portfolio-screenshot-placeholder {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
}

.screenshot-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: var(--primary-light);
    border-radius: 4px;
    border: 2px dashed var(--primary-blue);
}

.screenshot-box svg {
    color: var(--primary-blue);
    margin-bottom: 16px;
    opacity: 0.6;
}

.screenshot-box p {
    color: var(--gray);
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* Mobile responsiveness for AI section */
@media (max-width: 1024px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .timeline-track {
        flex-direction: column;
        align-items: center;
    }

    .timeline-step {
        width: 100%;
        max-width: 400px;
    }

    .timeline-card {
        max-width: 100%;
    }

    .timeline-connector {
        width: 2px;
        height: 40px;
        margin: 20px 0;
        background: linear-gradient(to bottom, var(--primary-blue), var(--accent));
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chat-messages {
        min-height: 350px;
        max-height: 400px;
        padding: 20px;
    }

    .message-bubble {
        max-width: 85%;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-action-btn {
        width: 100%;
        justify-content: center;
    }

    .ai-cta-box {
        padding: 40px 30px;
    }

    .ai-cta-box h2 {
        font-size: 24px;
    }

    .ai-cta-box p {
        font-size: 16px;
    }

    .cta-features-list {
        grid-template-columns: 1fr;
    }

    .ai-intro {
        font-size: 16px;
    }

    .sidebar-card {
        padding: 24px;
    }

    .chat-input-area {
        padding: 16px 20px;
    }

    .chat-header {
        padding: 20px;
    }

    .ai-capabilities-section h3,
    .how-it-works-section h3 {
        font-size: 24px;
    }

    .how-it-works-section {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .message-bubble {
        max-width: 90%;
        font-size: 14px;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .chat-input {
        width: 100%;
    }

    .send-button {
        width: 100%;
        border-radius: 8px;
    }

    .capability-card {
        padding: 30px 20px;
    }

    .timeline-card {
        padding: 24px 20px;
    }

    .timeline-week {
        font-size: 13px;
        padding: 6px 16px;
    }

    .timeline-icon {
        width: 48px;
        height: 48px;
    }

    .timeline-card h4 {
        font-size: 16px;
    }

    .timeline-card p {
        font-size: 12px;
    }
}

/* Parallax Scroll Animations */
.parallax-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.parallax-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from bottom */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays for multiple items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .parallax-section,
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Login Page Styles */
.login-section {
    background: #EFF0F9;
    min-height: calc(100vh - 80px);
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.login-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.login-box h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.login-subtitle {
    color: var(--gray);
    margin-bottom: 32px;
    font-size: 16px;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 14px;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(45, 58, 110, 0.1);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray);
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.login-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 58, 110, 0.25);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEE;
    border: 1px solid #FCC;
    color: #C33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
}

.login-error svg {
    flex-shrink: 0;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}

.login-footer p {
    color: var(--gray);
    font-size: 14px;
}

.login-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-features {
    padding: 40px 0;
}

.login-features h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-size: 15px;
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .login-box {
        padding: 40px 30px;
    }

    .login-box h1 {
        font-size: 28px;
    }

    .login-features {
        padding: 0;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
