/* style.css for JobMail AI landing page */
:root {
    /* Original Color Palette Restored */
    --primary-color: #638ecb;
    /* Original Blue */
    --primary-dark: #0f3460;
    /* Dark Blue */
    --primary-darker: #16213e;
    /* Darker Blue */
    --secondary-color: #f0f4f8;
    --text-dark: #16213e;
    --text-light: #555555;
    --accent-color: #4FACFE;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    --gradient-hover: linear-gradient(135deg, #16213e 0%, #0f3460 100%);

    /* Shadows & Effects */
    --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    --backdrop-blur: blur(10px);

    --font-family: 'Poppins', sans-serif;
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Navigation */
nav {
    background: rgba(99, 142, 203, 0.9);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    padding: 1.2rem 5%;
    box-shadow: 0 2px 10px rgba(99, 142, 203, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s;
}

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    /* opacity: 0.9; */
}

.nav-cta-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #0f3460;
    box-shadow: 0 4px 15px rgba(15, 52, 96, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.nav-cta-btn svg {
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cta-btn:hover svg {
    transform: rotate(360deg) scale(1.05);
}

/* Hero Section */
.hero-section {
    padding: 6rem 5% 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

/* Abstract Background Shapes */
.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 52, 96, 0.05) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float-bg 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 142, 203, 0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
    animation: float-bg 10s ease-in-out infinite reverse;
}

@keyframes float-bg {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-darker);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--primary-color);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.8;
}

.cta-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #0f3460;
    box-shadow: 0 4px 15px rgba(15, 52, 96, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-btn:hover {
    transform: scale(1.08);
    color: var(--white);
}

.cta-btn svg {
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-btn:hover svg {
    transform: rotate(360deg) scale(1.1);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* New Image Effect: Floating only */
.hero-image img {
    width: 100%;
    height: auto;
    animation: float-img 6s ease-in-out infinite;
    background: transparent;
}

@keyframes float-img {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 5%;
    background: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-darker);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 142, 203, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

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

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Connect Section */
.connect-section {
    padding: 6rem 5%;
    text-align: center;
    background: var(--white);
}

.connect-card {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 52, 96, 0.3);
}

.connect-content {
    position: relative;
    z-index: 1;
}

.connect-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.linkedin-btn {
    background: var(--white);
    color: #0077b5;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* Footer */
footer {
    background: var(--white);
    padding: 4rem 5% 2rem;
    border-top: 2px solid var(--primary-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.copyright {
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .nav-menu {
        display: none;
    }

    .feature-card {
        padding: 2rem;
    }
}