/* InsiteNest - Modern Landing Page Styles */
/* Humanized Design with Professional Typography and Warm Colors */

/* Google Fonts - Poppins (Headings) and Inter (Body) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Updated Color Palette - Humanized Design */
    --primary-color: #00C896; /* Corrected teal from requirements */
    --secondary-color: #F58634; /* Warm orange accent */
    --dark-blue: #1D2939; /* Deep Charcoal/Navy for unified footer (3rd review) */
    --text-color: #333333; /* Soft black for better readability */
    --subtle-bg: #F7F7F7; /* Subtle gray background */
    --light-gray: #EEEEEE; /* Card separators */
    --medium-gray: #666666; /* Secondary text */
    --white: #FFFFFF;
    --warm-accent: #FFC107; /* Soft gold for highlights */
    --alert-color: #E57373; /* Soft red for warnings */

    /* Shadows - Soft and Floating */
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-weight: 400;
    background: #FAFAFA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #F5F5F5;
    border-bottom: 1px solid #E0E0E0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Ensure buttons in nav maintain their styles */
.nav-links .btn-primary,
.nav-links .btn-secondary {
    color: inherit;
}

.nav-links .btn-primary:hover,
.nav-links .btn-secondary:hover {
    color: inherit;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #00A37A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F0FDFA 0%, #E0F2FE 100%);
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-note {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid #E0E0E0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 200, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
}

.feature-icon i {
    width: 36px;
    height: 36px;
    stroke-width: 1.5px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0FDFA 0%, #E0F2FE 100%);
}

.steps {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    flex: 1;
    display: flex;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.step-content p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Web App Features Section */
.webapp-features {
    padding: 100px 0;
    background: #E5E5E5; /* Slightly darker gray for visual separation */
}

.webapp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.webapp-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

.webapp-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.webapp-card.highlight {
    background: var(--white);
}

.webapp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(0, 200, 150, 0.12);
    color: #777777;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webapp-icon i {
    width: 36px;
    height: 36px;
    stroke-width: 1.5px;
}

.webapp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.webapp-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.webapp-cta {
    text-align: center;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: var(--white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.use-case {
    padding: 2rem;
    border-radius: 12px;
    background: var(--light-gray);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.use-case-icon {
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(245, 134, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
}

.use-case-icon i {
    width: 32px;
    height: 32px;
    stroke-width: 2px;
}

.use-case h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.use-case p {
    color: var(--medium-gray);
}

/* Free Section */
.free-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.free-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.free-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

.free-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.free-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(0, 200, 150, 0.12);
    color: #777777;
    display: flex;
    align-items: center;
    justify-content: center;
}

.free-icon i {
    width: 32px;
    height: 32px;
    stroke-width: 1.5px;
}

.free-feature h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.free-feature p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 60px 0;
    background: rgba(255, 193, 7, 0.08);
    color: var(--text-color);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Form Elements - Global Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--white);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
textarea:hover,
select:hover {
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Labels */
label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

/* Submit Buttons */
button[type="submit"],
input[type="submit"],
.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

button[type="submit"]:active,
input[type="submit"]:active,
.submit-btn:active {
    transform: translateY(0);
}

button[type="submit"]:disabled,
input[type="submit"]:disabled,
.submit-btn:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Reduce padding on tablet */
    .hero,
    .features,
    .how-it-works,
    .webapp-features,
    .use-cases,
    .free-section,
    .cta {
        padding: 60px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .steps {
        flex-direction: column;
    }

    .webapp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .free-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    /* Further reduce padding on mobile */
    .hero,
    .features,
    .how-it-works,
    .webapp-features,
    .use-cases,
    .free-section,
    .cta {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .webapp-card {
        padding: 1.5rem;
    }

    .webapp-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .free-features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}
