/**
 * Business Calculator Beautiful Styles
 */
:root {
    --primary-color: #4b6cb7;
    --secondary-color: #182848;
    --accent-color: #ff9800;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --medium-text: #555;
    --light-text: #7f8c8d;
    --border-color: #eee;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

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

/* Hero Section */
.hero-section {
    background: var(--gradient);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.secondary-button {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.secondary-button:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 20px;
}

.feature-card p {
    color: var(--medium-text);
    margin: 0;
}

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

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.content-card h2 {
    font-size: 28px;
    color: var(--dark-text);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.content-card h3 {
    font-size: 22px;
    color: var(--dark-text);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-card p {
    color: var(--medium-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-card ul, 
.content-card ol {
    color: var(--medium-text);
    margin-bottom: 20px;
    line-height: 1.7;
    padding-left: 20px;
}

.content-card li {
    margin-bottom: 10px;
}

.content-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.content-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(75, 108, 183, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-card,
    .contact-form {
        padding: 25px;
    }
}