/* ==========================================
   스마트팜 창업 - 메인 스타일시트
   Smart Farm Startup - Main Stylesheet
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #3DB46D;
    --primary-dark: #2a8f52;
    --primary-light: #5ec98a;
    --accent-color: #FFDA3A;
    --accent-dark: #e6c42e;
    --secondary-color: #27A1E3;
    --secondary-dark: #1d87c4;
    --bg-color: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-color: #222222;
    --text-light: #666666;
    --text-muted: #999999;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ==========================================
   Header Styles
   ========================================== */
.site-header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    background: var(--primary-color);
    color: white;
}

/* Submenu */
.has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 8px 0;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.submenu li a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login, .btn-register, .btn-user, .btn-logout {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-login {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
}

.btn-register {
    background: var(--primary-color);
    color: white;
}

.btn-register:hover {
    background: var(--primary-dark);
}

.btn-user {
    color: var(--text-color);
}

.btn-logout {
    color: var(--text-muted);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/temp_1766473228159.1827055013.jpeg') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Feature Cards
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

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

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

/* ==========================================
   Cost Summary Section
   ========================================== */
.cost-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.cost-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
}

.cost-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cost-item h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cost-item .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cost-item .range {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ==========================================
   Stats Section
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================
   Equipment Gallery
   ========================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.equipment-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.equipment-card .info {
    padding: 20px;
}

.equipment-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

/* ==========================================
   Form Styles
   ========================================== */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 180, 109, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.btn-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* ==========================================
   Card Styles
   ========================================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.card-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
}

/* ==========================================
   Auth Pages
   ========================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-color);
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.auth-logo h2 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.auth-card h3 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 15px;
}

/* ==========================================
   MyPage Styles
   ========================================== */
.mypage-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.mypage-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.mypage-sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.mypage-sidebar .user-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.mypage-sidebar .user-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.mypage-sidebar .user-email {
    font-size: 0.9rem;
    color: var(--text-light);
}

.mypage-menu li a {
    display: block;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-color);
}

.mypage-menu li a:hover,
.mypage-menu li a.active {
    background: var(--primary-color);
    color: white;
}

.mypage-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.mypage-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.withdraw-link {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
    float: right;
    opacity: 0.6;
}

.withdraw-link:hover {
    opacity: 1;
    color: #e74c3c;
}

/* ==========================================
   Estimate Calculator
   ========================================== */
.estimate-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.estimate-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.estimate-result {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    padding: 30px;
}

.result-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 30px;
}

.result-header h3 {
    font-size: 1.5rem;
}

.result-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
}

.result-item .label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.result-item .value {
    font-size: 1.25rem;
    font-weight: 700;
}

.result-highlight {
    text-align: center;
    padding: 20px;
    background: var(--accent-color);
    color: var(--text-color);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.result-highlight .label {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-highlight .value {
    font-size: 2rem;
    font-weight: 700;
}

/* Range Slider */
.range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.range-value {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
}

/* ==========================================
   Simulator
   ========================================== */
.simulator-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.simulator-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 30px;
}

.simulator-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 500px;
}

.simulator-controls {
    padding: 30px;
    background: var(--bg-color);
    border-right: 1px solid var(--border-color);
}

.simulator-preview {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.farm-preview {
    flex: 1;
    background: linear-gradient(to bottom, #87CEEB 0%, #87CEEB 30%, #228B22 30%, #228B22 100%);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.farm-structure {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   Footer Styles
   ========================================== */
.site-footer {
    background: #2C3E50;
    color: #BDC3C7;
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    width: 120px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
}

.copyright {
    margin-bottom: 5px;
}

.footer-info {
    opacity: 0.6;
}

/* Quick Contact */
.quick-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.quick-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.quick-btn svg {
    width: 28px;
    height: 28px;
}

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* ==========================================
   Table Styles
   ========================================== */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-color);
    font-weight: 600;
    color: var(--text-color);
}

.data-table tr:hover {
    background: var(--bg-color);
}

/* ==========================================
   Alert Messages
   ========================================== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.d-none { display: none; }
.d-flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .estimate-container {
        grid-template-columns: 1fr;
    }

    .mypage-container {
        grid-template-columns: 1fr;
    }

    .simulator-body {
        grid-template-columns: 1fr;
    }

    .simulator-controls {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 5px;
    }

    .nav-menu > li > a {
        padding: 12px 15px;
    }

    .has-submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-color);
        margin-top: 5px;
        border-radius: var(--radius-sm);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 20px;
    }

    .auth-card {
        padding: 30px 20px;
    }

    .quick-contact {
        bottom: 20px;
        right: 20px;
    }

    .quick-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .cost-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================
   Animation
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   Sitemap Styles
   ========================================== */
.sitemap-container {
    padding: 60px 0;
}

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

.sitemap-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sitemap-section ul li {
    margin-bottom: 10px;
}

.sitemap-section ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.sitemap-section ul li a:hover {
    color: var(--primary-color);
}

/* Policy Pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.policy-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-content h3 {
    font-size: 1.1rem;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
    list-style: disc;
    color: var(--text-light);
}

.policy-date {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 40px;
}
