/* 
   SDI - ScanDeviceInfo
   Modern Apple-inspired CSS
   EuphoriaTools 2025
*/

/* Base Styles and Reset */
:root {
    --primary-color: #0071e3;
    --secondary-color: #86868b;
    --dark-color: #1d1d1f;
    --light-color: #f5f5f7;
    --success-color: #29cc6d;
    --border-color: #d2d2d7;
    --hover-color: #0077ed;
    --card-bg: #ffffff;
    --section-bg: #fbfbfd;
    --gradient-bg: linear-gradient(135deg, #42a6ff 0%, #0071e3 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --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;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--dark-color);
    line-height: 1.5;
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 48px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 36px;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 24px;
    letter-spacing: -0.2px;
}

p {
    margin-bottom: 16px;
    font-size: 17px;
}

section {
    padding: 80px 0;
}

/* Button Styles */
.btn-primary,
.btn-secondary,
.btn-contact,
.btn-text {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-contact {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 16px;
}

.btn-text {
    padding: 0;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    border-radius: 0;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    border-bottom: 1px solid rgba(210, 210, 215, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    background: var(--section-bg);
    padding: 120px 0;
    text-align: center;
    position: relative;
    background-size: 130%;
    background-position: center;
    color: white;
    overflow: hidden;
    transition: background-size 8s ease;
}

.hero:hover {
    background-size: 140%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.features {
    background-color: white;
    text-align: center;
}

.features h2 {
    margin-bottom: 48px;
}

.features-list {
    max-width: 1000px;
    margin: 0 auto;
}

.checkers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    text-align: left;
    margin-bottom: 40px;
}

.checkers-grid li {
    font-size: 17px;
    color: var(--dark-color);
    padding: 12px 16px;
    background-color: var(--light-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.checkers-grid li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background-color: white;
}

.features-note {
    font-size: 16px;
    color: var(--secondary-color);
    font-style: italic;
    margin-top: 20px;
}

/* Existing feature card styles can remain for potential future use */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    background-color: var(--section-bg);
    text-align: center;
}

.pricing h2 {
    margin-bottom: 16px;
}

.pricing > .container > p {
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--secondary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.description {
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.pricing-card ul {
    margin-bottom: 32px;
}

.pricing-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.pricing-card ul li:before {
    content: "✓";
    color: var(--success-color);
    margin-right: 8px;
    font-weight: bold;
}

.custom-plan {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.custom-plan h3 {
    margin-bottom: 8px;
}

.custom-plan p {
    margin-bottom: 24px;
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: white;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 48px;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonial p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 24px;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    text-align: center;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background: var(--gradient-bg);
    color: white;
    text-align: center;
}

.contact h2 {
    margin-bottom: 16px;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.contact .btn-primary {
    background-color: white;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.contact .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:.5rem;
}

.contact-options a {
    color: white;
    opacity: 0.9;
}

.contact-options a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 24px;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* Header scroll effect */
header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: transparent;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 100;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

body.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 99;
    padding-top: 80px;
    gap: 24px;
}

body.menu-open .nav-links a {
    font-size: 24px;
}

/* Animation Classes */
.animate {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .price {
        font-size: 36px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
} 