/**
 * Phytest Plans Comparison Table Styles
 * Feature comparison table with clean modern design
 */

/* Wrapper */
.phytest-plans-comparison-wrapper {
	width: 100%;
	padding: 60px 20px;
	position: relative;
}

/* Container */
.phytest-plans-comparison-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

/* Header */
.phytest-plans-header {
	text-align: center;
	margin-bottom: 50px;
}

.phytest-plans-title {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px 0;
	line-height: 1.2;
}

.phytest-plans-subtitle {
	font-size: 16px;
	font-weight: 400;
	color: #777777;
	margin: 0;
	line-height: 1.5;
}

/* Table Wrapper */
.phytest-plans-table-wrapper {
	overflow-x: auto;
	margin: 0 auto;
	border: 1px solid #D9D9D9;
	border-radius: 32px;
	overflow: hidden;
}

/* Table */
.phytest-plans-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 !important;
}

/* Table Header */
.phytest-plans-table thead {
	background: transparent;
}

.phytest-plans-table th {
	padding: 20px 24px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	border-right: 1px solid #e5e5e5;
	border-bottom: 2px solid #e5e5e5;
	background: #ffffff;
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	width: 320px;
	min-width: 320px;
	height: 178px;
}

.phytest-plans-table th:last-child {
	border-right: none;
}

.phytest-plans-table th.feature-column {
	text-align: left;
	background: #ffffff;
	font-weight: 600;
}

.phytest-plans-table .feature-header-title {
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	margin-bottom: 4px;
}

.phytest-plans-table .feature-header-desc {
	font-size: 13px;
	font-weight: 400;
	color: #888888;
	line-height: 1.4;
}

/* Table Body */
.phytest-plans-table tbody tr {
	transition: background-color 0.2s ease;
	background: #ffffff;
}

.phytest-plans-table tbody tr:hover:not(.category-row) {
	background: #ffffff;
}

/* Highlighted 2nd column (first plan column) */
.phytest-plans-table th:nth-child(2),
.phytest-plans-table td:nth-child(2) {
	background: #FAF4FC;
}

.phytest-plans-table tbody tr:hover:not(.category-row) td:nth-child(2) {
	background: #FAF4FC;
}

.phytest-plans-table td {
	padding: 18px 24px;
	font-size: 15px;
	color: #333333;
	border-bottom: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	width: 320px;
	min-width: 320px;
	height: 72px;
}

.phytest-plans-table td:last-child {
	border-right: none;
}

.phytest-plans-table tbody tr:last-child td {
	border-bottom: none;
}

.phytest-plans-table tbody tr td:first-child {
	border-left: none;
}

/* Category Row */
.phytest-plans-table .category-row {
	background: #F7F7F7 !important;
}

.phytest-plans-table .category-title {
	font-size: 17px;
	font-weight: 700;
	color: #2d2d2d;
	padding: 16px 24px;
	text-align: left;
	border-bottom: 2px solid #e5e5e5;
	border-top: 2px solid #e5e5e5;
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	height: 48px;
}

/* Feature Name Column */
.phytest-plans-table .feature-name {
	font-weight: 400;
	color: #555555;
	text-align: left;
	font-size: 14px;
}

/* Feature Value Column */
.phytest-plans-table .feature-value {
	text-align: center;
	font-size: 18px;
	font-weight: 600;
}

/* Checkmark */
.phytest-plans-table .checkmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.phytest-plans-table .checkmark svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* Dash */
.phytest-plans-table .dash {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.phytest-plans-table .dash svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.phytest-plans-comparison-wrapper {
		padding: 60px 20px;
	}
	
	.phytest-plans-title {
		font-size: 36px;
	}
	
	.phytest-plans-subtitle {
		font-size: 16px;
	}
	
	.phytest-plans-table th {
		padding: 16px 20px;
		font-size: 16px;
	}
	
	.phytest-plans-table td {
		padding: 16px 20px;
		font-size: 15px;
	}
	
	.phytest-plans-table .category-title {
		font-size: 16px;
		padding: 14px 20px;
	}
}

@media (max-width: 768px) {
	.phytest-plans-comparison-wrapper {
		padding: 50px 15px;
	}
	
	.phytest-plans-title {
		font-size: 32px;
	}
	
	.phytest-plans-subtitle {
		font-size: 15px;
	}
	
	/* Make table scrollable on mobile */
	.phytest-plans-table {
		min-width: 700px;
	}
	
	.phytest-plans-table th,
	.phytest-plans-table td {
		padding: 14px 16px;
		font-size: 14px;
	}
	
	.phytest-plans-table .category-title {
		font-size: 15px;
		padding: 12px 16px;
	}
	
	.phytest-plans-table .checkmark,
	.phytest-plans-table .dash {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.phytest-plans-comparison-wrapper {
		padding: 40px 10px;
	}
	
	.phytest-plans-title {
		font-size: 28px;
		line-height: 1.3;
	}
	
	.phytest-plans-subtitle {
		font-size: 14px;
	}
	
	.phytest-plans-header {
		margin-bottom: 30px;
	}
	
	.phytest-plans-table th,
	.phytest-plans-table td {
		padding: 12px 14px;
		font-size: 13px;
	}
	
	.phytest-plans-table .category-title {
		font-size: 14px;
		padding: 10px 14px;
	}
	
	.phytest-plans-table .checkmark,
	.phytest-plans-table .dash {
		font-size: 18px;
	}
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.phytest-plans-header {
	animation: fadeInUp 0.6s ease-out;
}

.phytest-plans-table {
	animation: fadeInUp 0.6s ease-out 0.2s both;
}

