/* LAYOUT PRINCIPAL */
main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

/* HERO SECTION */
.hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
	min-height: 70vh;
	padding: 1rem;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, 
		rgba(46, 91, 255, 0.05) 0%, 
		rgba(0, 193, 212, 0.05) 50%, 
		rgba(124, 77, 255, 0.05) 100%);
	z-index: -1;
}

.hero-content {
	text-align: center;
	z-index: 2;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--primary-color), var(--purple-color));
	color: white;
	padding: 0.4rem 0.8rem;
	border-radius: 2rem;
	font-size: 0.75rem;
	font-weight: 500;
	margin-bottom: 1rem;
	box-shadow: 0 4px 20px rgba(46, 91, 255, 0.3);
}

.badge-icon {
	font-size: 1rem;
}

.hero-title {
	font-size: clamp(1.75rem, 8vw, 4rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: var(--tertiary-color);
}

.gradient-text {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-description {
	font-size: 1rem;
	line-height: 1.6;
	color: #666;
	max-width: 500px;
	margin: 0 auto 2rem;
}

.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 0.9rem;
	min-width: 180px;
	justify-content: center;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary-color), var(--purple-color));
	color: white !important;
	box-shadow: 0 8px 25px rgba(46, 91, 255, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 35px rgba(46, 91, 255, 0.4);
	color: white !important;
}

.btn-secondary {
	background: white !important;
	color: var(--primary-color) !important;
	border: 2px solid var(--primary-color) !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-secondary:hover {
	background: var(--primary-color) !important;
	color: white !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(46, 91, 255, 0.3) !important;
}

.btn-secondary:visited,
.btn-secondary:link {
	color: var(--primary-color) !important;
}

.btn-secondary:hover:visited,
.btn-secondary:hover:link {
	color: white !important;
}

/* Estilos específicos para el botón de cerrar sesión */
.googleSignOut {
	background: linear-gradient(135deg, var(--red-color), #e53e3e) !important;
	color: white !important;
	border: none !important;
	box-shadow: 0 8px 25px rgba(255, 61, 113, 0.3);
}

.googleSignOut:hover {
	background: linear-gradient(135deg, #e53e3e, #c53030) !important;
	color: white !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 35px rgba(255, 61, 113, 0.4);
}

.btn-icon {
	font-size: 1.1rem;
}

/* USER PROFILE */
.user-profile {
	background: white;
	border-radius: 1rem;
	padding: 1.5rem;
	margin: 2rem 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(46, 91, 255, 0.1);
	display: none;
}

.user-profile.active {
	display: block;
}

.user-profile img {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1rem;
	border: 3px solid var(--primary-color);
}

.user-profile h3 {
	color: var(--tertiary-color);
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
}

.user-profile p {
	color: #666;
	font-size: 0.875rem;
}

/* HERO VISUAL */
.hero-visual {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.floating-cards {
	position: relative;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

.card {
	position: absolute;
	background: white;
	border-radius: 0.75rem;
	padding: 1rem;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	border: 1px solid rgba(46, 91, 255, 0.1);
	transition: transform 0.3s ease;
	width: 80px;
	height: 80px;
	font-size: 0.75rem;
}

.card:hover {
	transform: translateY(-5px);
}

.card-1 {
	top: 0;
	left: 0;
	background: linear-gradient(135deg, #fff, rgba(46, 91, 255, 0.05));
	animation: float1 6s ease-in-out infinite;
}

.card-2 {
	top: 50%;
	right: 0;
	background: linear-gradient(135deg, #fff, rgba(0, 193, 212, 0.05));
	animation: float2 6s ease-in-out infinite 2s;
}

.card-3 {
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #fff, rgba(124, 77, 255, 0.05));
	animation: float3 6s ease-in-out infinite 4s;
}

.card-icon {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}

.card-text {
	font-weight: 600;
	color: var(--tertiary-color);
	font-size: 0.7rem;
	text-align: center;
}

/* FEATURES SECTION */
.features {
	padding: 2rem 1rem;
	background: linear-gradient(135deg, 
		rgba(242, 242, 242, 0.5) 0%, 
		rgba(255, 255, 255, 0.8) 100%);
	border-radius: 1.5rem;
	margin-top: 2rem;
}

.features-header {
	text-align: center;
	margin-bottom: 2rem;
}

.features-header h2 {
	font-size: clamp(1.5rem, 6vw, 3rem);
	font-weight: 700;
	color: var(--tertiary-color);
	margin-bottom: 0.75rem;
}

.features-header p {
	font-size: 1rem;
	color: #666;
	max-width: 400px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.feature-card {
	background: white;
	padding: 1.5rem;
	border-radius: 1rem;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(46, 91, 255, 0.1);
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
	border-color: var(--primary-color);
}

.feature-icon {
	font-size: 2.5rem;
	margin-bottom: 0.75rem;
	display: block;
}

.feature-card h3 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--tertiary-color);
	margin-bottom: 0.75rem;
}

.feature-card p {
	color: #666;
	line-height: 1.6;
	margin: 0;
	font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes float1 {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
}

@keyframes float2 {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-15px); }
}

@keyframes float3 {
	0%, 100% { transform: translateX(-50%) translateY(0px); }
	50% { transform: translateX(-50%) translateY(-10px); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 480px) {
	.hero {
		padding: 0.75rem;
		min-height: 60vh;
		gap: 1.5rem;
	}
	
	.hero-badge {
		font-size: 0.7rem;
		padding: 0.3rem 0.6rem;
	}
	
	.hero-title {
		font-size: clamp(1.5rem, 10vw, 2.5rem);
		margin-bottom: 0.75rem;
	}
	
	.hero-description {
		font-size: 0.9rem;
		margin-bottom: 1.5rem;
	}
	
	.btn {
		padding: 0.6rem 1.2rem;
		font-size: 0.85rem;
		min-width: 160px;
	}
	
	.floating-cards {
		width: 200px;
		height: 200px;
	}
	
	.card {
		width: 60px;
		height: 60px;
		padding: 0.5rem;
	}
	
	.card-icon {
		font-size: 1.2rem;
	}
	
	.card-text {
		font-size: 0.6rem;
	}
	
	.features {
		padding: 1.5rem 0.75rem;
		margin-top: 1.5rem;
	}
	
	.features-header h2 {
		font-size: clamp(1.25rem, 8vw, 2rem);
	}
	
	.features-header p {
		font-size: 0.9rem;
	}
	
	.feature-card {
		padding: 1.25rem;
	}
	
	.feature-icon {
		font-size: 2rem;
	}
	
	.feature-card h3 {
		font-size: 1rem;
	}
	
	.feature-card p {
		font-size: 0.85rem;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
	.hero {
		padding: 1rem;
		gap: 1.75rem;
	}
	
	.features-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 1.75rem;
	}
}

@media (min-width: 768px) {
	main {
		padding: 0 1rem;
	}
	
	.hero {
		grid-template-columns: 1fr 1fr;
		padding: 2rem;
		gap: 3rem;
		min-height: 80vh;
	}
	
	.hero-content {
		text-align: left;
	}
	
	.hero-badge {
		font-size: 0.875rem;
		padding: 0.5rem 1rem;
		margin-bottom: 1.5rem;
	}
	
	.hero-title {
		font-size: clamp(2rem, 5vw, 4rem);
		margin-bottom: 1.5rem;
	}
	
	.hero-description {
		font-size: 1.125rem;
		max-width: 600px;
		margin: 0 0 2.5rem;
	}
	
	.hero-actions {
		flex-direction: row;
		justify-content: flex-start;
		gap: 1rem;
	}
	
	.btn {
		padding: 1rem 2rem;
		font-size: 1rem;
		min-width: 200px;
	}
	
	.floating-cards {
		width: 350px;
		height: 350px;
		margin: 0;
	}
	
	.card {
		width: 100px;
		height: 100px;
		padding: 1.25rem;
		font-size: 0.8rem;
	}
	
	.card-icon {
		font-size: 1.75rem;
	}
	
	.card-text {
		font-size: 0.75rem;
	}
	
	.features {
		padding: 3rem 2rem;
		margin-top: 3rem;
	}
	
	.features-header {
		margin-bottom: 2.5rem;
	}
	
	.features-header h2 {
		font-size: clamp(2rem, 4vw, 3rem);
		margin-bottom: 1rem;
	}
	
	.features-header p {
		font-size: 1.125rem;
		max-width: 500px;
	}
	
	.features-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 2rem;
	}
	
	.feature-card {
		padding: 2rem;
	}
	
	.feature-icon {
		font-size: 3rem;
		margin-bottom: 1rem;
	}
	
	.feature-card h3 {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}
	
	.feature-card p {
		font-size: 1rem;
	}
}

@media (min-width: 1024px) {
	main {
		padding: 0 2rem;
	}
	
	.hero {
		padding: 4rem 3rem;
	}
	
	.floating-cards {
		width: 400px;
		height: 400px;
	}
	
	.card {
		width: 120px;
		height: 120px;
		padding: 1.5rem;
	}
	
	.card-icon {
		font-size: 2rem;
	}
	
	.card-text {
		font-size: 0.8rem;
	}
	
	.features {
		padding: 5rem 3rem;
		margin-top: 4rem;
	}
	
	.features-header {
		margin-bottom: 3rem;
	}
}

/* LEGACY STYLES (mantener compatibilidad) */
#documents {
	display: none;
}

#documents.visible {
	display: inline-flex;
}

.googleSignOut {
	background-color: #fff;
	border: 1px solid #000;
	color: #000;
}
