/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #2E8B57 0%, #228B22 100%);
    --secondary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --accent-gradient: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ecf0f1;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: #2E8B57;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-link {
    background: var(--accent-gradient);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Header */
.header {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header .container {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto 48px auto;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header CTA */
.header-cta {
    text-align: center;
    margin-top: 32px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 18px 36px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 139, 87, 0.4);
    color: white;
    text-decoration: none;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Pain Points Section */
.pain-points {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.pain-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(46, 139, 87, 0.3) 50%, transparent 100%);
}

.pain-points h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
}

.pain-points h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.pain-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.pain-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(78, 205, 196, 0.3);
}

.pain-item:hover::before {
    width: 6px;
}

.pain-item h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.pain-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.pain-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 16px;
    color: #FF6B6B;
    transition: var(--transition);
    opacity: 0.8;
}

.pain-icon svg {
    width: 100%;
    height: 100%;
}

.pain-item:hover .pain-icon {
    opacity: 1;
    color: #FF5252;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: white;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 107, 0.3) 50%, transparent 100%);
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
}

.service-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(46, 139, 87, 0.3);
}

.service-item:hover::before {
    height: 6px;
}

.service-item h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.service-item p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.service-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 20px;
    color: #2E8B57;
    transition: var(--transition);
    opacity: 0.9;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-icon {
    opacity: 1;
    color: #228B22;
}

/* Power of 3 Section */
.power-of-3 {
    padding: 120px 0;
    background: var(--secondary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.power-of-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

.power-of-3 .container {
    position: relative;
    z-index: 2;
}

.power-of-3 h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 80px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.power-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.power-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.power-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.power-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.power-item:hover::before {
    opacity: 1;
}

.power-item h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.power-item p {
    line-height: 1.7;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.power-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.power-icon svg {
    width: 100%;
    height: 100%;
}

.power-item:hover .power-icon {
    color: rgba(255, 255, 255, 1);
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--dark-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: end;
}

.cta-form input {
    padding: 20px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-weight: 400;
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(78, 205, 196, 0.5);
    transform: translateY(-2px);
}

.cta-form input:nth-child(3),
.cta-form input:nth-child(4) {
    grid-column: 1 / -1;
}

.cta-form button {
    grid-column: 1 / -1;
    padding: 24px 40px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.cta-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-form button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(78, 205, 196, 0.4);
}

.cta-form button:hover::before {
    left: 100%;
}

.cta .cta-note {
    margin-top: 32px;
    font-size: 0.85rem !important;
    opacity: 0.8;
    font-weight: 400;
}

.form-message {
    margin-top: 24px;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.form-message.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.form-message.loading {
    background: rgba(78, 205, 196, 0.1);
    color: #4ECDC4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    opacity: 0.8;
    font-weight: 400;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 3.2rem;
    }
    
    .pain-grid,
    .services-grid,
    .power-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .nav-menu {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .pain-points h2,
    .services h2,
    .power-of-3 h2,
    .cta h2 {
        font-size: 2.4rem;
    }
    
    .pain-grid,
    .services-grid,
    .power-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item,
    .power-item,
    .pain-item {
        padding: 32px 24px;
    }
    
    .cta-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cta-form input:nth-child(3),
    .cta-form input:nth-child(4) {
        grid-column: 1;
    }
    
    .header,
    .pain-points,
    .services,
    .power-of-3,
    .cta {
        padding: 80px 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header {
        margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .pain-points h2,
    .services h2,
    .power-of-3 h2,
    .cta h2 {
        font-size: 2rem;
    }
    
    .service-item,
    .power-item,
    .pain-item {
        padding: 24px 20px;
    }
    
    .cta-form input {
        padding: 16px 20px;
    }
    
    .cta-form button {
        padding: 20px 32px;
        font-size: 1.1rem;
    }
    
    .header,
    .pain-points,
    .services,
    .power-of-3,
    .cta {
        padding: 60px 0;
    }
    
    .nav-brand h2 {
        font-size: 1.3rem;
    }
    
    .header {
        margin-top: 60px;
    }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gradient);
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(46, 139, 87, 0.5);
    color: white;
    text-decoration: none;
}

.floating-cta-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.floating-cta-text {
    white-space: nowrap;
}

/* Show floating CTA only on mobile */
@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }
    
    .floating-cta-btn {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
    
    .floating-cta-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }
    
    .floating-cta-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .floating-cta-text {
        display: none;
    }
    
    .floating-cta-icon {
        width: 20px;
        height: 20px;
    }
}
