/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #3c3c3c;
    --accent-color: #A20DE5;
    --dark-color: #000000;
    --light-color: #FFFFFF;
    --text-color: #FFFFFF;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(180deg, var(--accent-color) 0%, var(--light-color) 100%);
    --gradient-secondary: linear-gradient(180deg, var(--secondary-color) 0%, var(--light-color) 100%);
    --transition: all 0.3s ease;
    --font-family: -apple-system, "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    
    /* Updated Typography Scale */
    --h1-size: 4rem;        /* 68px */
    --h2-size: 2.5rem;      /* 40px */
    --h3-size: 1.5rem;      /* 24px */
    --h4-size: 24px;     /* 1.33x base size */
    --body-size: 1.125rem;  /* 18px */
    --small-size: 16px;  /* Small text */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    cursor: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    z-index: 1000;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a.active {
    color: var(--accent-color);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-btn:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
        background: var(--primary-color);
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }
    .nav-links a:nth-child(6) { transition-delay: 0.6s; }
    .nav-links a:nth-child(7) { transition-delay: 0.7s; }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: -50 rem;
    margin-bottom: -100 rem; /* Add negative margin to bring sections closer */
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: var(--h1-size);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: var(--h2-size);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--light-color);
}

.hero p {
    font-size: var(--body-size);
    line-height: 1.6;
    opacity: 0.9;
}

/* Section Styling */
.section {
    padding: 5rem 5%;
    background-color: var(--primary-color);
}

.section h2 {
    text-align: center;
    font-size: var(--h2-size);
    line-height: 1.3;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(139, 139, 140, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Global heading and paragraph styles */
h3 {
    color: var(--light-color);
    font-size: var(--h3-size);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

p {
    color: #8B8B8C;
    font-size: var(--body-size);
    line-height: 1.6;
    opacity: 1;
}

/* Cards and Content Styling */
.background-content,
.research-card,
.swot-card,
.timeline-item,
.team-member {
    background: var(--primary-color);
    color: #8B8B8C;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.background-content h3,
.research-card h3,
.swot-card h3,
.timeline-item h3,
.team-member h3 {
    color: var(--light-color);
    font-weight: 600;
    font-size: var(--h3-size);
    line-height: 1.4;
}

.background-content p,
.research-card p,
.swot-card p,
.timeline-item p,
.team-member p {
    color: #8B8B8C;
    line-height: 1.6;
    font-size: var(--body-size);
    opacity: 1;
}

/* Research Card */
.research-card {
    background: var(--primary-color);
}

.research-card:hover {
    background: var(--primary-color);
}

/* Survey Results */
.survey-results {
    background: var(--primary-color);
}

/* Interview Insights */
.interview-insights {
    padding: 2rem 0;
}

.insights-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.insights-header h3 {
    font-size: var(--h2-size);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #E100FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insights-intro {
    font-size: var(--body-size);
    color: var(--text-color);
    line-height: 1.6;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.insight-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(162, 13, 229, 0.1);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.insight-header h4 {
    margin: 0;
    font-size: var(--h4-size);
    color: var(--light-color);
}

.insight-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quotes-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    margin: 0;
}

blockquote p {
    font-style: italic;
    color: #8B8B8C;
    margin: 0;
    font-size: 0.95rem;
}

.full-width {
    grid-column: 1 / -1;
}

.deep-dive-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.deep-dive-list li {
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.deep-dive-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.deep-dive-list strong {
    color: var(--accent-color);
}

.conclusion {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.conclusion strong {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .insights-header h3 {
        font-size: calc(var(--h2-size) * 0.8);
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .insight-card {
        padding: 1.5rem;
    }
}

/* Roadmap */
.roadmap {
    background: var(--primary-color);
}

/* Figma Embed */
.figma-embed {
    background: var(--primary-color);
}

/* Feedback Carousel */
.feedback-carousel {
    background: var(--primary-color);
}

/* Table Container */
.table-container {
    background: var(--primary-color);
}

.comparison-table {
    background: var(--primary-color);
}

.comparison-table td {
    color: #8B8B8C;
}

/* Background Content */
.background-content {
    background: var(--primary-color);
}

.background-content:hover {
    background: var(--primary-color);
}

/* Story Card */
.story-card {
    background: var(--primary-color);
}

/* Persona Card */
.persona-card {
    background: var(--primary-color);
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.research-card i {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* SWOT Analysis */
.swot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.swot-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swot-card h3 {
    margin-bottom: 1rem;
}

.swot-card ul {
    list-style-position: inside;
}

/* Prototype Timeline */
.solution-timeline {
    display: grid;
    gap: 2rem;
}

.timeline-item {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.team-member {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: var(--secondary-color);
    position: relative;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-member p {
    color: var(--light-color);
    opacity: 0.8;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .swot-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Background Section */
#background {
    background-color: var(--primary-color);
    padding: 8rem 5% 5rem;
    margin-top: 0;
    padding-top: 3rem; /* Reduce top padding */
}

#background h2 {
    color: var(--light-color);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4rem;
}

.background-content {
    background: var(--secondary-color);
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.background-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(162, 13, 229, 0.2);
}

.background-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
}

.background-content:hover::before {
    opacity: 1;
}

.background-content h3 {
    color: var(--light-color);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.background-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.background-content p {
    color: var(--light-color);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.background-content:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    #background {
        padding: 6rem 5% 3rem;
    }
    
    .background-content {
        padding: 2rem;
    }
    
    .background-content h3 {
        font-size: 1.5rem;
    }
}

/* Update other headings to not use gradient */
.logo-text {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--light-color);
}

/* Research Tabs */
.research-tabs {
    margin-bottom: 4rem;
}

.tab-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
    padding: 0 2rem;
}

.tab-btn {
    padding: 1.5rem 3rem;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    border: none;
    color: var(--dark-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(162, 13, 229, 0.2);
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(162, 13, 229, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 80%);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffffff 100%);
    color: var(--dark-color);
    box-shadow: 0 12px 30px rgba(162, 13, 229, 0.4);
    transform: translateY(-3px);
}

/* Remove the shine effect styles */
.tab-btn::before {
    display: none;
}

@keyframes shine {
    0% {
        left: -100%;
        top: -100%;
    }
    100% {
        left: 100%;
        top: 100%;
    }
}

/* Tab Content */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .tab-btn {
        width: 100%;
        min-width: unset;
        padding: 1.25rem 2rem;
        font-size: 16px;
    }
}

/* Persona Section */
.persona-section {
    margin: 4rem 0;
    position: relative;
    padding: 0 2rem;
}

.persona-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.persona-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.persona-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.persona-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.persona-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.persona-img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(162, 13, 229, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    font-size: 24px;
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.figma-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(162, 13, 229, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.figma-link:hover {
    background: rgba(162, 13, 229, 0.2);
    transform: translateY(-2px);
}

.figma-link i {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .persona-section {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* User Stories */
.user-stories {
    margin-top: 4rem;
}

.user-stories h2 {
    text-align: center;
    font-size: var(--h2-size);
    line-height: 1.3;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.stories-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.story-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments for user stories */
@media (max-width: 768px) {
    .user-stories h2 {
        font-size: var(--h2-size);
        margin-bottom: 2rem;
    }
    
    .story-card {
        margin: 0 1rem;
    }
}

/* Prototype Journey */
.prototype-journey {
    display: grid;
    gap: 4rem;
}

.prototype-stage {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.prototype-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.prototype-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.prototype-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .prototype-gallery {
        grid-template-columns: 1fr;
    }
}

/* Interactive Elements */
.chart-container {
    transition: var(--transition);
}

.chart-container:hover {
    transform: scale(1.02);
}

.solutions-comparison {
    transition: var(--transition);
}

.solutions-comparison:hover {
    transform: translateY(-5px);
}

/* Gap Analysis Styling */
.gap-analysis {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--primary-color);
    border-radius: 20px;
}

.gap-flow {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding: 1rem;
}

.gap-step {
    display: flex;
    gap: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

.gap-step:nth-child(1) { animation-delay: 0.2s; }
.gap-step:nth-child(2) { animation-delay: 0.4s; }
.gap-step:nth-child(3) { animation-delay: 0.6s; }

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(162, 13, 229, 0.1);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(162, 13, 229, 0.2);
}

.gap-card {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 800px;
}

.gap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon i {
    background: rgba(162, 13, 229, 0.1);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: var(--primary-color);
}

.gap-card:hover .card-icon i {
    transform: scale(1.1);
    background: rgba(162, 13, 229, 0.2);
}

.gap-card h4 {
    color: var(--light-color);
    font-size: var(--h4-size);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.gap-card p {
    color: #8B8B8C;
    line-height: 1.6;
    font-size: var(--body-size);
    opacity: 1;
}

/* State-specific styles */
.current-state::before {
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
}

.research-state::before {
    background: linear-gradient(90deg, #4E54C8, #8F94FB);
}

.solution-state::before {
    background: linear-gradient(90deg, var(--accent-color), #E100FF);
}

.gap-card:hover::before {
    opacity: 1;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .gap-analysis {
        padding: 1rem;
        margin: 2rem 0;
    }

    .gap-flow {
        gap: 2rem;
    }

    .gap-step {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4rem;
        margin-left: -2rem;
    }

    .step-number {
        position: absolute;
        left: 0;
        top: 0;
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .gap-card {
        padding: 1.5rem;
        width: 100%;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .card-icon i {
        width: 3rem;
        height: 3rem;
    }
}

/* Table Styling */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 15px;
    background: var(--secondary-color);
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.table-container:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th, 
.comparison-table td {
    border: none;
    padding: 1.75rem;
    text-align: left;
    font-size: 1rem;
    color: var(--light-color);
    transition: var(--transition);
    position: relative;
}

.comparison-table th {
    background: var(--accent-color);
    color: var(--light-color);
    font-size: var(--h4-size);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.comparison-table th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--body-size);
    line-height: 1.6;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 600;
    background: rgba(162, 13, 229, 0.1);
    border-left: 3px solid var(--accent-color);
}

.comparison-table .highlight {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(162, 13, 229, 0.1);
    border-radius: 4px;
}

.comparison-table tbody tr {
    transition: var(--transition);
    background: transparent;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody tr:hover td {
    color: #fff;
}

.comparison-table tbody tr:hover td:first-child {
    background: rgba(162, 13, 229, 0.15);
}

/* Responsive Table */
@media (max-width: 768px) {
    .table-container {
        margin: 1rem -1rem;
        border-radius: 0;
        padding: 0;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 1.25rem 1rem;
        font-size: 0.9rem;
    }
    
    .comparison-table th {
        font-size: 1rem;
    }
    
    .comparison-table td:first-child {
        font-size: 0.95rem;
    }
    
    .comparison-table .highlight {
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
    }
}

/* Add smooth scrolling for mobile horizontal scroll */
.table-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--secondary-color);
}

/* Custom scrollbar styling */
.table-container::-webkit-scrollbar {
    height: 6px;
}

.table-container::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --h1-size: 2.5rem;      /* 40px */
        --h2-size: 2rem;        /* 32px */
        --h3-size: 1.25rem;     /* 20px */
        --h4-size: 18px;        /* 18px */
        --body-size: 1rem;      /* 16px */
        --small-size: 14px;     /* Small text */
    }
    
    .hero h1 {
        line-height: 1.1;
    }
    
    .hero h2 {
        line-height: 1.2;
    }
    
    .section h2 {
        line-height: 1.2;
    }
}

/* Spline Section */
.spline-section {
    width: 100%;
    height: 100vh;
    position: relative;
    background: var(--primary-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

spline-viewer {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Adjust spacing for sections around Spline */
#background {
    margin-top: 0;
    padding-top: 3rem; /* Reduce top padding */
}

@media (max-width: 768px) {
    .hero {
        margin-bottom: -3rem; /* Adjust for mobile */
    }
    
    .spline-section {
        height: 60vh;
    }
}

/* Custom Cursor */
.custom-cursor {
    display: none;
}

/* Hide default cursor */
body {
    cursor: auto;
}

/* Interactive elements cursor states */
a, button, .tab-btn, .prototype-gallery img, .nav-links a {
    cursor: pointer;
}

/* Mobile/touch devices */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    a, button, .tab-btn, .prototype-gallery img, .nav-links a {
        cursor: pointer;
    }
    
    .section h2 {
        font-size: calc(var(--body-size) * 2);
    }
}

/* Low-Fidelity Wireframes Section */
.low-fi-section {
    padding: 5rem 5%;
    background: var(--primary-color);
}

.wireframe-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 1rem;
}

.wireframe-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.wireframe-slide {
    min-width: 25%;
    padding: 0.5rem;
}

.wireframe-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.wireframe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.wireframe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.wireframe-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.wireframe-card:hover .wireframe-overlay {
    opacity: 1;
    transform: translateY(0);
}

.wireframe-title {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.wireframe-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.wireframe-dots {
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .wireframe-slide {
        min-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .wireframe-slide {
        min-width: 50%;
    }
    
    .wireframe-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .wireframe-slide {
        min-width: 100%;
    }
}

.figma-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.figma-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(162, 13, 229, 0.3);
    background: linear-gradient(45deg, var(--accent-color), #E100FF);
}

.figma-button i {
    font-size: 1.2em;
}

@media (max-width: 1024px) {
    .wireframe-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wireframe-carousel {
        grid-template-columns: 1fr;
    }
    
    .wireframe-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, transparent);
    }
}

/* Testing Section Styles */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feedback-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feedback-header i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.feedback-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-color);
}

.feedback-content {
    color: var(--text-color);
}

.user-feedback {
    font-style: italic;
    color: #888;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-color);
}

.solution h4 {
    color: var(--accent-color);
    margin: 0.5rem 0;
    font-size: 1rem;
}

.solution p {
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feedback-card {
        padding: 1.25rem;
    }
}

/* Chart Section Styles */
.chart-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.chart-container {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.chart-container h4 {
    text-align: center;
    color: var(--light-color);
    font-size: var(--h4-size);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.chart-canvas {
    width: 100%;
    height: 350px !important;
    transition: all 0.8s ease;
}

@media (max-width: 768px) {
    .chart-section {
        gap: 2rem;
        padding: 1rem 0;
    }

    .chart-container {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .chart-container h4 {
        font-size: calc(var(--h4-size) * 0.9);
        margin-bottom: 1rem;
    }

    .chart-canvas {
        height: 300px !important;
    }
}

/* Research Content Styles */
.research-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.research-summary {
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.research-summary p {
    font-size: var(--body-size);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.references-section {
    padding: 2rem 0;
}

.references-section h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-color);
    font-size: var(--h3-size);
    position: relative;
}

.references-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.references-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.references-list p {
    color: var(--text-color);
    font-size: var(--body-size);
    line-height: 1.6;
    margin: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.references-list p:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .research-content {
        padding: 1rem;
    }

    .research-summary {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .references-list {
        padding: 0.5rem;
    }

    .references-list p {
        padding: 0.75rem;
        font-size: calc(var(--body-size) * 0.9);
    }
}

/* Limitations Section Styles */
.limitations {
    padding: 4rem 0;
    background: var(--primary-color);
}

.limitations h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-color);
    font-size: var(--h3-size);
    position: relative;
}

.limitations h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.limitation-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.limitation-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.limitation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.limitation-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(162, 13, 229, 0.1);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.limitation-header h4 {
    margin: 0;
    color: var(--light-color);
    font-size: var(--h4-size);
}

.limitation-card p {
    color: #8B8B8C;
    line-height: 1.6;
    margin: 0;
}

.limitation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #8B8B8C;
}

.limitation-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.limitation-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.limitation-list li.example {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

.limitation-list li.example::before {
    content: '→';
}

@media (max-width: 768px) {
    .limitations {
        padding: 3rem 0;
    }

    .limitations-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .limitation-card {
        padding: 1.5rem;
    }

    .limitation-header i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

/* Future Vision Section Styles */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.future-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.future-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.future-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.future-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(162, 13, 229, 0.1);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.future-header h4 {
    margin: 0;
    color: var(--light-color);
    font-size: var(--h4-size);
}

.future-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #8B8B8C;
}

.future-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.future-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.vision-statement {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(135deg, rgba(162, 13, 229, 0.1), rgba(225, 0, 255, 0.1));
}

.vision-statement p {
    color: var(--light-color);
    font-size: var(--h4-size);
    font-weight: 500;
    margin: 0;
}

.vision-statement .future-header {
    justify-content: center;
    margin-bottom: 1rem;
}

.vision-statement:hover {
    background: linear-gradient(135deg, rgba(162, 13, 229, 0.15), rgba(225, 0, 255, 0.15));
}

@media (max-width: 768px) {
    .future-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .future-card {
        padding: 1.5rem;
    }

    .future-header i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    .vision-statement p {
        font-size: calc(var(--h4-size) * 0.9);
    }
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #2d2d2d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.github-link:hover {
    background-color: #404040;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.github-link i {
    font-size: 1.2rem;
} 