/* Design Tokens & Core Variables */
:root {
    --primary: #ff6f61;
    --primary-hover: #fa5646;
    --primary-light: #fff0ee;
    --secondary: #2b5f5f;
    --dark: #22252a;
    --dark-light: #2d3139;
    --light: #fdfbf7;
    --gray-100: #f4f2ee;
    --gray-200: #e8e5df;
    --gray-500: #8c8881;
    --gray-800: #4a4742;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Header */
header {
    background-color: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    font-size: 1.8rem;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-weight: 500;
    color: var(--gray-800);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 111, 97, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 97, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(43, 95, 95, 0.2);
}

.btn-secondary:hover {
    background-color: #1e4545;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, #fffbf0 0%, var(--light) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--secondary);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 12px;
}

.hero-image-wrapper img {
    border-radius: 16px;
    transition: var(--transition);
}

.hero-image:hover .hero-image-wrapper img {
    transform: scale(1.03);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-card-info h4 {
    font-weight: 700;
    color: var(--secondary);
}

.floating-card-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Features */
.features {
    padding: 60px 0;
    background-color: white;
    border-bottom: 1px solid var(--gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.25rem;
}

.feature-item h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.feature-item p {
    color: var(--gray-500);
    font-size: 0.925rem;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--gray-100);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-img-wrapper {
    position: relative;
    padding: 16px;
    background-color: var(--gray-100);
    overflow: hidden;
    aspect-ratio: 1;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-rating {
    color: #ffb800;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.product-info p {
    color: var(--gray-500);
    font-size: 0.925rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.product-btn {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
}

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

/* Call To Action */
.cta {
    padding: 100px 0;
    background-color: var(--secondary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 180%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.phone-big {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 24px 0 36px;
    display: block;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--gray-500);
    padding: 80px 0 40px;
    border-top: 1px solid var(--dark-light);
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    color: var(--gray-200);
}

.contact-info-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-info strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-card {
        left: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        display: none; /* simple mobile hide for header space */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .phone-big {
        font-size: 2.5rem;
    }
}
