:root {
    /* InternSwipe Brand Colors */
    --primary-light-blue: #007AFF;
    --primary-white: #FFFFFF;
    --primary-dark-blue: #003366;
    
    /* Supporting Colors */
    --light-blue: #E6F2FF;
    --gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

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

/* Navigation */
nav {
    background-color: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    width: 45px;
    height: 45px;
    display: block;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-light-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-light-blue);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-light-blue) 100%);
    color: var(--primary-white);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.primary-button {
    background: var(--primary-white);
    color: var(--primary-dark-blue);
}

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

.primary-button:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.app-store-button {
    position: relative;
}

.app-store-button:focus {
    outline: 2px solid var(--primary-white);
    outline-offset: 4px;
}

.app-store-button:active {
    transform: translateY(0);
}

.secondary-button:hover {
    transform: translateY(-2px);
    background: var(--primary-white);
    color: var(--primary-light-blue);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--primary-white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    background: var(--gray);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

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

.about-content strong {
    color: var(--primary-light-blue);
    font-weight: 600;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: var(--gray);
}

.mission h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-light-blue);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
}

/* Story Section */
.story {
    padding: 100px 0;
    background: var(--primary-white);
}

.story h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Demo Section - How It Works */
.demo-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, rgba(0, 122, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
}

.demo-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.swipe-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: var(--primary-dark-blue);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.phone-screen-demo {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swipe-tutorial-card {
    width: 90%;
    height: 85%;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tutorial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 20px rgba(0, 122, 255, 0); 
    }
}

.tutorial-icon i {
    font-size: 2rem;
    color: white;
}

.swipe-tutorial-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 25px;
}

.swipe-directions {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.direction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.direction-item i {
    font-size: 1.5rem;
    color: var(--primary-light-blue);
}

.direction-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.tutorial-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--primary-white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-white);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-light-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Signup Section */
.signup {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--primary-light-blue));
    color: var(--primary-white);
}

.signup h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
}

#signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signup-content input[type="email"] {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.signup-content input[type="email"]:focus {
    outline: none;
    background: var(--primary-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group {
    text-align: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--primary-white);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-white);
    text-decoration: underline;
}

.signup-content .primary-button {
    background: var(--primary-white);
    color: var(--primary-dark-blue);
    justify-content: center;
}

.signup-content .primary-button:hover {
    background: var(--light-blue);
}

.form-message {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #FFFFFF;
    border: 2px solid rgba(244, 67, 54, 0.5);
}

/* Footer */
footer {
    background: var(--primary-dark-blue);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary-white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-light-blue);
}

.footer-app-store {
    margin: 1.5rem 0;
}

.app-store-badge {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.app-store-badge img {
    display: block;
    height: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.app-store-badge:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.app-store-badge:focus {
    outline: 2px solid var(--primary-light-blue);
    outline-offset: 4px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-white);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-light-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

footer input[type="email"] {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    font-family: inherit;
}

footer input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .primary-button {
    background: var(--primary-light-blue);
    color: var(--primary-white);
    justify-content: center;
}

footer .primary-button:hover {
    background: var(--primary-white);
    color: var(--primary-dark-blue);
}

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

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .logo-img {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-white);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    h2 {
        font-size: 2rem !important;
    }

    .about-content {
        padding: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .footer-content {
        text-align: center;
    }

    .footer-app-store {
        display: flex;
        justify-content: center;
    }

    .app-store-badge img {
        height: 45px;
    }

    .social-links {
        justify-content: center;
    }

    .mission-stats,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }

    .swipe-tutorial-card {
        padding: 20px;
    }

    .tutorial-icon {
        width: 60px;
        height: 60px;
    }

    .tutorial-icon i {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .primary-button,
    .secondary-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .about-content {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .app-store-badge img {
        height: 40px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }
}

/* ============================================
   TEAM PAGE STYLES
   ============================================ */

/* Team Hero Section */
.team-hero {
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    padding: 6rem 0 4rem 0;
    text-align: center;
    color: var(--primary-white);
}

.team-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease;
}

.team-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* Team Section Container */
.team-section {
    padding: 4rem 0;
}

.team-section:nth-child(even) {
    background-color: var(--light-blue);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark-blue);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 900px;
    margin: 2rem auto 0;
}

/* Team Card Styles */
.team-card {
    background: var(--primary-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 122, 255, 0.15);
}

.team-card:hover::before {
    transform: scaleX(1);
}

/* Team Card Avatar */
.team-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card-avatar i {
    font-size: 3rem;
    color: var(--primary-white);
    transition: transform 0.3s ease;
}

.team-card:hover .team-card-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 122, 255, 0.3);
}

.team-card:hover .team-card-avatar i {
    transform: scale(1.1);
}

/* Team Card Content */
.team-card-content {
    width: 100%;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
}

.team-member-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-light-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.link-title{
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-light-blue);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.team-member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.85;
    margin-top: 1rem;
    text-align: left;
}

/* Active nav link styling */
.nav-links a.active {
    color: var(--primary-light-blue);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-light-blue);
    border-radius: 2px;
}

/* Team Page Responsive Styles */
@media screen and (max-width: 768px) {
    .team-hero {
        padding: 4rem 0 3rem 0;
    }

    .team-hero h1 {
        font-size: 2.5rem;
    }

    .team-subtitle {
        font-size: 1.1rem;
    }

    .team-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-card-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .team-card-avatar i {
        font-size: 2.5rem;
    }

    .team-member-name {
        font-size: 1.3rem;
    }

    .team-member-title {
        font-size: 0.85rem;
    }

    .team-member-bio {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .team-hero h1 {
        font-size: 2rem;
    }

    .team-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .team-card-avatar {
        width: 70px;
        height: 70px;
    }

    .team-card-avatar i {
        font-size: 2rem;
    }

    .team-member-name {
        font-size: 1.2rem;
    }
}