/* 
 * Ehtisham Rajpoot - Ultimate Premium Light Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #334155;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --border: #e2e8f0;
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shadow-hover: 0 30px 60px -12px rgba(0,0,0,0.1);
    --shadow-soft: 0 10px 30px -5px rgba(0,0,0,0.05);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Header - Ultra Glassmorphism */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 4px;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Modern Hero Section with Animated Blobs */
.hero {
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at top center, #ffffff 0%, #f8fafc 100%);
}

@keyframes blob-bounce {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: blob-bounce 15s infinite alternate ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: blob-bounce 18s infinite alternate-reverse ease-in-out;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #1d4ed8;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.hero h1 {
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero h1 span {
    display: inline-block;
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-text 5s linear infinite;
}

@keyframes gradient-text {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero p {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Hyper-Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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: all 0.5s;
    z-index: -1;
}

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.4);
    background: var(--primary-light);
}

.btn-outline {
    background: var(--glass-bg);
    color: var(--primary);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

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

/* Features Bar */
.features-bar {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 100px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 16px;
    color: var(--accent);
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

/* Product Grid */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

/* State of the Art Cards */
.product-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
    z-index: -1;
    transition: opacity 0.5s;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.card-image-wrap {
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    position: relative;
}

.card-image-wrap img, .product-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-card:hover .card-image-wrap img {
    transform: scale(1.08);
}

.card-content {
    padding: 0 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px dashed var(--border);
}

.product-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.buy-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
    font-size: 20px;
}

.product-card:hover .buy-btn {
    background: var(--primary);
    color: #fff;
    transform: rotate(-45deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* Content Pages */
.page-container {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    margin: 40px auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Footer */
footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border);
    padding: 100px 0 40px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 16px;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 18px;
}

.footer-section a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.footer-section a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 48px; }
    .features-bar { flex-direction: column; gap: 30px; align-items: center; text-align: center; }
    .hero-buttons { flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    nav ul { display: none; }
}
